Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Stanford Parser Java API 来执行句法分析,并且我想选择“不保留树结构的非折叠依赖项”模式。在手册中,它说明了如何使用控制台完成此操作,而不是使用 Java 代码。有谁知道怎么做?
Tree parseTree; GrammaticalStructure gs = gsf.newGrammaticalStructure(parseTree); Collection tdl = gs.typedDependencies();