louismullie / treat

Natural language processing framework for Ruby.
Other
1.37k stars 128 forks source link

is there a limit on the number of words that can be in a sentence that treat can parse? the text i'm trying to work with has really long sentences, often over 100 words per. #49

Closed CrocodilePundee closed 11 years ago

louismullie commented 11 years ago

?

CrocodilePundee commented 11 years ago

the online stanford NLP parser has a 70 word limit. is that just the web version or does the algorithm have that limit, too?

louismullie commented 11 years ago

You would have to set the option "parse.maxlen" for the StanfordCoreNLP parser. I'm not sure what the default is, though.