Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.decoder.ff.lm.srilm.srilm Class Reference

List of all members.

Static Public Member Functions

static SWIGTYPE_p_unsigned_int new_unsigned_array (int nelements)
static void delete_unsigned_array (SWIGTYPE_p_unsigned_int ary)
static long unsigned_array_getitem (SWIGTYPE_p_unsigned_int ary, int index)
static void unsigned_array_setitem (SWIGTYPE_p_unsigned_int ary, int index, long value)
static SWIGTYPE_p_Ngram initLM (int order, int start_id, int end_id)
static SWIGTYPE_p_Vocab initVocab (int start, int end)
static long getIndexForWord (String s)
static String getWordForIndex (long i)
static int readLM (SWIGTYPE_p_Ngram ngram, String filename)
static float getWordProb (SWIGTYPE_p_Ngram ngram, long word, SWIGTYPE_p_unsigned_int context)
static float getProb_lzf (SWIGTYPE_p_Ngram ngram, SWIGTYPE_p_unsigned_int context, int hist_size, long cur_wrd)
static long getBOW_depth (SWIGTYPE_p_Ngram ngram, SWIGTYPE_p_unsigned_int context, int hist_size)
static float get_backoff_weight_sum (SWIGTYPE_p_Ngram ngram, SWIGTYPE_p_unsigned_int context, int hist_size, int min_len)
static int getVocab_None ()
static void write_vocab_map (SWIGTYPE_p_Vocab vo, String fname)
static void write_default_vocab_map (String fname)
static String getWordForIndex_Vocab (SWIGTYPE_p_Vocab vo, long i)
static long getIndexForWord_Vocab (SWIGTYPE_p_Vocab vo, String s)

Member Function Documentation

Here is the call graph for this function:

static float joshua.decoder.ff.lm.srilm.srilm.get_backoff_weight_sum ( SWIGTYPE_p_Ngram  ngram,
SWIGTYPE_p_unsigned_int  context,
int  hist_size,
int  min_len 
) [static]

Here is the call graph for this function:

static long joshua.decoder.ff.lm.srilm.srilm.getBOW_depth ( SWIGTYPE_p_Ngram  ngram,
SWIGTYPE_p_unsigned_int  context,
int  hist_size 
) [static]

Here is the call graph for this function:

static long joshua.decoder.ff.lm.srilm.srilm.getIndexForWord ( String  s) [static]

Here is the call graph for this function:

static long joshua.decoder.ff.lm.srilm.srilm.getIndexForWord_Vocab ( SWIGTYPE_p_Vocab  vo,
String  s 
) [static]

Here is the call graph for this function:

static float joshua.decoder.ff.lm.srilm.srilm.getProb_lzf ( SWIGTYPE_p_Ngram  ngram,
SWIGTYPE_p_unsigned_int  context,
int  hist_size,
long  cur_wrd 
) [static]

Here is the call graph for this function:

Here is the call graph for this function:

static String joshua.decoder.ff.lm.srilm.srilm.getWordForIndex ( long  i) [static]

Here is the call graph for this function:

static String joshua.decoder.ff.lm.srilm.srilm.getWordForIndex_Vocab ( SWIGTYPE_p_Vocab  vo,
long  i 
) [static]

Here is the call graph for this function:

static float joshua.decoder.ff.lm.srilm.srilm.getWordProb ( SWIGTYPE_p_Ngram  ngram,
long  word,
SWIGTYPE_p_unsigned_int  context 
) [static]

Here is the call graph for this function:

static SWIGTYPE_p_Ngram joshua.decoder.ff.lm.srilm.srilm.initLM ( int  order,
int  start_id,
int  end_id 
) [static]

Here is the call graph for this function:

static SWIGTYPE_p_Vocab joshua.decoder.ff.lm.srilm.srilm.initVocab ( int  start,
int  end 
) [static]

Here is the call graph for this function:

Here is the call graph for this function:

static int joshua.decoder.ff.lm.srilm.srilm.readLM ( SWIGTYPE_p_Ngram  ngram,
String  filename 
) [static]

Here is the call graph for this function:

Here is the call graph for this function:

static void joshua.decoder.ff.lm.srilm.srilm.unsigned_array_setitem ( SWIGTYPE_p_unsigned_int  ary,
int  index,
long  value 
) [static]

Here is the call graph for this function:

static void joshua.decoder.ff.lm.srilm.srilm.write_default_vocab_map ( String  fname) [static]

Here is the call graph for this function:

static void joshua.decoder.ff.lm.srilm.srilm.write_vocab_map ( SWIGTYPE_p_Vocab  vo,
String  fname 
) [static]

Here is the call graph for this function: