I need help. I already ask this question to the owner, but not yet answered. Would someone tell me is it possible to change the parameter in this part, Please? Im totally just starting to learn python with NLTK, I havent tried to do the customization. The purpose is I want to use this awesome MaxEnt script made by Arne Neumann to analyze Indonesian language. I already have the data set.
if corpus.lower() == "brown":
from nltk.corpus import brown
tagged_sents = brown.tagged_sents()[:num_sents]
elif corpus.lower() == "treebank":
from nltk.corpus import treebank
tagged_sents = treebank.tagged_sents()[:num_sents]
else:
print "Please load either the 'brown' or the 'treebank' corpus."
is it possible to modify the given parameter of corpus to another document? i planning to use Indonesian document filled with tweets. So far, i got data set of Indonesian words ( https://github.com/drr3d/BimaNLP/tree/master/dataset ). Can this maxent-pos-tagger work same as given dataset? Thank you very much!