Skip to content

Commit 36222af

Browse files
committed
Update __init__.py
1 parent 695599c commit 36222af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pythainlp/spell/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
"spell_sent",
1515
]
1616

17-
from pythainlp.spell.core import correct, correct_sent, spell, spell_sent
17+
from pythainlp.spell.pn import NorvigSpellChecker
1818

1919
DEFAULT_SPELL_CHECKER = NorvigSpellChecker()
2020

21-
from pythainlp.spell.pn import NorvigSpellChecker
21+
# these imports are placed here to avoid circular imports
22+
from pythainlp.spell.core import correct, correct_sent, spell, spell_sent

0 commit comments

Comments
 (0)