mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
"Committed_by_peb"
This commit is contained in:
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 14:27:10 $
|
-- > CVS $Date: 2005/03/21 22:40:03 $
|
||||||
-- > CVS $Author: bringert $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.11 $
|
-- > CVS $Revision: 1.12 $
|
||||||
--
|
--
|
||||||
-- Handles printing a CFGrammar in CFGM format.
|
-- Handles printing a CFGrammar in CFGM format.
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
@@ -19,12 +19,12 @@ import qualified PrintCFG
|
|||||||
import Ident
|
import Ident
|
||||||
import GFC
|
import GFC
|
||||||
import Modules
|
import Modules
|
||||||
import qualified GF.Conversion.ConvertGrammar as Cnv
|
import qualified GF.Parsing.ConvertGrammar as Cnv
|
||||||
import qualified GF.Printing.PrintParser as Prt
|
import qualified GF.Printing.PrintParser as Prt
|
||||||
import qualified GF.Conversion.CFGrammar as CFGrammar
|
import qualified GF.Parsing.CFGrammar as CFGrammar
|
||||||
import qualified GF.Conversion.GrammarTypes as GT
|
import qualified GF.Parsing.GrammarTypes as GT
|
||||||
import qualified AbsCFG
|
import qualified AbsCFG
|
||||||
import qualified GF.Parsing.Parser as Parser
|
import qualified GF.Parsing.Utilities as Parser
|
||||||
import ErrM
|
import ErrM
|
||||||
import qualified Option
|
import qualified Option
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 13:54:24 $
|
-- > CVS $Date: 2005/03/21 22:40:03 $
|
||||||
-- > CVS $Author: peb $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.39 $
|
-- > CVS $Revision: 1.40 $
|
||||||
--
|
--
|
||||||
-- (Description of the module)
|
-- (Description of the module)
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
@@ -36,7 +36,7 @@ import Arch (ModTime)
|
|||||||
|
|
||||||
-- peb 25/5-04
|
-- peb 25/5-04
|
||||||
-- import CFtoCFG
|
-- import CFtoCFG
|
||||||
import qualified GF.Conversion.ConvertGrammar as Cnv
|
import qualified GF.Parsing.ConvertGrammar as Cnv
|
||||||
|
|
||||||
import List (nub,nubBy)
|
import List (nub,nubBy)
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 22:31:53 $
|
-- > CVS $Date: 2005/03/21 22:44:39 $
|
||||||
-- > CVS $Author: peb $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.1 $
|
-- > CVS $Revision: 1.2 $
|
||||||
--
|
--
|
||||||
-- Converting GFC grammars to MCFG grammars.
|
-- Converting GFC grammars to MCFG grammars.
|
||||||
--
|
--
|
||||||
@@ -39,7 +39,7 @@ import MkGFC (grammar2canon)
|
|||||||
import GF.Parsing.Utilities
|
import GF.Parsing.Utilities
|
||||||
import GF.Parsing.GrammarTypes
|
import GF.Parsing.GrammarTypes
|
||||||
import GF.Parsing.MCFGrammar (Rule(..), Lin(..))
|
import GF.Parsing.MCFGrammar (Rule(..), Lin(..))
|
||||||
import SortedList (nubsort, groupPairs)
|
import GF.Data.SortedList (nubsort, groupPairs)
|
||||||
import Maybe (listToMaybe)
|
import Maybe (listToMaybe)
|
||||||
import List (groupBy, transpose)
|
import List (groupBy, transpose)
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 14:17:44 $
|
-- > CVS $Date: 2005/03/21 22:40:04 $
|
||||||
-- > CVS $Author: peb $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.13 $
|
-- > CVS $Revision: 1.14 $
|
||||||
--
|
--
|
||||||
-- This module prints a CFG as a Nuance GSL 2.0 grammar.
|
-- This module prints a CFG as a Nuance GSL 2.0 grammar.
|
||||||
--
|
--
|
||||||
@@ -19,9 +19,9 @@ module PrGSL (gslPrinter) where
|
|||||||
|
|
||||||
import SRG
|
import SRG
|
||||||
import Ident
|
import Ident
|
||||||
import GF.Conversion.CFGrammar
|
import GF.Parsing.CFGrammar
|
||||||
import GF.Parsing.Parser (Symbol(..))
|
import GF.Parsing.Utilities (Symbol(..))
|
||||||
import GF.Conversion.GrammarTypes
|
import GF.Parsing.GrammarTypes
|
||||||
import GF.Printing.PrintParser
|
import GF.Printing.PrintParser
|
||||||
import Option
|
import Option
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 14:17:44 $
|
-- > CVS $Date: 2005/03/21 22:40:05 $
|
||||||
-- > CVS $Author: peb $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.7 $
|
-- > CVS $Revision: 1.8 $
|
||||||
--
|
--
|
||||||
-- This module prints a CFG as a JSGF grammar.
|
-- This module prints a CFG as a JSGF grammar.
|
||||||
--
|
--
|
||||||
@@ -21,9 +21,9 @@ module PrJSGF (jsgfPrinter) where
|
|||||||
|
|
||||||
import SRG
|
import SRG
|
||||||
import Ident
|
import Ident
|
||||||
import GF.Conversion.CFGrammar
|
import GF.Parsing.CFGrammar
|
||||||
import GF.Parsing.Parser (Symbol(..))
|
import GF.Parsing.Utilities (Symbol(..))
|
||||||
import GF.Conversion.GrammarTypes
|
import GF.Parsing.GrammarTypes
|
||||||
import GF.Printing.PrintParser
|
import GF.Printing.PrintParser
|
||||||
import Option
|
import Option
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 14:17:44 $
|
-- > CVS $Date: 2005/03/21 22:40:06 $
|
||||||
-- > CVS $Author: peb $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.9 $
|
-- > CVS $Revision: 1.10 $
|
||||||
--
|
--
|
||||||
-- Representation of, conversion to, and utilities for
|
-- Representation of, conversion to, and utilities for
|
||||||
-- printing of a general Speech Recognition Grammar.
|
-- printing of a general Speech Recognition Grammar.
|
||||||
@@ -21,9 +21,9 @@
|
|||||||
module SRG where
|
module SRG where
|
||||||
|
|
||||||
import Ident
|
import Ident
|
||||||
import GF.Conversion.CFGrammar
|
import GF.Parsing.CFGrammar
|
||||||
import GF.Parsing.Parser (Symbol(..))
|
import GF.Parsing.Utilities (Symbol(..))
|
||||||
import GF.Conversion.GrammarTypes
|
import GF.Parsing.GrammarTypes
|
||||||
import GF.Printing.PrintParser
|
import GF.Printing.PrintParser
|
||||||
import TransformCFG
|
import TransformCFG
|
||||||
import Option
|
import Option
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 14:17:45 $
|
-- > CVS $Date: 2005/03/21 22:40:06 $
|
||||||
-- > CVS $Author: peb $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.7 $
|
-- > CVS $Revision: 1.8 $
|
||||||
--
|
--
|
||||||
-- This module does some useful transformations on CFGs.
|
-- This module does some useful transformations on CFGs.
|
||||||
--
|
--
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
module TransformCFG (makeNice, CFRule_) where
|
module TransformCFG (makeNice, CFRule_) where
|
||||||
|
|
||||||
import Ident
|
import Ident
|
||||||
import GF.Conversion.CFGrammar
|
import GF.Parsing.CFGrammar
|
||||||
import GF.Parsing.Parser (Symbol(..))
|
import GF.Parsing.Utilities (Symbol(..))
|
||||||
import GF.Conversion.GrammarTypes
|
import GF.Parsing.GrammarTypes
|
||||||
import GF.Printing.PrintParser
|
import GF.Printing.PrintParser
|
||||||
|
|
||||||
import Data.FiniteMap
|
import Data.FiniteMap
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/03/21 14:17:45 $
|
-- > CVS $Date: 2005/03/21 22:40:06 $
|
||||||
-- > CVS $Author: peb $
|
-- > CVS $Author: peb $
|
||||||
-- > CVS $Revision: 1.46 $
|
-- > CVS $Revision: 1.47 $
|
||||||
--
|
--
|
||||||
-- A database for customizable GF shell commands.
|
-- A database for customizable GF shell commands.
|
||||||
--
|
--
|
||||||
@@ -73,7 +73,7 @@ import qualified GF.Parsing.ParseCF as PCF
|
|||||||
|
|
||||||
-- grammar conversions -- peb 19/4-04
|
-- grammar conversions -- peb 19/4-04
|
||||||
-- see also customGrammarPrinter
|
-- see also customGrammarPrinter
|
||||||
import qualified GF.Conversion.ConvertGrammar as Cnv
|
import qualified GF.Parsing.ConvertGrammar as Cnv
|
||||||
import qualified GF.Printing.PrintParser as Prt
|
import qualified GF.Printing.PrintParser as Prt
|
||||||
|
|
||||||
import GFC
|
import GFC
|
||||||
|
|||||||
Reference in New Issue
Block a user