How to exclude text from POS tagger

25 views
Skip to first unread message

Kevin Glover

unread,
Dec 1, 2015, 6:19:58 AM12/1/15
to Pattern
I am working on a program that is written in Python 2.7 to be compatible with the POS tagger that I import from Pattern. The tagger identifies all the nouns in a text. I need to exclude from the tagger any text that is within quotation marks, and also any word that begins with an upper case letter (including words at the beginning of sentences).

Any advice on coding that would be gratefully received. Thanks.

Kevin
Reply all
Reply to author
Forward
0 new messages