#include <list>#include <limits>#include <vector>#include <string>#include <stdint.h>Go to the source code of this file.
| #define BOS_ "<s>" |
Definition at line 42 of file TypeDef.h.
Referenced by Moses::LanguageModelSRI::CreateFactors(), Moses::LanguageModelIRST::CreateFactors(), Moses::Vocab::InitSpecialWords(), and Moses::LanguageModelJoint::Load().
| #define EOS_ "</s>" |
Definition at line 45 of file TypeDef.h.
Referenced by Moses::LanguageModelSRI::CreateFactors(), Moses::LanguageModelIRST::CreateFactors(), Moses::Vocab::InitSpecialWords(), and Moses::LanguageModelJoint::Load().
| #define EPSILON "*EPS*" |
Definition at line 49 of file TypeDef.h.
Referenced by Moses::PDTAimp::CacheSource(), Moses::PDTimp::Extend(), Moses::WordLattice::InitializeFromPCNDataType(), Moses::TranslationOptionCollection::ProcessOneUnknownWord(), and Moses::ConfusionNet::ReadFormat0().
| #define MAX_NGRAM_SIZE 20 |
| #define NOT_FOUND std::numeric_limits<size_t>::max() |
Definition at line 51 of file TypeDef.h.
Referenced by Moses::SquareMatrix::CalcFutureScore(), Moses::ReorderingConstraint::Check(), Moses::WordLattice::ComputeDistortionDistance(), Moses::PhraseDictionaryTree::Create(), Moses::TrellisPath::CreateDeviantPaths(), Moses::DistortionScoreProducer::EmptyHypothesisState(), Moses::WordsBitmap::GetFirstGapPos(), Moses::WordsBitmap::GetID(), Moses::WordsBitmap::GetIDPlus(), Moses::WordsBitmap::GetLastGapPos(), Moses::WordsBitmap::GetLastPos(), Moses::DecodeGraph::GetMaxChartSpan(), Moses::WordsRange::GetNumWordsCovered(), Moses::TrellisPath::GetTargetWordsRange(), Moses::Hypothesis::PrintHypothesis(), TranslationAnalysis::PrintTranslationAnalysis(), and Moses::SearchNormal::ProcessOneHypothesis().
| #define PROJECT_NAME "moses" |
| #define UNKNOWN_FACTOR "UNK" |
Definition at line 48 of file TypeDef.h.
Referenced by Moses::Word::CreateUnknownWord(), Moses::Vocab::InitSpecialWords(), and Moses::TranslationOptionCollection::ProcessOneUnknownWord().
1.5.9