Skip to content Skip to sidebar Skip to footer

Stanford Parser With Nltk Produces Empty Output

I am trying to use the Stanford parser in a small application written in Python with the NLTK interface. I tried the code given below. Everything seems to work right, no errors, Ja

Solution 1:

Try:

sentences = list(parser.raw_parse_sents(("Hello the world.", "Thank you for helping me with this problem.")))

for line in sentences:
    for sentence in line:
        sentence.draw() 

Post a Comment for "Stanford Parser With Nltk Produces Empty Output"