public class Import
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Imports an openfst text format and serializes it as java binary model
Several files are imported as follows: - basename.input.syms -
basename.output.syms - basename.fst.txt
First argument is the java binary model filename, second
argument openfst's files basename
|
public static void main(java.lang.String[] args) throws java.lang.NumberFormatException, java.io.IOException
args
- argumentsjava.io.IOException
- IO went wrongjava.lang.NumberFormatException
- data has wrong input format