Answer the question
In order to leave comments, you need to log in
AI to solve Morse code?
It is necessary to solve the task from the quest. Tell. Maybe someone saw some programs for solving Morse code? So that he selects words according to the dictionary, so that a conveniently readable text is obtained.
And then such a code without division into characters is not solved
Answer the question
In order to leave comments, you need to log in
The code is not correct, it should be with pauses between letters.
And in this case, try to select from "long" letters to short ones and forget about AI
Stepik's course "Haskell, part 2" section
1.4. If you use the parser (list of pairs) as the Alternative class, then all possible parsing options will be offered.
By the way, without spaces it makes little sense to convert.
UPDATE. Confused with Alternative, it implements the First principle (the first is non-zero).
Interesting. Although not a vital task. In reality, Morse code does not occur without gaps, I speak as a former commander of warhead communications and a former teacher of this whole business.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question