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

依存分析parser,速度慢 #31

Open
efeiefei opened this issue Oct 24, 2017 · 2 comments
Open

依存分析parser,速度慢 #31

efeiefei opened this issue Oct 24, 2017 · 2 comments

Comments

@efeiefei
Copy link

在python中,调用c++扩展程序,每句话不到1ms
在java中,通过jni调用c++,每句话需要16ms
分词和词性标注,速度还是可以的。

请问这是什么原因呢?
通过 maven 编译出的

@hebutliu2010
Copy link

同样碰到这个问题。

zccold added a commit to zccold/ltp4j that referenced this issue Sep 17, 2019
@PromptExpert
Copy link

PromptExpert commented Nov 3, 2020

依存句法分析好像就是不够快的,我试过HanLP和CoreNLP的依存句法分析,HanLP是20-30ms,CoreNLP是2-4ms。

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

3 participants