git clone https://github.com/shotakoyama/green.git
cd green
pip install -e .
green -s input.txt -r reference{0,1}.txt -c system{0,1,2}.txt -t word -n 4 -d 2 -b 2.0
BLEU (
GREEN treats a sentence as a multiset of
GREEN compares the match between the corrections from the source sentence
Table below shows what types of corrections are performed in
Region | Name | ||
---|---|---|---|
True Delete | Delete | Delete | |
True Insert | Insert | Insert | |
True Keep | Keep | Keep | |
Over-Delete | Keep | Delete | |
Over-Insert | None | Insert | |
Under-Delete | Delete | Keep | |
Under-Insert | Insert | None |
GREEN uses three operations on multisets: intersection (
The number of
GREEN calculates an