fstrelabel.cc
More...
#include <string>
#include <vector>
#include <utility>
#include <fst/script/relabel.h>
#include <fst/script/weight-class.h>
#include <fst/util.h>
Go to the source code of this file.
Functions |
| | DEFINE_string (isymbols,"","Input label symbol table") |
| | DEFINE_string (osymbols,"","Output label symbol table") |
| | DEFINE_string (relabel_isymbols,"","Input symbol set to relabel to") |
| | DEFINE_string (relabel_osymbols,"","Ouput symbol set to relabel to") |
| | DEFINE_string (relabel_ipairs,"","Input relabel pairs (numeric)") |
| | DEFINE_string (relabel_opairs,"","Output relabel pairs (numeric)") |
| | DEFINE_bool (allow_negative_labels, false,"Allow negative labels (not recommended; may cause conflicts)") |
| int | main (int argc, char **argv) |
Detailed Description
fstrelabel.cc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2005-2010 Google, Inc. Author: johans@google.com (Johan Schalkwyk) Modified: jpr@google.com (Jake Ratkiewicz) to use FstClass
Relabel input or output space of Fst
Definition in file fstrelabel.cc.
Function Documentation
| DEFINE_bool |
( |
allow_negative_labels |
, |
|
|
false |
, |
|
|
"Allow negative labels (not recommended; may cause conflicts)" |
| |
|
) |
| | |
| DEFINE_string |
( |
osymbols |
, |
|
|
"" |
, |
|
|
"Output label symbol table" |
| |
|
) |
| | |
| DEFINE_string |
( |
relabel_isymbols |
, |
|
|
"" |
, |
|
|
"Input symbol set to relabel to" |
| |
|
) |
| | |
| DEFINE_string |
( |
relabel_opairs |
, |
|
|
"" |
, |
|
|
"Output relabel pairs (numeric)" |
| |
|
) |
| | |
| DEFINE_string |
( |
relabel_ipairs |
, |
|
|
"" |
, |
|
|
"Input relabel pairs (numeric)" |
| |
|
) |
| | |
| DEFINE_string |
( |
relabel_osymbols |
, |
|
|
"" |
, |
|
|
"Ouput symbol set to relabel to" |
| |
|
) |
| | |
| DEFINE_string |
( |
isymbols |
, |
|
|
"" |
, |
|
|
"Input label symbol table" |
| |
|
) |
| | |
| int main |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |