Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed documentation for --ter.punctuation #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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