Skip to content

Commit 7398f0c

Browse files
committed
chore: Use jieba-next instead of jieba
1 parent f3e0f70 commit 7398f0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies = [
4545

4646
# CUSTOM DEPENDENCIES START
4747
"langid",
48-
"jieba",
48+
"jieba-next",
4949
"python-pinyin",
5050
"pyxdg",
5151
"stopwordsiso",

src/sphinxnotes/snippet/keyword.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self):
2424
# Import NLP libs here to prevent import overhead
2525
import logging
2626
from langid import rank
27-
from jieba import cut_for_search, setLogLevel
27+
from jieba_next import cut_for_search, setLogLevel
2828
from pypinyin import lazy_pinyin
2929
from stopwordsiso import stopwords
3030
from wordsegment import load, segment

0 commit comments

Comments
 (0)