aritter / twitter_nlp

Twitter NLP Tools
GNU General Public License v3.0
882 stars 382 forks source link

Sequence of Punctuation POS #4

Closed OmniaZayed closed 11 years ago

OmniaZayed commented 11 years ago

Hi,

I noticed that the sequence of punctuation has no POS when using this command

cat myTweets.txt | python python/ner/extractEntities2.py --classify --pos

For example: zombies/O/NNS ..../O/ smh/O/UH I took a quick look inside the code, but I am not a python expert, may be you protected it some how.

Thanks,

aritter commented 11 years ago

Thanks for letting me know!

This was a problem with how the ":" POS tags were handled (they were effectively all mapped to ""). Anyway, I fixed the bug.

-Alan