Class FactoredVocab::WordLUT

Nested Relationships

This class is a nested type of Class FactoredVocab.

Class Documentation

class WordLUT

Public Functions

WordIndex add(const std::string &word, WordIndex index)
const std::string &operator[](WordIndex index) const
WordIndex operator[](const std::string &word) const
bool contains(WordIndex index) const
bool tryFind(const std::string &word, WordIndex &index) const
size_t size() const
size_t load(const std::string &path)
void dumpToFile(const std::string &path)