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 0ce6cde commit 0910d72Copy full SHA for 0910d72
pythainlp/transliterate/core.py
@@ -85,10 +85,10 @@ def select_romanize_engine(engine: str):
85
return romanize(text, fallback_func=fallback)
86
else:
87
rom_engine = select_romanize_engine(engine)
88
- trans_word=[]
+ trans_word = []
89
for word in text.split(' '):
90
trans_word.append(rom_engine(word))
91
- new_word=''.join(trans_word)
+ new_word = ''.join(trans_word)
92
return new_word
93
94
0 commit comments