Last active
October 26, 2017 01:26
-
-
Save gotodeploy/5cd2f075d4c0e22fd9d6366883a08515 to your computer and use it in GitHub Desktop.
Wabun morse code (和文モールス信号)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var morse = { | |
'A': '.-', | |
'B': '-...', | |
'C': '-.-.', | |
'D': '-..', | |
'E': '.', | |
'F': '..-.', | |
'G': '--.', | |
'H': '....', | |
'I': '..', | |
'J': '.---', | |
'K': '-.-', | |
'L': '.-..', | |
'M': '--', | |
'N': '-.', | |
'O': '---', | |
'P': '.--.', | |
'Q': '--.-', | |
'R': '.-.', | |
'S': '...', | |
'T': '-', | |
'U': '..-', | |
'W': '.--', | |
'V': '...-', | |
'X': '-..-', | |
'Y': '-.--', | |
'Z': '--..', | |
'ア': '--.--', | |
'イ': '.-', | |
'ウ': '..-', | |
'エ': '-.---', | |
'オ': '.-...', | |
'カ': '.-..', | |
'ガ': '.-..', | |
'キ': '-.-..', | |
'ギ': '-.-....', | |
'ク': '...-', | |
'グ': '...-..', | |
'ケ': '-.--', | |
'ゲ': '-.--..', | |
'コ': '----', | |
'ゴ': '----..', | |
'サ': '-.-.-', | |
'ザ': '-.-.-..', | |
'シ': '--.-.', | |
'ジ': '--.-...', | |
'ス': '---.-', | |
'ズ': '---.-..', | |
'セ': '.---.', | |
'ゼ': '.---...', | |
'ソ': '---.', | |
'ゾ': '---...', | |
'タ': '-.', | |
'ダ': '-...', | |
'チ': '..-.', | |
'ヂ': '..-...', | |
'ツ': '.--.', | |
'ヅ': '.--...', | |
'テ': '..-..', | |
'デ': '..-....', | |
'ト': '.-.', | |
'ド': '.-...', | |
'ナ': '-.-.', | |
'ニ': '....', | |
'ヌ': '--.-', | |
'ネ': '..--', | |
'ノ': '-...', | |
'ハ': '--..-', | |
'パ': '--..-..--.', | |
'ヒ': '--..', | |
'ピ': '--....--.', | |
'フ': '.', | |
'プ': '...--.', | |
'ヘ': '-..', | |
'ペ': '-....--.', | |
'ホ': '-..', | |
'ポ': '-....--.', | |
'マ': '-..-', | |
'ミ': '..-.-', | |
'ム': '-', | |
'メ': '-...-', | |
'モ': '-..-.', | |
'ヤ': '.--', | |
'ャ': '.--', | |
'ヰ': '.-..-', | |
'ユ': '-..--', | |
'ュ': '-..--', | |
'ヱ': '.--..', | |
'ヨ': '--', | |
'ョ': '--', | |
'ラ': '...', | |
'リ': '--.', | |
'ル': '-.--.', | |
'レ': '---', | |
'ロ': '.-.-', | |
'ワ': '-.-', | |
'ヲ': '.---', | |
'ン': '.-.-.', | |
'ー': '.--.-', | |
'。': '..--.', | |
'〃': '..', | |
'(': '-.--.-', | |
')': '.-..-.', | |
'1': '.----', | |
'2': '..---', | |
'3': '...--', | |
'4': '....-', | |
'5': '.....', | |
'6': '-....', | |
'7': '--...', | |
'8': '---..', | |
'9': '----.', | |
'0': '-----' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment