0

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....

3
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by sumitb128
0

yaa..i got clarified the problem, I am using MontyLingua.py and trying to access the MontyREChunker.py 's method..anyway thanks for replying...

and can you suggest any good packages in pyhton for named entity recognization ??

0

Praveen : Can you share the solution of your problem?

I am stuck on similar problem.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.