stanford parser使用工具

来源:互联网 发布:windows 8 高级编程 编辑:程序博客网 时间:2024/05/21 08:01


2.如果要String[] sent从文本输入:

eclipse > run > run configuration > arguments > program arguments:

输入: edu/stanford/nlp/models/lexparser/englishPCFG.ser.gzC:\Users\minglan\Desktop\test2.txt

test2.txt:

The screen is really big, but the price is too expensive!
The price is expensive, students don't buy it usually.
The screen is beautiful, but the price is not!
The screen is big and beautiful!




0 0
原创粉丝点击