Search code examples
pythonnltk

What are all possible POS tags of NLTK?


How do I find a list with all possible POS tags used by the Natural Language Toolkit (NLTK)?


Solution

  • The book has a note how to find help on tag sets, e.g.:

    nltk.help.upenn_tagset()
    

    Others are probably similar. (Note: Maybe you first have to download tagsets from the download helper's Models section for this)