我们正试图从文档中提取欧元价值。斯坦福大学正如预期的那样承认了这笔钱。然而,在提取过程中,它正在将欧元转换为$。

发布于 2017-02-09 08:19:22
以下是运行斯坦福CoreNLP并关闭货币标准化的示例命令:
java -Xmx8g edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit -file sample-sentence.txt -outputFormat text -tokenize.options "normalizeCurrency=false"发布于 2017-08-03 14:41:25
如果您使用corenlp作为专用服务器,则可以在发送请求时在url中包含-tokenize.options参数。例如:
http://corenlp.run?properties={"timeout":"36000","annotators":"tokenize,ssplit,parse,lemma,ner,regexner","tokenize.options":"normalizeCurrency=false,invertible=true"}
https://stackoverflow.com/questions/42023566
复制相似问题