Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.metrics.PrecisMinusSourceBLEU Class Reference
Inheritance diagram for joshua.metrics.PrecisMinusSourceBLEU:
[legend]
Collaboration diagram for joshua.metrics.PrecisMinusSourceBLEU:
[legend]

List of all members.

Public Member Functions

 PrecisMinusSourceBLEU (String[] options)
double bestPossibleScore ()
double worstPossibleScore ()
int[] suffStats (String cand_str, int i)
int[][] suffStats (String[] cand_strings, int[] cand_indices)
void createSuffStatsFile (String cand_strings_fileName, String cand_indices_fileName, String outputFileName, int maxBatchSize)
double score (int[] stats)
void printDetailedScore_fromStats (int[] stats, boolean oneLiner)

Protected Member Functions

void initialize ()

Private Attributes

Precis myPrecis
SourceBLEU mySourceBLEU
double bleuWeight
int precisCount
int sourceBleuCount

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

void joshua.metrics.PrecisMinusSourceBLEU.createSuffStatsFile ( String  cand_strings_fileName,
String  cand_indices_fileName,
String  outputFileName,
int  maxBatchSize 
)

Reimplemented from joshua.metrics.EvaluationMetric.

Here is the call graph for this function:

void joshua.metrics.PrecisMinusSourceBLEU.initialize ( ) [protected, virtual]

Implements joshua.metrics.EvaluationMetric.

Here is the caller graph for this function:

void joshua.metrics.PrecisMinusSourceBLEU.printDetailedScore_fromStats ( int[]  stats,
boolean  oneLiner 
) [virtual]

Implements joshua.metrics.EvaluationMetric.

Here is the call graph for this function:

double joshua.metrics.PrecisMinusSourceBLEU.score ( int[]  stats) [virtual]

Implements joshua.metrics.EvaluationMetric.

Here is the call graph for this function:

Here is the caller graph for this function:

int [] joshua.metrics.PrecisMinusSourceBLEU.suffStats ( String  cand_str,
int  i 
) [virtual]
int [][] joshua.metrics.PrecisMinusSourceBLEU.suffStats ( String[]  cand_strings,
int[]  cand_indices 
)

Reimplemented from joshua.metrics.EvaluationMetric.

Here is the call graph for this function:


Member Data Documentation