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

List of all members.

Classes

class  ParaphraseRule
class  RuleBatch

Static Public Member Functions

static void main (String[] args) throws NumberFormatException, IOException

Static Private Attributes

static final Logger logger = Logger.getLogger(PruneParaphraseGrammar.class.getName())
static int TOP_K = 10
static double EXP_CUTOFF = 2.0
static int ADMITTED = 0
static int PRUNED = 0
static int PRUNED_EXP = 0

Detailed Description

Merges a sorted SAMT-format to-English translation grammar into a paraphrase grammar

Author:
Juri Ganitkevitch

Member Function Documentation

static void joshua.tools.PruneParaphraseGrammar.main ( String[]  args) throws NumberFormatException, IOException [static]

Main method.

Parameters:
argsnames of the two grammars to be compared
Exceptions:
IOException
NumberFormatException

Here is the call graph for this function:


Member Data Documentation

double joshua.tools.PruneParaphraseGrammar.EXP_CUTOFF = 2.0 [static, private]
final Logger joshua.tools.PruneParaphraseGrammar.logger = Logger.getLogger(PruneParaphraseGrammar.class.getName()) [static, private]

Logger for this class.

int joshua.tools.PruneParaphraseGrammar.PRUNED = 0 [static, private]
int joshua.tools.PruneParaphraseGrammar.TOP_K = 10 [static, private]