ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

tagging.py/PosLemmaTagger()

Open petasis opened this issue 6 years ago • 1 comments

Hi all,

Why in line 57 of tagging.py, the pos tag is taken from the previous token, and not from the one the lemma also comes from? Is this on purpose, or is a bug?

petasis avatar Aug 09 '19 17:08 petasis

I have the same question.do you have the answer?

wangqiujie-daojia avatar Jul 06 '20 03:07 wangqiujie-daojia

Old ticket, going to close this off. But yes, this was intentional, the goal was to create a more context dependent token by using the part of speech from the previous word.

gunthercox avatar Oct 19 '25 21:10 gunthercox