Use public category with original name as SRGS start cat.
This commit is contained in:
1 parent
a4b0496378
commit
7e8d0e49b2
1 file changed
+1
-1
@@ -47,7 +47,7 @@ prSrgsXml sisr (SRG{grammarName=name,startCat=start,
|
||||
origStartCat=origStart,grammarLanguage=l,rules=rs})
|
||||
= showsXMLDoc xmlGr
|
||||
where
|
||||
root = prCat start
|
||||
root = cfgCatToGFCat origStart
|
||||
xmlGr = grammar root l ([meta "description"
|
||||
("SRGS XML speech recognition grammar for " ++ name
|
||||
++ ". " ++ "Original start category: " ++ origStart),
|
||||
|
||||
Reference in new issue
Block a user