#include <fst/compat.h>
#include <fst/extensions/linear/linearscript.h>
#include <cctype>
#include <cstdio>
#include <set>
#include <string>
#include <fst/flags.h>
#include <fst/arc.h>
#include <fstream>
#include <fst/script/script-impl.h>
Go to the source code of this file.
|
| DEFINE_string (delimiter,"|","Single non-white-space character delimiter inside sequences of ""feature symbols and output symbols") |
|
| DEFINE_string (empty_symbol,"<empty>","Special symbol that designates an empty sequence") |
|
| DEFINE_string (start_symbol,"<s>","Start of sentence symbol") |
|
| DEFINE_string (end_symbol,"</s>","End of sentence symbol") |
|
| DEFINE_bool (classifier, false,"Treat input model as a classifier instead of a tagger") |
|
bool | fst::script::ValidateDelimiter () |
|
bool | fst::script::ValidateEmptySymbol () |
|
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) |
|
| fst::script::REGISTER_FST_OPERATION_3ARCS (LinearCompileTpl, LinearCompileArgs) |
|
void | fst::script::SplitByWhitespace (const std::string &str, std::vector< std::string > *out) |
|
int | fst::script::ScanNumClasses (char **models, int models_len) |
|
DEFINE_bool |
( |
classifier |
, |
|
|
false |
, |
|
|
"Treat input model as a classifier instead of a tagger" |
|
|
) |
| |
DEFINE_string |
( |
delimiter |
, |
|
|
"|" |
, |
|
|
"Single non-white-space character delimiter inside sequences of ""feature symbols and output symbols" |
|
|
) |
| |
DEFINE_string |
( |
empty_symbol |
, |
|
|
"<empty>" |
, |
|
|
"Special symbol that designates an empty sequence" |
|
|
) |
| |
DEFINE_string |
( |
start_symbol |
, |
|
|
"<s>" |
, |
|
|
"Start of sentence symbol" |
|
|
) |
| |
DEFINE_string |
( |
end_symbol |
, |
|
|
"</s>" |
, |
|
|
"End of sentence symbol" |
|
|
) |
| |