I have a WSJ treebank corpus from nltk. I want to load it with the tagset of brown corpus. Is it possible?
import nltk
wsj = nltk.corpus.treebank.tagged_sents(tagset ='universal') # universal tags
wsj2 = nltk.corpus.treebank.tagged_sents() # treebank specific tags
According to the discussion in this thread it is not possible.
So far NLTK only provides the possibility to map specific tagsets to the universal tagset. Maybe one of the suggested solutions in the discussion can help: