FST
openfst-1.8.4
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 70 of file linear-fst-data-builder.h.
typedef A::Label fst::LinearFstDataBuilder< A >::Label |
Definition at line 72 of file linear-fst-data-builder.h.
typedef A::Weight fst::LinearFstDataBuilder< A >::Weight |
Definition at line 73 of file linear-fst-data-builder.h.
|
inlineexplicit |
Definition at line 77 of file linear-fst-data-builder.h.
|
inline |
Definition at line 433 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 445 of file linear-fst-data-builder.h.
bool fst::LinearFstDataBuilder< A >::AddWord | ( | Label | word, |
const std::vector< Label > & | features | ||
) |
Definition at line 350 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 393 of file linear-fst-data-builder.h.
LinearFstData< A > * fst::LinearFstDataBuilder< A >::Dump | ( | ) |
Definition at line 537 of file linear-fst-data-builder.h.
|
inline |
Definition at line 90 of file linear-fst-data-builder.h.