1
0
forked from GitHub/gf-core

"Committed_by_peb"

This commit is contained in:
peb
2005-03-21 12:54:24 +00:00
parent f14c9590de
commit b9ebf96579
9 changed files with 59 additions and 57 deletions

View File

@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date: 2005/03/18 10:17:10 $
-- > CVS $Date: 2005/03/21 13:54:44 $
-- > CVS $Author: peb $
-- > CVS $Revision: 1.11 $
-- > CVS $Revision: 1.12 $
--
-- This module prints a CFG as a Nuance GSL 2.0 grammar.
--
@@ -19,10 +19,10 @@ module PrGSL (gslPrinter) where
import SRG
import Ident
import CFGrammar
import Parser (Symbol(..))
import GrammarTypes
import PrintParser
import GF.Conversion.CFGrammar
import GF.Parsing.Parser (Symbol(..))
import GF.Conversion.GrammarTypes
import GF.Parsing.PrintParser
import Option
import Data.Char (toUpper,toLower)

View File

@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date: 2005/03/18 10:17:11 $
-- > CVS $Date: 2005/03/21 13:54:44 $
-- > CVS $Author: peb $
-- > CVS $Revision: 1.5 $
-- > CVS $Revision: 1.6 $
--
-- This module prints a CFG as a JSGF grammar.
--
@@ -21,10 +21,10 @@ module PrJSGF (jsgfPrinter) where
import SRG
import Ident
import CFGrammar
import Parser (Symbol(..))
import GrammarTypes
import PrintParser
import GF.Conversion.CFGrammar
import GF.Parsing.Parser (Symbol(..))
import GF.Conversion.GrammarTypes
import GF.Parsing.PrintParser
import Option
jsgfPrinter :: Ident -- ^ Grammar name

View File

@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date: 2005/03/18 10:17:11 $
-- > CVS $Date: 2005/03/21 13:54:44 $
-- > CVS $Author: peb $
-- > CVS $Revision: 1.7 $
-- > CVS $Revision: 1.8 $
--
-- Representation of, conversion to, and utilities for
-- printing of a general Speech Recognition Grammar.
@@ -21,10 +21,10 @@
module SRG where
import Ident
import CFGrammar
import Parser (Symbol(..))
import GrammarTypes
import PrintParser
import GF.Conversion.CFGrammar
import GF.Parsing.Parser (Symbol(..))
import GF.Conversion.GrammarTypes
import GF.Parsing.PrintParser
import TransformCFG
import Option

View File

@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date: 2005/03/18 10:17:11 $
-- > CVS $Date: 2005/03/21 13:54:44 $
-- > CVS $Author: peb $
-- > CVS $Revision: 1.5 $
-- > CVS $Revision: 1.6 $
--
-- This module does some useful transformations on CFGs.
--
@@ -17,10 +17,10 @@
module TransformCFG (makeNice, CFRule_) where
import Ident
import CFGrammar
import Parser (Symbol(..))
import GrammarTypes
import PrintParser
import GF.Conversion.CFGrammar
import GF.Parsing.Parser (Symbol(..))
import GF.Conversion.GrammarTypes
import GF.Parsing.PrintParser
import Data.FiniteMap
import Data.List