Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Usage: program <module_name> [options...]
=== TER ===
-T [--ter.shiftCost] Shift cost for TER
-d [--ter.maxShiftDistance] Maximum shift distance for TER
-P [--ter.punctuation] Use punctuation in TER?
-P [--ter.punctuation] Ignore punctuation in TER?
-b [--ter.beamWidth] Beam width for TER
-B [--ter.substituteCost] Substitute cost for TER
-D [--ter.deleteCost] Delete cost for TER
Expand Down
2 changes: 1 addition & 1 deletion src/multeval/metrics/TER.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public class TER extends Metric<IntStats> {

@Option(shortName = "P", longName = "ter.punctuation", usage = "Use punctuation in TER?", defaultValue = "false")
@Option(shortName = "P", longName = "ter.punctuation", usage = "Ignore punctuation in TER?", defaultValue = "false")
boolean punctuation;

@Option(shortName = "b", longName = "ter.beamWidth", usage = "Beam width for TER", defaultValue = "20")
Expand Down