【问题标题】:CoreNLP runs too slowCoreNLP 运行太慢
【发布时间】:2016-07-15 01:59:16
【问题描述】:

我打算使用 Corenlp 来注释一些亚马逊评论,但是,我等待了 6 个多小时,没有产生任何输出。

 1. the review is about 1MB;
 2. the cluster has 12CPU, 64G memory;
 3. the command is 
 java -cp "*" -Xmx64g edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit,pos,ner,sentiment -outputFormat json  -file amazon_apple_comments_4.csv

发生了什么事?这么慢吗?

【问题讨论】:

    标签: stanford-nlp


    【解决方案1】:

    对于 1Mb 的文档来说,这太慢了。尝试运行更少的注释器来缩小哪个注释器花费的时间最多。 tokenizessplit 注释器应该非常快; pos 有点慢,但还不错; nerpos 慢,但在 1Mb 亚马逊评论中,它不应该找到很多命名实体。我从来没有用过sentiment,但我想这很重要。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-04
      • 2017-11-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-24
      • 2017-01-28
      • 1970-01-01
      相关资源
      最近更新 更多