BLLIP / bllip-parser

BLLIP reranking parser (also known as Charniak-Johnson parser, Charniak parser, Brown reranking parser) See http://pypi.python.org/pypi/bllipparser/ for Python module.
http://bllip.cs.brown.edu/
227 stars 53 forks source link

parseIt exits when it sees an empty sentence #37

Open dmcc opened 9 years ago

dmcc commented 9 years ago

If you give parseIt this input file:

 <s> </s>
 <s> Non-empty </s>

it will exit before parsing "Non-empty".

(thanks to Joel Tetrault for the bug report)