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

List of all members.

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

Constructor & Destructor Documentation

Here is the call graph for this function:

joshua.metrics.Precis.Precis ( String[]  options)

Here is the call graph for this function:


Member Function Documentation

int joshua.metrics.Precis.effLength ( int  candLength,
int  i 
)

Reimplemented from joshua.metrics.BLEU.

Here is the caller graph for this function:

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]

Here is the caller graph for this function:

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

Reimplemented from joshua.metrics.BLEU.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from joshua.metrics.BLEU.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from joshua.metrics.BLEU.

Here is the call graph for this function:

Here is the caller graph for this function:

Reimplemented from joshua.metrics.BLEU.

Here is the call graph for this function:

Here is the caller graph for this function:

int [] joshua.metrics.Precis.suffStats ( String  cand_str,
int  i 
) [virtual]

Reimplemented from joshua.metrics.BLEU.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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]