autonomous decoding system for telegraph transmissions in python

时间:2019-05-31 11:52:10

标签: python

I have a project in PYTHON, which is called an autonomous decoding system for telegraph transmissions. It's about decoding a text file (in ASCII format) that contains a bit sequence, and my program needs to figure out if that bit sequence corresponds to a Morse code message or a Baudot code message. After decoding, the result must be entered into another text file (ASCII format) containing the informational message, not the symbols used by the Morse and Baudot encodings (ie, points and spaces). The code is what I have been able to accomplish so far, but I have not found a solution for a code to know if the bits are of a morse or baudot message. Another problem would be that the text file contains the bit sequence from a demodulator, so that the sequence must be synchronized and only then begin decoding.

PS: The Baudot Code has two versions: ITA1 and ITA2. Ideally, I can make the decoding for both, depending on the generated text file.

Thank you in advance!

0 个答案:

没有答案