案例
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