8000
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.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我使用 pip install -U ckiptagger 安裝
""" from ckiptagger import data_utils, construct_dictionary, WS
data_utils.download_data_gdown("./") ws = WS("./data") ckip_tok = ws("老師你好") """
出來的結果是 : [['老'], ['師'], ['你'], ['好']]
想請問我該怎麼改善這個問題
python 版本為 3.8.10 ckip 版本為 0.2.1
The text was updated successfully, but these errors were encountered:
ws() 的第一個參數是 sentence_list 也就是句子的清單,而不是單一句子 多包一層 list 即可
ws()
sentence_list
ckip_tok = ws(["老師你好"])
Sorry, something went wrong.
ws() 的第一個參數是 sentence_list 也就是句子的清單,而不是單一句子 多包一層 list 即可 ckip_tok = ws(["老師你好"])
成功了!!! 太感謝了!!!!!
No branches or pull requests
我使用
pip install -U ckiptagger 安裝
"""
from ckiptagger import data_utils, construct_dictionary, WS
data_utils.download_data_gdown("./")
ws = WS("./data")
ckip_tok = ws("老師你好")
"""
出來的結果是 :
[['老'], ['師'], ['你'], ['好']]
想請問我該怎麼改善這個問題
python 版本為 3.8.10
ckip 版本為 0.2.1
The text was updated successfully, but these errors were encountered: