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

cut形参中的字符串长度太长,程序会崩溃 #18

Open
HappyShadowWalker opened this issue May 3, 2017 · 1 comment
Open

Comments

@HappyShadowWalker
Copy link

No description provided.

@MaJunhua
Copy link
Collaborator

MaJunhua commented May 4, 2017

感谢您对THULAC的支持,由于分词过程会在内存中新建一些变量,所以字符串太长可能会爆内存。您可以先以一定长度对字符串先进行切分,再分词。我们近期也争取加入长字符串的cut函数。

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