Skip to content

Commit 863cccd

Browse files
committed
Update __init__.py
1 parent 36222af commit 863cccd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pythainlp/summarize/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
"summarize",
1111
]
1212

13-
from pythainlp.summarize.core import extract_keywords, summarize
14-
1513
DEFAULT_SUMMARIZE_ENGINE = "frequency"
1614
CPE_KMUTT_THAI_SENTENCE_SUM = "mt5-cpe-kmutt-thai-sentence-sum"
1715
DEFAULT_KEYWORD_EXTRACTION_ENGINE = "keybert"
16+
17+
# these imports are placed here to avoid circular imports
18+
from pythainlp.summarize.core import extract_keywords, summarize

0 commit comments

Comments
 (0)