1    gram2sapixml.pl
2
3GRAM2SAPIXML.(1)            General Commands Manual           GRAM2SAPIXML.(1)
4
5
6

NAME

8           gram2sapixml.pl
9          - convert Julius grammar to SAPI XML grammar format
10

SYNOPSIS

12       gram2sapixml.pl [prefix...]
13

DESCRIPTION

15       gram2sapixml.pl converts a recognition grammar file of Julius
16       (.grammar, .voca) to Microsoft SAPI XML grammar format.  prefix should
17       be a file name of target grammar, excluding suffixes. If multiple
18       argument is given, each will be process sequencialy in turn.
19
20       The internal character set should be in UTF-8 format. By default
21       gram2sapixml.pl assume input in EUC-JP encoding and tries to convert it
22       to UTF-8 using iconv. You may want to disable this feature within the
23       script.
24
25       It will fail to convert a left recursive rule in the grammar. When
26       fails, it will leave the source rules in the target .xml file, so you
27       should modify the output manually to solve it.
28

SEE ALSO

30        mkdfa.pl ( 1 )
31

DIAGNOSTICS

33       The conversion procedure is somewhat dumb one, only converting the
34       non-terminal symbols and terminal symbols (=word category name) into
35       corresponding rules one by one. This is only a help tool, and you will
36       need a manual inspection and editing to use it on a real SAPI
37       application.
38
40       Copyright (c) 1991-2013 Kawahara Lab., Kyoto University
41
42       Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan
43
44       Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and
45       Technology
46
47       Copyright (c) 2005-2013 Julius project team, Nagoya Institute of
48       Technology
49

LICENSE

51       The same as Julius.
52
53
54
55                                  12/19/2013                  GRAM2SAPIXML.(1)
Impressum