hankcs / multi-criteria-cws

Simple Solution for Multi-Criteria Chinese Word Segmentation
http://www.hankcs.com/nlp/segment/multi-criteria-cws.html
GNU General Public License v3.0
300 stars 84 forks source link

fix score scripts on windows 10 environment #10

Closed ShenDezhou closed 5 years ago

ShenDezhou commented 5 years ago

The official_scorer script has to be run under (windows 10+cygwin) because it replies on 'grep' and 'rm'.

hankcs commented 5 years ago

Thanks. One can use python to read and delete tmp instead of grep and rm.