We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 404e402 commit 36e0338Copy full SHA for 36e0338
pythainlp/util/morse.py
@@ -124,9 +124,9 @@
124
decodingeng[val] = key
125
decodingthai = {}
126
for key, val in THAI_MORSE_CODE.items():
127
- decodingthai[val.replace(" ","")] = key
+ decodingthai[val.replace(" ", "")] = key
128
129
- THAI_MORSE_CODE[key] = val.replace(" ","")
+ THAI_MORSE_CODE[key] = val.replace(" ", "")
130
131
132
def morse_encode(text: str, lang: str = "th") -> str:
0 commit comments