FST
openfst-1.8.3
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 199 of file linear-fst-data-builder.h.
typedef A::Label fst::LinearClassifierFstDataBuilder< A >::Label |
Definition at line 201 of file linear-fst-data-builder.h.
typedef A::Weight fst::LinearClassifierFstDataBuilder< A >::Weight |
Definition at line 202 of file linear-fst-data-builder.h.
|
inlineexplicit |
Definition at line 208 of file linear-fst-data-builder.h.
|
inline |
Definition at line 634 of file linear-fst-data-builder.h.
|
inline |
Definition at line 649 of file linear-fst-data-builder.h.
|
inline |
Definition at line 621 of file linear-fst-data-builder.h.
|
inline |
Definition at line 669 of file linear-fst-data-builder.h.
|
inline |
Definition at line 219 of file linear-fst-data-builder.h.