#include "lm/return.hh"
#include "lm/state.hh"
#include <algorithm>
#include <cassert>
Go to the source code of this file.
Classes | |
struct | lm::ngram::ExtendReturn |
Namespaces | |
namespace | lm |
namespace | lm::ngram |
Functions | |
template<class Model > | |
ExtendReturn | lm::ngram::ExtendLoop (const Model &model, unsigned char seen, const WordIndex *add_rbegin, const WordIndex *add_rend, const float *backoff_start, const uint64_t *pointers, const uint64_t *pointers_end, uint64_t *&pointers_write, float *backoff_write) |
template<class Model > | |
float | lm::ngram::RevealBefore (const Model &model, const Right &reveal, const unsigned char seen, bool reveal_full, Left &left, Right &right) |
template<class Model > | |
float | lm::ngram::RevealAfter (const Model &model, Left &left, Right &right, const Left &reveal, unsigned char seen) |
template<class Model > | |
float | lm::ngram::Subsume (const Model &model, Left &first_left, const Right &first_right, const Left &second_left, Right &second_right, const unsigned int between_length) |