lm::SpecialVocab Class Reference

#include <special.hh>

List of all members.

Public Member Functions

 SpecialVocab (WordIndex bos, WordIndex eos)
bool IsSpecial (WordIndex word) const
WordIndex UNK () const
WordIndex BOS () const
WordIndex EOS () const

Detailed Description

Definition at line 8 of file special.hh.

Constructor & Destructor Documentation

lm::SpecialVocab::SpecialVocab ( WordIndex  bos,
WordIndex  eos 
) [inline]

Definition at line 10 of file special.hh.

Member Function Documentation

WordIndex lm::SpecialVocab::BOS (  )  const [inline]

Definition at line 17 of file special.hh.

WordIndex lm::SpecialVocab::EOS (  )  const [inline]

Definition at line 18 of file special.hh.

bool lm::SpecialVocab::IsSpecial ( WordIndex  word  )  const [inline]

Definition at line 12 of file special.hh.

References lm::kUNK.

WordIndex lm::SpecialVocab::UNK (  )  const [inline]

Definition at line 16 of file special.hh.

References lm::kUNK.

The documentation for this class was generated from the following file:

Generated on Thu Jul 6 00:32:41 2017 for Moses by  doxygen 1.5.9