进口斯坦福nlp Intellij [英] Import Stanford nlp Intellij

查看:152
本文介绍了进口斯坦福nlp Intellij的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Stanford Lemmatizer时遇到了麻烦。
因为我正在使用Intellij IDE,我尝试通过Dependencies Windows导入它,但我不能通过这种方式访问​​所有类。

I'm having trouble using Stanford Lemmatizer. As i'm using Intellij IDE, i try to import it via the Dependencies Windows, but i can't access all the class by that way.

有没有办法导入stanford-english-corenlp-models-current.jar& stanford-corenlp-models-current.jar正确地在Intellij上?

Is there a way to import stanford-english-corenlp-models-current.jar & stanford-corenlp-models-current.jar correctly on Intellij?

推荐答案

正如上面提到的那样,你只需输入错误的文件

As guys mentioned above,you just import the wrong file

首先,下载CoreNLP 3.7.0(beta)

First,download the CoreNLP 3.7.0(beta)

在上面的屏幕截图中,单击红色按钮下载文件,其中包含运行CoreNLP的所有内容。

In the screen shot above,click the red button to download the file,which covers all the things to run the CoreNLP.

其次,右键单击你要导入jar的模块打开打开模块设置面板,然后你可能得到这样的图片

Second, right click the module which you want to import jar to to open the "open module settings" pannel ,then you may get a picture like this

点击绿色加号按钮导入所有内容

click the green plus button to import all the things

注意:这是我指向您的目录。

然后点击应用和确定

这样就完成了。享受吧!

This is done.Enjoy it!

参考:

http://stanfordnlp.github.io/CoreNLP/
(CoreNLP官方网页)

http://stanfordnlp.github.io/CoreNLP/ (CoreNLP official web page)

http://jingyan.baidu。 com / article / fec7a1e5f79e2b1191b4e74f.html
(如何在Intellij中导入jar中文)

http://jingyan.baidu.com/article/fec7a1e5f79e2b1191b4e74f.html (how to import jar in Intellij in Chinese)

这篇关于进口斯坦福nlp Intellij的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆