/disk4/html/www/moses/doxygen/mosesdecoder/moses/LM/Ken.cpp File Reference

#include <cstring>
#include <iostream>
#include <memory>
#include <cstdlib>
#include <boost/shared_ptr.hpp>
#include <boost/lexical_cast.hpp>
#include "lm/binary_format.hh"
#include "lm/enumerate_vocab.hh"
#include "lm/left.hh"
#include "lm/model.hh"
#include "util/exception.hh"
#include "util/tokenize_piece.hh"
#include "util/string_stream.hh"
#include "Ken.h"
#include "Base.h"
#include "moses/FF/FFState.h"
#include "moses/TypeDef.h"
#include "moses/Util.h"
#include "moses/FactorCollection.h"
#include "moses/Phrase.h"
#include "moses/InputFileStream.h"
#include "moses/StaticData.h"
#include "moses/ChartHypothesis.h"
#include "moses/Incremental.h"
#include "moses/Syntax/SHyperedge.h"
#include "moses/Syntax/SVertex.h"

Go to the source code of this file.


Classes

class  Moses::LanguageModelChartStateKenLM

Namespaces

namespace  Moses
 $Id$

Functions

LanguageModel * Moses::ConstructKenLM (const std::string &lineOrig)
LanguageModel * Moses::ConstructKenLM (const std::string &line, const std::string &file, FactorType factorType, util::LoadMethod load_method)
 This will also load. Returns a templated KenLM class.


Variable Documentation

FactorCollection& m_factorCollection

Definition at line 86 of file Ken.cpp.

std::vector<lm::WordIndex>& m_mapping

Definition at line 87 of file Ken.cpp.


Generated on Thu Jul 6 00:31:30 2017 for Moses by  doxygen 1.5.9