Skip to content

Commit a8993d3

Browse files
committed
Change pythainlp.util.spell_words.spell_word from ssg to han_solo
1 parent 1e94d32 commit a8993d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythainlp/util/spell_words.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def spell_word(text: str) -> List[str]:
118118
# output: ['คอ', 'นอ', 'คน', 'ดอ', 'อี', 'ดี', 'คนดี']
119119
"""
120120
spellouts = []
121-
tokens = subword_tokenize(text, engine="ssg")
121+
tokens = subword_tokenize(text, engine="han_solo")
122122

123123
for tok in tokens:
124124
spellouts.extend(spell_syllable(tok))

0 commit comments

Comments
 (0)