Stanford nlp 新stanford-corenlp-3.2.0-models.jar中缺少的关系

Stanford nlp 新stanford-corenlp-3.2.0-models.jar中缺少的关系,stanford-nlp,Stanford Nlp,在我的应用程序的前面部分,我使用了stanford-parser-2.0.4-models.jar。现在我想将我的应用程序移植到stanford-corenlp-3.2.0-models.jar。在我的应用程序中,我使用了edu.stanford.nlp.trees.EnglishGrammaticRelations.PURPOSE_子句_修饰符和edu.stanford.nlp.trees.EnglishGrammaticRelations.EnglishGraphics.COMPLEMENT

在我的应用程序的前面部分,我使用了stanford-parser-2.0.4-models.jar。现在我想将我的应用程序移植到stanford-corenlp-3.2.0-models.jar。在我的应用程序中,我使用了edu.stanford.nlp.trees.EnglishGrammaticRelations.PURPOSE_子句_修饰符edu.stanford.nlp.trees.EnglishGrammaticRelations.EnglishGraphics.COMPLEMENTIZER从语义图边缘识别PURPOSE子句修饰符补语关系无法在最新版本的stanford-corenlp-3.2.0-models.jar中看到它们。有没有人能建议我如何使用新jar,并向我解释在新jar中避免这些关系的原因。

我可以在stanford-corenlp-3.2.0-sources.jar中找到这些细节。作为其中的一部分,他们消除了这些关系,并将其视为现有关系的特例。 找到下面我可以从源代码中看到的注释

The "purpose clause modifier" grammatical relation has been discontinued
It is now just seen as a special case of an advcl.  A purpose clause
modifier of a VP is a clause headed by "(in order) to" specifying a
purpose.  Note: at present we only recognize ones that have
"in order to" or are fronted.  Otherwise we can't use our surface representations to
distinguish these from xcomp's. We can also recognize "to" clauses
introduced by "be VBN".
<p/>
Example: <br/>
"He talked to the president in order to secure the account" &rarr;
<code>purpcl</code>(talked, secure)


The "complementizer" grammatical relation is a discontinued grammatical relation. A
A complementizer of a clausal complement was the word introducing it.
It only matched "that" or "whether". We've now merged this in with "mark" which plays a        similar
role with other clausal modifiers.
<p/>
<p/>
Example: <br/>
"He says that you like to swim" &rarr;
<code>complm</code>(like, that)