使用例
Read a radio call with slash-separated words
The slash is a word separator here, not an encoded slash character.
入力
-.-. --.-/-.. ./--. ....- .- -... -.-.Expected answer
CQ DE G4ABCCQ DE G4ABC
- 文字区切り
Space- 単語区切り
Forward slash
Read a distress letter sequence
Decoding the letters does not generate audio or transmit a distress signal.
入力
... --- ...Expected answer
SOSSOS
- 文字区切り
Space- 単語区切り
Line feed
Accept typographic middle dots and en dashes
Alternative dot and dash glyphs normalize to the same Morse alphabet.
入力
·– –··· –·–·Expected answer
ABCABC
- 文字区切り
Space- 単語区切り
Line feed
Read digit groups separated by a newline
The newline separates the two number groups; output uses one space.
入力
--... ...--
---.. ---..Expected answer
73 8873 88
- 文字区切り
Space- 単語区切り
Line feed
Decode an email-style address including the at sign
The at sign is a single Morse character, not a word boundary.
入力
.-,.--.-.,-...Expected answer
A@BA@B
- 文字区切り
Comma- 単語区切り
Forward slash