public static void main(params string[] args) { JAXBContext jaxbcontext = JAXBContext.newInstance(new Class[] { ClassLiteral <SequiturImport.FSA> .Value }); Unmarshaller unmarshaller = jaxbcontext.createUnmarshaller(); Unmarshaller unmarshaller2 = unmarshaller; SequiturImport.FSA fsa = (SequiturImport.FSA)unmarshaller2.unmarshal(new File(args[0])); Fst fst = fsa.toFst(); fst.saveModel(args[1]); [email protected](new StringBuilder().append("The Sequitur G2P XML-formatted FST ").append(args[0]).append(" has been converted to Sphinx' OpenFst binary format in the file ").append(args[1]).toString()); }
internal SequiturImport_FSA_1(SequiturImport.FSA fsa) { this.this_0 = fsa; }