public class Export
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Exports a java binary model to openfst text format
Several files are exported 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.io.IOException, java.lang.ClassNotFoundException
args
- argumentsjava.io.IOException
- IO went wrongjava.lang.ClassNotFoundException
- loading failed due to failed serialization