dhowe / rita

Website, documentation and examples for RiTa
https://rednoise.org/rita
71 stars 9 forks source link

Tagger always tags “there” as existential #148

Open dhowe opened 3 years ago

dhowe commented 3 years ago

Via email:

For some reason, no matter how I use the word “there”, it always thinks it is existential.  For example:

”I have gone alone in there.”  or “We stopped and went on from there.”

RiTa.pos() will tag “there” as ex.  But in these cases, “there” is being used as a noun. Specifically it is a noun, the object of the preposition “in/from”.  Is this a bug, or am I misunderstanding it?

dhowe commented 3 years ago

this may be resolved by simply adding 'nn' as a 2nd tag for 'there' in the lexicon, give it a try...

Real-John-Cheung commented 3 years ago

hmm

adding 'nn' as a 2nd tag for 'there' in the lexicon

that doesn't work... I think actually 'there' should be tagged as 'rb' most frequently? like

and only is existential in cases like

So maybe we should adjust the order of the possible tags. I did this in the above PR

dhowe commented 3 years ago

@Real-John-Cheung need to sync with java