我正在尝试将Stanford CoreNLP用于法语文本。 我有两个问题:法语介词化核心NLP
- 我想知道在核心NLP中是否可以使用法语词典?
- 在某些情况下,输出依赖关系对于句子
"Le chat mange la souris"
(猫正在吃老鼠)没有意义,令牌"mange"
中存在问题,该类型为adj而非动词,因为它不被视为句子的根源。 但是,当我使用plurial"Les chats mangent la souris"
这是正确的。
任何帮助将不胜感激!
我正在尝试将Stanford CoreNLP用于法语文本。 我有两个问题:法语介词化核心NLP
"Le chat mange la souris"
(猫正在吃老鼠)没有意义,令牌"mange"
中存在问题,该类型为adj而非动词,因为它不被视为句子的根源。 但是,当我使用plurial "Les chats mangent la souris"
这是正确的。任何帮助将不胜感激!
在这个时候我们没有法语lemmatizer。
我们将在官方的3.7.0版本发布后立即发布新的法语依赖关系模型。我很好奇,你怎么生成依赖关系,用“解析”注释器还是“depparse”注释器?
感谢您的回复。 我使用以下配置为解析和depparse方法:
StanfordCoreNLP管道=新StanfordCoreNLP( PropertiesUtils.asProperties( “注释”, “记号化,SSPLIT,POS,depparse,解析”, “tokenize.language “,”fr“, ”pos.model“,”edu/stanford/nlp/models/pos- tagger/french/french.tagger“, ”parse.model“,”edu/stanford/nlp/models/lexparser /frenchFactored.ser.gz“, ”depparse.model“,”edu/stanford/nlp/models/parser/nndep/UD_French.gz“));