#include <stdio.h>
#include <cstdlib>
#include <stdlib.h>
#include <fcntl.h>
#include <iostream>
#include <fstream>
#include <stdexcept>
#include <string>
#include <set>
#include <cassert>
#include "math.h"
#include "mempool.h"
#include "htable.h"
#include "ngramcache.h"
#include "dictionary.h"
#include "n_gram.h"
#include "lmContainer.h"
#include "lmtable.h"
#include "util.h"
Go to the source code of this file.
Defines | |
#define | NOPROB ((float)-1.329227995784915872903807060280344576e36) |
Functions | |
void | error (const char *message) |
void | print (prob_and_state_t *pst, std::ostream &out) |
#define NOPROB ((float)-1.329227995784915872903807060280344576e36) |
Definition at line 45 of file lmtable.cpp.
Referenced by lmtable::get(), lmtable::ngcnt(), lmtable::pscale(), and lmtable::wdprune().
void error | ( | const char * | message | ) | [inline] |
Definition at line 49 of file lmtable.cpp.
void print | ( | prob_and_state_t * | pst, | |
std::ostream & | out | |||
) |
Definition at line 55 of file lmtable.cpp.
References PROB_AND_STATE_ENTRY::bol, PROB_AND_STATE_ENTRY::bow, PROB_AND_STATE_ENTRY::logpr, NULL, PROB_AND_STATE_ENTRY::state, and PROB_AND_STATE_ENTRY::statesize.