Stanford nlp 如何在TypedDependence中保留标点符号? 汉语语法结构gs=新汉语语法结构(t); 集合tdl=gs.typedDependenciesCollapsed();
我试着打印gs和tdl,gs保留标点,而tdl丢失标点。在使用stanford parser 3.9.1时,如何在将语法结构转换为typedDependencies的同时保留标点?似乎stanford parser很难解决这个问题,有相同问题的人可以尝试corenlpStanford nlp 如何在TypedDependence中保留标点符号? 汉语语法结构gs=新汉语语法结构(t); 集合tdl=gs.typedDependenciesCollapsed();,stanford-nlp,Stanford Nlp,我试着打印gs和tdl,gs保留标点,而tdl丢失标点。在使用stanford parser 3.9.1时,如何在将语法结构转换为typedDependencies的同时保留标点?似乎stanford parser很难解决这个问题,有相同问题的人可以尝试corenlp ChineseGrammaticalStructure gs = new ChineseGrammaticalStructure(t); Collection<TypedDependency> tdl = gs.typ
ChineseGrammaticalStructure gs = new ChineseGrammaticalStructure(t);
Collection<TypedDependency> tdl = gs.typedDependenciesCollapsed();