import MontyLingua
theTagger = MontyLingua.MontyLingua()
String = "when was tom born?"
#tokenized the String
tokenizedString = theTagger.tokenize(String)
chunkedString=theTagger.chunk(tokenizedString) #error coming here
#Tag the tokenized String
tagString = theTagger.tag_tokenized(tokenizedString)
print tagString
#A more simple way to tag the String
tagString = theTagger.jist(String)
can anyubody help me why error is occuring there and how to use montylingua ?? please....