nusnlp / m2scorer

MaxMatch (M^2) Scorer - Evaluation program for grammatical error correction systems.
GNU General Public License v2.0
146 stars 36 forks source link

edit_creator script does not produce edits for case errors #4

Closed kavehtp closed 8 years ago

kavehtp commented 8 years ago

Apparently, the edit_creator.py does not generate edits for case errors:

Source: As times pass by , My eyes went down the table below . target: As time passed , my eyes went down the table below .

Result:

S As times pass by , My eyes went down the table below . A 1 4|||UNK|||time passed|||REQUIRED|||-NONE-|||0

tamhd commented 8 years ago

I accidentally set ignore_whitespace_casing=True by default. It is 'False' by default now, to ignore casing, use flag: --ignore_whitespace_casing