Classes | |
| class | Single |
| class | Union |
| class | Multiple |
Functions | |
| void | ReadSingle (std::istream &in, boost::unordered_set< std::string > &out) |
| unsigned int | ReadMultiple (std::istream &in, boost::unordered_map< std::string, std::vector< unsigned int > > &out) |
| bool | IsTag (const StringPiece &value) |
| bool lm::vocab::IsTag | ( | const StringPiece & | value | ) | [inline] |
Definition at line 31 of file vocab.hh.
References StringPiece::data(), StringPiece::empty(), and StringPiece::size().
Referenced by lm::vocab::Multiple::AddNGram(), lm::vocab::Union::PassNGram(), and lm::vocab::Single::PassNGram().


| unsigned int lm::vocab::ReadMultiple | ( | std::istream & | in, | |
| boost::unordered_map< std::string, std::vector< unsigned int > > & | out | |||
| ) |
| void lm::vocab::ReadSingle | ( | std::istream & | in, | |
| boost::unordered_set< std::string > & | out | |||
| ) |
1.5.9