|
gram2sapixml.pl
NAMEgram2sapixml.pl - convert Julius grammar to SAPI XML grammar formatSYNOPSISgram2sapixml.pl [prefix...] DESCRIPTIONgram2sapixml.pl converts a recognition grammar file of Julius (.grammar, .voca) to Microsoft SAPI XML grammar format. prefix should be a file name of target grammar, excluding suffixes. If multiple argument is given, each will be process sequencialy in turn.The internal character set should be in UTF-8 format. By default gram2sapixml.pl assume input in EUC-JP encoding and tries to convert it to UTF-8 using iconv. You may want to disable this feature within the script. It will fail to convert a left recursive rule in the grammar. When fails, it will leave the source rules in the target .xml file, so you should modify the output manually to solve it. SEE ALSOmkdfa.pl ( 1 )DIAGNOSTICSThe conversion procedure is somewhat dumb one, only converting the non-terminal symbols and terminal symbols (=word category name) into corresponding rules one by one. This is only a help tool, and you will need a manual inspection and editing to use it on a real SAPI application.COPYRIGHTCopyright (c) 1997-2000 Information-technology Promotion Agency, JapanCopyright (c) 1991-2008 Kawahara Lab., Kyoto University Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology Copyright (c) 2005-2008 Julius project team, Nagoya Institute of Technology LICENSEThe same as Julius.
Visit the GSP FreeBSD Man Page Interface. |