|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| SourceBLEU () | |
| SourceBLEU (String[] options) | |
| SourceBLEU (int num_references, String method, int source_index, boolean use_brevity_penalty) | |
| double | bestPossibleScore () |
| double | worstPossibleScore () |
| int[] | suffStats (String cand_str, int i) |
| int | effLength (int candLength, int i) |
| void | printDetailedScore_fromStats (int[] stats, boolean oneLiner) |
Protected Member Functions | |
| void | initialize () |
| void | set_maxNgramCounts () |
Private Attributes | |
| int | sourceReferenceIndex |
| int[] | sourceWordCount |
| boolean | useBrevityPenalty |
Static Private Attributes | |
| static final Logger | logger = Logger.getLogger(SourceBLEU.class.getName()) |
| joshua.metrics.SourceBLEU.SourceBLEU | ( | String[] | options | ) |
| joshua.metrics.SourceBLEU.SourceBLEU | ( | int | num_references, |
| String | method, | ||
| int | source_index, | ||
| boolean | use_brevity_penalty | ||
| ) |
| double joshua.metrics.SourceBLEU.bestPossibleScore | ( | ) | [virtual] |
Reimplemented from joshua.metrics.BLEU.
| int joshua.metrics.SourceBLEU.effLength | ( | int | candLength, |
| int | i | ||
| ) |
| void joshua.metrics.SourceBLEU.initialize | ( | ) | [protected, virtual] |
Reimplemented from joshua.metrics.BLEU.
| void joshua.metrics.SourceBLEU.printDetailedScore_fromStats | ( | int[] | stats, |
| boolean | oneLiner | ||
| ) | [virtual] |
Reimplemented from joshua.metrics.BLEU.
| void joshua.metrics.SourceBLEU.set_maxNgramCounts | ( | ) | [protected] |
Reimplemented from joshua.metrics.BLEU.
| int [] joshua.metrics.SourceBLEU.suffStats | ( | String | cand_str, |
| int | i | ||
| ) | [virtual] |
Reimplemented from joshua.metrics.BLEU.
| double joshua.metrics.SourceBLEU.worstPossibleScore | ( | ) | [virtual] |
Reimplemented from joshua.metrics.BLEU.
final Logger joshua.metrics.SourceBLEU.logger = Logger.getLogger(SourceBLEU.class.getName()) [static, private] |
Reimplemented from joshua.metrics.BLEU.
int joshua.metrics.SourceBLEU.sourceReferenceIndex [private] |
int [] joshua.metrics.SourceBLEU.sourceWordCount [private] |
boolean joshua.metrics.SourceBLEU.useBrevityPenalty [private] |