Wrong tagging on lowercase words ?
vsraptor opened this issue · 1 comments
vsraptor commented
"peter" is wrongly tagged as VB ....
In [205]: from pattern.en import *
In [206]: incorrect = Sentence(parse('peter owns a house'))
In [207]: pprint(incorrect)
WORD TAG CHUNK ROLE ID PNP LEMMA
peter VB VP - - - -
owns VBZ VP ^ - - - -
a DT NP - - - -
house NN NP ^ - - - -
In [208]: correct = Sentence(parse('Peter owns a house'))
In [209]: pprint(correct)
WORD TAG CHUNK ROLE ID PNP LEMMA
Peter NNP NP - - - -
owns VBZ VP - - - -
a DT NP - - - -
house NN NP ^ - - - -
RachitBansal commented