Stanford中文分词

  • Post author:
  • Post category:其他


参考:


https://stackoverflow.com/questions/45663121/about-stanford-word-segmenter/45668849



https://cloud.tencent.com/developer/article/1346917

主要解决方法:

https://github.com/nltk/nltk/pull/1735

    命令行:
    wget http://nlp.stanford.edu/software/stanford-corenlp-full-2016-10-31.zip
    unzip stanford-corenlp-full-2016-10-31.zip && cd stanford-corenlp-full-2016-10-31
    wget http://nlp.stanford.edu/software/stanford-chinese-corenlp-2016-10-31-models.jar
    wget https://raw.githubusercontent.com/stanfordnlp/CoreNLP/master/src/edu/stanford/nlp/pipeline/StanfordCoreNLP-chinese.properties

	启动服务:
    java -Xmx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer \
    -serverProperties StanfordCor



版权声明:本文为zjm750617105原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。