斯坦福的parser學習--

安裝包下載連接:html

斯坦福parser官方下載地址:工具

https://nlp.stanford.edu/software/lex-parser.html#Download測試

從官網下載stanford-parser-full-2016-10-31.zip文件,網址是http://nlp.stanford.edu/software/stanford-parser-full-2016-10-31.zip ,若是要對中文的句子進行句法解析,還須要下載文件stanford-chinese-corenlp-2016-10-31-models.jar ,網址是http://nlp.stanford.edu/software/stanford-chinese-corenlp-2016-10-31-models.jar spa

不過,這兩個下載連接下載的是Java版本,須要Java8環境.net

使用說明:3d

http://blog.csdn.net/yangyangrenren/article/details/57102580(基於多種環境)htm

http://blog.csdn.net/u010454729/article/details/46845403blog

http://blog.csdn.net/eli00001/article/details/75088863ip

http://blog.csdn.net/qq_36652619/article/details/75091327(NLTK)get

https://www.cnblogs.com/baiboy/p/nltk1.html(NLTK)

http://blog.csdn.net/yangyangrenren/article/details/56935145(常見問題解答)

------------------------------------------------------------本身動手實踐----------------------------------------------------

斯坦福的官網如今已經有2017版本的  可是我死活下載不下來  百度雲上找了個2015版本的  先跑跑試試~~~

一:工具包 stanford_parser_2015 

二:實驗

1.解壓 獲得多個文件

2.執行

3.運行結果

一共parser了五個句子

打開測試文件  能夠看到是一段英文語料。該工具是按句號來識別一句話的,因此分析單位是句子。

 

如今該句法分析器分析的是英文的句子,我想切換成分析中文句子:

相關文章
相關標籤/搜索