|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| Precis () | |
| Precis (String[] options) | |
| int[] | suffStats (String cand_str, int i) |
| int | effLength (int candLength, int i) |
| int | effLength (int candLength, int i, boolean character_length) |
| double | score (int[] stats) |
| void | printDetailedScore_fromStats (int[] stats, boolean oneLiner) |
Protected Member Functions | |
| void | initialize () |
| void | set_maxNgramCounts () |
Static Protected Member Functions | |
| static double | getVerbosityPenalty (double cr, double target_rate) |
Private Attributes | |
| int | sourceReferenceIndex |
| double | targetCompressionRate |
| boolean | characterBased |
| double | similarityWeight |
Static Private Attributes | |
| static final Logger | logger = Logger.getLogger(Precis.class.getName()) |
| static final double | REF_CR = -1.0 |
| joshua.metrics.Precis.Precis | ( | String[] | options | ) |
| int joshua.metrics.Precis.effLength | ( | int | candLength, |
| int | i | ||
| ) |
| int joshua.metrics.Precis.effLength | ( | int | candLength, |
| int | i, | ||
| boolean | character_length | ||
| ) |
| static double joshua.metrics.Precis.getVerbosityPenalty | ( | double | cr, |
| double | target_rate | ||
| ) | [static, protected] |
| void joshua.metrics.Precis.initialize | ( | ) | [protected, virtual] |
Reimplemented from joshua.metrics.BLEU.
| void joshua.metrics.Precis.printDetailedScore_fromStats | ( | int[] | stats, |
| boolean | oneLiner | ||
| ) | [virtual] |
Reimplemented from joshua.metrics.BLEU.
| double joshua.metrics.Precis.score | ( | int[] | stats | ) | [virtual] |
Reimplemented from joshua.metrics.BLEU.
| void joshua.metrics.Precis.set_maxNgramCounts | ( | ) | [protected] |
Reimplemented from joshua.metrics.BLEU.
| int [] joshua.metrics.Precis.suffStats | ( | String | cand_str, |
| int | i | ||
| ) | [virtual] |
Reimplemented from joshua.metrics.BLEU.
boolean joshua.metrics.Precis.characterBased [private] |
final Logger joshua.metrics.Precis.logger = Logger.getLogger(Precis.class.getName()) [static, private] |
Reimplemented from joshua.metrics.BLEU.
final double joshua.metrics.Precis.REF_CR = -1.0 [static, private] |
double joshua.metrics.Precis.similarityWeight [private] |
int joshua.metrics.Precis.sourceReferenceIndex [private] |
double joshua.metrics.Precis.targetCompressionRate [private] |