You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by Gagneet Kaur <ga...@comprotechnologies.com> on 2017/09/07 13:33:45 UTC

Query regarding Parse Tree Structure

Hi,

I have a query regarding the Parse Tree structure of following two
sentences:

*Sentence#1:*

*"LanguageProcessing is a very huge and useful website."*

*The Parse Tree is:*

(TOP (S (NP (NN LanguageProcessing)) (VP (VBZ is) (NP (DT a) (ADJP (RB
very) (JJ huge) (CC and) (JJ useful)))) *(. website.)))*


*Sentence#2:*

*"LanguageProcessing is a very huge and useful book."*

*The Parse Tree is:*

(TOP (S (NP (NN LanguageProcessing)) (VP (VBZ is) (NP (DT a) (ADJP (RB
very) (JJ huge) (CC and) (JJ useful)) *(NN book.)))))*


Considering that both the words '*website*' and '*book*' are nouns, there
seems to be a difference in the Parse Trees of both sentences.
*Parts of Speech* for word '*website*' in the first sentence above is
marked by a dot(.) while for the word '*book*' in the second sentence
above, it is marked as *NN* Part of Speech.

Also, the *structure *of the trees gets *altered *due to this behavior.

Could you please provide some explanation for the difference in the parsing
and signify the meaning of *dot(.)* before the word '*website'* in the
Parse Tree of the first Sentence.


Thanks,
Gagneet Kaur.