SUTDNLP / ZPar

A fast and great parser
https://github.com/SUTDNLP/ZPar
10 stars 5 forks source link

something wrong with ZPar/doc/doc/seg_files/evaluate.py #3

Closed pdjlzs closed 8 years ago

pdjlzs commented 8 years ago

Hi all,

I'm using the ctb70 corpus to train a segmentation model and evaluate it. The evaluate.py crashed at line 246 which is assert( len(tTagged) < 3), because the corpus has the sentence such as (_)-(_) and link which has two _ in the it. I think it's not a bug but the evaluate.py really crashed and I want to tell you.

Best, PanDa