Morse code is a way to encode messages in a series of long and short sounds or visual signals. During transmission, operators use pauses to split letters and words.
Please write a program which will translate lines of Morse code into readable English text. The program should:
- Accept a flat file as input.
- Each new line will contain a string of Morse code. The characters used will be:
- . = dot
- - = dash
- || = break
- Output the English text for each line
-..||---||--.
….||.||.-..||.-..||---||||.--||---||.-.||.-..||-..
dog
hello world
Please use whatever techniques you feel are applicable to solve the problem. We suggest that you approach this exercise as if this code was part of a larger system. The end result should be representative of your abilities and style. We prefer that you submit your solution in a language targeting the .NET Framework to help us better evaluate your code.
Please fork this repository. If your solution involves code auto generated by a development tool, please commit it separately from your own work. When you have completed your solution, please issue a pull request to notify us that you are ready.
Have fun.