Skip to content
New issue

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

请问新词发现不支持文件,只能是字符串么,支持字符串 list 么? #13

Closed
shenxuhui opened this issue Jan 19, 2020 · 1 comment

Comments

@shenxuhui
Copy link

如题。

@blmoistawinde
Copy link
Owner

目前不支持字符串list,但是把字符串list转化为单独字符串是很容易的。一般如果你的列表每个元素是一句句子或者段落,你就可以用"\n".join(str_list)把列表拼接成单个字符串,然后再用新词发现

blmoistawinde added a commit that referenced this issue Jan 20, 2020
- 新词发现支持字符串列表输入(#13)
- 新词发现自动按照词频排序,标准可调(#14)
- 尝试添加API文档
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants