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 | |
LinearClassifierFstDataBuilder (size_t num_classes, const SymbolTable *isyms=nullptr, const SymbolTable *fsyms=nullptr, const SymbolTable *osyms=nullptr) | |
bool | Error () const |
bool | AddWord (Label word, const std::vector< Label > &features) |
int | AddGroup () |
bool | AddWeight (size_t group, const std::vector< Label > &input, Label pred, Weight weight) |
LinearFstData< A > * | Dump () |
Definition at line 195 of file linear-fst-data-builder.h.
typedef A::Label fst::LinearClassifierFstDataBuilder< A >::Label |
Definition at line 197 of file linear-fst-data-builder.h.
typedef A::Weight fst::LinearClassifierFstDataBuilder< A >::Weight |
Definition at line 198 of file linear-fst-data-builder.h.
|
inlineexplicit |
Definition at line 204 of file linear-fst-data-builder.h.
|
inline |
Definition at line 630 of file linear-fst-data-builder.h.
|
inline |
Definition at line 645 of file linear-fst-data-builder.h.
|
inline |
Definition at line 617 of file linear-fst-data-builder.h.
|
inline |
Definition at line 665 of file linear-fst-data-builder.h.
|
inline |
Definition at line 215 of file linear-fst-data-builder.h.