摘要: 在运行Stanford CoreNLP过程中会用到tokenize,pos等参数,这些以常量形式定义在edu.stanford.nlp.pipeline.Annotator中,具体如下: /** * These are annotators which StanfordCoreNLP knows h 阅读全文
posted @ 2016-05-13 15:39 大刀客 阅读(632) 评论(0) 推荐(0) 编辑
摘要: 分句功能参考 Stanford Tokenizer。 在edu.stanford.nlp.pipeline包中实现了一系列分词分句功能,其中SentenceAnnotator类实现了对文件分句功能. 运行Demo程序:在edu.stanford.nlp.pipeline.demo包中找到Stanfo 阅读全文
posted @ 2016-05-13 14:28 大刀客 阅读(2983) 评论(0) 推荐(0) 编辑