2013-08-14 1 views
0

나는 스탠포드 - 파서 - 2.0.4 - models.jar 내 응용 프로그램에서 이전에 사용. 이제 내 신청서를 stanford-corenlp-3.2.0-models.jar으로 이관하고 싶습니다. 나는 목적 조항 수정complementizer에게 의미 그래프의 가장자리하지만 불행히도에서 관계를 식별하기 위해 내 응용 프로그램에 에게 edu.stanford.nlp.trees.EnglishGrammaticalRelations.PURPOSE_CLAUSE_MODIFIERedu.stanford.nlp.trees.EnglishGrammaticalRelations.COMPLEMENTIZER을 사용 stanford-corenlp-3.2.0-models.jar 최신 버전에서는 볼 수 없었습니다. 어떤 사람은 새로운 항아리를 사용하여 그것을 어떻게 할 수 있는지 제안 할 수 있었고 새로운 항아리에서이 관계를 피하는 이유가 무엇인지 설명 할 수있었습니다.새로운 스탠포드 -corenlp-3.2.0-models.jar의 누락 된 관계

답변

0

이러한 세부 정보는 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) 
관련 문제