mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
Generalized Speech Recognition Grammar generation. Added JSGF grammar printer.
This commit is contained in:
@@ -28,6 +28,7 @@ import PrOld
|
||||
import MkGFC
|
||||
import CFtoSRG
|
||||
import PrGSL (gslPrinter)
|
||||
import PrJSGF (jsgfPrinter)
|
||||
|
||||
import Zipper
|
||||
|
||||
@@ -194,6 +195,9 @@ customGrammarPrinter =
|
||||
,(strCI "gsl", \s -> let opts = stateOptions s
|
||||
name = cncId s
|
||||
in gslPrinter name opts $ Cnv.cfg $ statePInfo s)
|
||||
,(strCI "jsgf", \s -> let opts = stateOptions s
|
||||
name = cncId s
|
||||
in jsgfPrinter name opts $ Cnv.cfg $ statePInfo s)
|
||||
,(strCI "plbnf", prLBNF True)
|
||||
,(strCI "lbnf", prLBNF False)
|
||||
,(strCI "bnf", prBNF False)
|
||||
|
||||
Reference in New Issue
Block a user