|
| DECLARE_string (delimiter) |
|
| DECLARE_string (empty_symbol) |
|
| DECLARE_string (start_symbol) |
|
| DECLARE_string (end_symbol) |
|
| DECLARE_bool (classifier) |
|
bool | fst::script::ValidateDelimiter () |
|
bool | fst::script::ValidateEmptySymbol () |
|
template<class Arc > |
Arc::Label | fst::script::LookUp (const std::string &str, SymbolTable *syms) |
|
template<class Arc > |
void | fst::script::SplitAndPush (const std::string &str, const char delim, SymbolTable *syms, std::vector< typename Arc::Label > *output) |
|
template<class InputIterator , class OutputIterator , class T > |
size_t | fst::script::ReplaceCopy (InputIterator first, InputIterator last, OutputIterator result, const T &old_value, const T &new_value) |
|
template<class Arc > |
bool | fst::script::GetVocabRecord (const std::string &vocab, std::istream &strm, SymbolTable *isyms, SymbolTable *fsyms, SymbolTable *osyms, typename Arc::Label *word, std::vector< typename Arc::Label > *feature_labels, std::vector< typename Arc::Label > *possible_labels, size_t *num_line) |
|
template<class Arc > |
bool | fst::script::GetModelRecord (const std::string &model, std::istream &strm, SymbolTable *fsyms, SymbolTable *osyms, std::vector< typename Arc::Label > *input_labels, std::vector< typename Arc::Label > *output_labels, typename Arc::Weight *weight, size_t *num_line) |
|
template<class Arc > |
void | fst::script::AddVocab (const std::string &vocab, SymbolTable *isyms, SymbolTable *fsyms, SymbolTable *osyms, LinearFstDataBuilder< Arc > *builder) |
|
template<class Arc > |
void | fst::script::AddVocab (const std::string &vocab, SymbolTable *isyms, SymbolTable *fsyms, SymbolTable *osyms, LinearClassifierFstDataBuilder< Arc > *builder) |
|
template<class Arc > |
void | fst::script::AddModel (const std::string &model, SymbolTable *fsyms, SymbolTable *osyms, LinearFstDataBuilder< Arc > *builder) |
|
template<class Arc > |
void | fst::script::AddModel (const std::string &model, SymbolTable *fsyms, SymbolTable *osyms, LinearClassifierFstDataBuilder< Arc > *builder) |
|
void | fst::script::SplitByWhitespace (const std::string &str, std::vector< std::string > *out) |
|
int | fst::script::ScanNumClasses (char **models, int models_len) |
|
template<class Arc > |
void | fst::script::LinearCompileTpl (LinearCompileArgs *args) |
|
void | fst::script::LinearCompile (const std::string &arc_type, const std::string &epsilon_symbol, const std::string &unknown_symbol, const std::string &vocab, char **models, int models_len, const std::string &out, const std::string &save_isymbols, const std::string &save_fsymbols, const std::string &save_osymbols) |
|