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

List of all members.

Static Public Member Functions

static void main (String[] args)

Static Package Attributes

static final DecimalFormat f4 = new DecimalFormat("###0.0000")
static boolean verbose
static int numSentences
static int refsPerSen
static String[][] refSentences
static String metricName
static String[] metricOptions
static EvaluationMetric evalMetric
static boolean evaluateRefs
static String refFileName
static String candFileName
static String candFileFormat
static int candRank

Static Private Member Functions

static void evaluateCands_plain (String inFileName)
static void evaluateCands_nbest (String inFileName, int testIndex)
static void evaluateRefSet (int r)
static void evaluate (String inFileName, String inFileFormat, int candPerSen, int testIndex)
static void printUsage (int argsLen)
static void processArgsAndInitialize (String[] args)
static void checkFile (String fileName)
static boolean fileExists (String fileName)
static String createUnifiedRefFile (String prefix, int numFiles)
static String normalize (String str, int normMethod)
static int countLines (String fileName)
static void println (Object obj)
static void print (Object obj)

Static Private Attributes

static int textNormMethod

Member Function Documentation

static void joshua.util.JoshuaEval.checkFile ( String  fileName) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:

static int joshua.util.JoshuaEval.countLines ( String  fileName) [static, private]

Here is the caller graph for this function:

static String joshua.util.JoshuaEval.createUnifiedRefFile ( String  prefix,
int  numFiles 
) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.evaluate ( String  inFileName,
String  inFileFormat,
int  candPerSen,
int  testIndex 
) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.evaluateCands_nbest ( String  inFileName,
int  testIndex 
) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.evaluateCands_plain ( String  inFileName) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.evaluateRefSet ( int  r) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:

static boolean joshua.util.JoshuaEval.fileExists ( String  fileName) [static, private]

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.main ( String[]  args) [static]

Here is the call graph for this function:

static String joshua.util.JoshuaEval.normalize ( String  str,
int  normMethod 
) [static, private]

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.print ( Object  obj) [static, private]

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.println ( Object  obj) [static, private]

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.printUsage ( int  argsLen) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:

static void joshua.util.JoshuaEval.processArgsAndInitialize ( String[]  args) [static, private]

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

String joshua.util.JoshuaEval.candFileFormat [static, package]
String joshua.util.JoshuaEval.candFileName [static, package]
int joshua.util.JoshuaEval.candRank [static, package]
boolean joshua.util.JoshuaEval.evaluateRefs [static, package]
final DecimalFormat joshua.util.JoshuaEval.f4 = new DecimalFormat("###0.0000") [static, package]
String joshua.util.JoshuaEval.metricName [static, package]
String [] joshua.util.JoshuaEval.metricOptions [static, package]
int joshua.util.JoshuaEval.numSentences [static, package]
String joshua.util.JoshuaEval.refFileName [static, package]
String [][] joshua.util.JoshuaEval.refSentences [static, package]
int joshua.util.JoshuaEval.refsPerSen [static, package]
boolean joshua.util.JoshuaEval.verbose [static, package]