FST
openfst-1.8.2.post1
OpenFst Library
|
#include <linear-fst-data-builder.h>
Public Types | |
typedef A::Label | Label |
typedef A::Weight | Weight |
Public Member Functions | |
LinearFstDataBuilder (const SymbolTable *isyms=nullptr, const SymbolTable *fsyms=nullptr, const SymbolTable *osyms=nullptr) | |
bool | Error () const |
bool | AddWord (Label word, const std::vector< Label > &features) |
bool | AddWord (Label word, const std::vector< Label > &word_features, const std::vector< Label > &possible_output) |
int | AddGroup (size_t future_size) |
bool | AddWeight (size_t group, const std::vector< Label > &input, const std::vector< Label > &output, Weight weight) |
LinearFstData< A > * | Dump () |
Definition at line 66 of file linear-fst-data-builder.h.
typedef A::Label fst::LinearFstDataBuilder< A >::Label |
Definition at line 68 of file linear-fst-data-builder.h.
typedef A::Weight fst::LinearFstDataBuilder< A >::Weight |
Definition at line 69 of file linear-fst-data-builder.h.
|
inlineexplicit |
Definition at line 73 of file linear-fst-data-builder.h.
|
inline |
Definition at line 429 of file linear-fst-data-builder.h.
bool fst::LinearFstDataBuilder< A >::AddWeight | ( | size_t | group, |
const std::vector< Label > & | input, | ||
const std::vector< Label > & | output, | ||
Weight | weight | ||
) |
Definition at line 441 of file linear-fst-data-builder.h.
bool fst::LinearFstDataBuilder< A >::AddWord | ( | Label | word, |
const std::vector< Label > & | features | ||
) |
Definition at line 346 of file linear-fst-data-builder.h.
bool fst::LinearFstDataBuilder< A >::AddWord | ( | Label | word, |
const std::vector< Label > & | word_features, | ||
const std::vector< Label > & | possible_output | ||
) |
Definition at line 389 of file linear-fst-data-builder.h.
LinearFstData< A > * fst::LinearFstDataBuilder< A >::Dump | ( | ) |
Definition at line 533 of file linear-fst-data-builder.h.
|
inline |
Definition at line 86 of file linear-fst-data-builder.h.