summaryrefslogtreecommitdiff
path: root/src/GF
diff options
context:
space:
mode:
authorbringert <unknown>2005-02-22 12:35:19 +0000
committerbringert <unknown>2005-02-22 12:35:19 +0000
commit0137dd5511a83ea4672619ad3dc22fe7c51ab4bf (patch)
tree5601babd638dfcc778e1e0c27343f5d405198094 /src/GF
parentfd08b83a6a137e1b46012d157a9b6f9e36a26182 (diff)
Added export list to TransformCFG and removed obsolete headers from other speech files.
Diffstat (limited to 'src/GF')
-rw-r--r--src/GF/Speech/PrJSGF.hs22
-rw-r--r--src/GF/Speech/SRG.hs24
-rw-r--r--src/GF/Speech/TransformCFG.hs25
3 files changed, 10 insertions, 61 deletions
diff --git a/src/GF/Speech/PrJSGF.hs b/src/GF/Speech/PrJSGF.hs
index 86aa8311c..6f2b51988 100644
--- a/src/GF/Speech/PrJSGF.hs
+++ b/src/GF/Speech/PrJSGF.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/02/18 19:21:21 $
--- > CVS $Author: peb $
--- > CVS $Revision: 1.3 $
+-- > CVS $Date: 2005/02/22 13:35:19 $
+-- > CVS $Author: bringert $
+-- > CVS $Revision: 1.4 $
--
-- This module prints a CFG as a JSGF grammar.
--
@@ -17,22 +17,6 @@
-- FIXME: convert to UTF-8
-----------------------------------------------------------------------------
-{-
- **************************************************************
- GF Module
-
- Description : This module prints a CFG as a JSGF grammar.
-
- Author : Björn Bringert (bringert@cs.chalmers.se)
-
- License : GPL (GNU General Public License)
-
- Created : October 1, 2004
-
- Modified :
- **************************************************************
--}
-
module PrJSGF (jsgfPrinter) where
import SRG
diff --git a/src/GF/Speech/SRG.hs b/src/GF/Speech/SRG.hs
index ca91a4139..5b8f196da 100644
--- a/src/GF/Speech/SRG.hs
+++ b/src/GF/Speech/SRG.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/02/18 19:21:21 $
--- > CVS $Author: peb $
--- > CVS $Revision: 1.4 $
+-- > CVS $Date: 2005/02/22 13:35:19 $
+-- > CVS $Author: bringert $
+-- > CVS $Revision: 1.5 $
--
-- Representation of, conversion to, and utilities for
-- printing of a general Speech Recognition Grammar.
@@ -18,24 +18,6 @@
-- FIXME: figure out name prefix from grammar name
-----------------------------------------------------------------------------
-{-
- **************************************************************
- GF Module
-
- Description : Representation of, conversion to, and
- utilities for printing of a
- general Speech Recognition Grammar.
-
- Author : Björn Bringert (bringert@cs.chalmers.se)
-
- License : GPL (GNU General Public License)
-
- Created : October 1, 2004
-
- Modified :
- **************************************************************
--}
-
module SRG where
import Ident
diff --git a/src/GF/Speech/TransformCFG.hs b/src/GF/Speech/TransformCFG.hs
index b61b3aa67..870325b9e 100644
--- a/src/GF/Speech/TransformCFG.hs
+++ b/src/GF/Speech/TransformCFG.hs
@@ -5,33 +5,16 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/02/18 19:21:21 $
--- > CVS $Author: peb $
--- > CVS $Revision: 1.3 $
+-- > CVS $Date: 2005/02/22 13:35:19 $
+-- > CVS $Author: bringert $
+-- > CVS $Revision: 1.4 $
--
-- This module does some useful transformations on CFGs.
--
-- FIXME: remove cycles
-----------------------------------------------------------------------------
-{-
- **************************************************************
- GF Module
-
- Description : This module does some useful transformations
- on CFGs.
-
- Author : Björn Bringert (bringert@cs.chalmers.se)
-
- License : GPL (GNU General Public License)
-
- Created : September 13, 2004
-
- Modified :
- **************************************************************
--}
-
-module TransformCFG where
+module TransformCFG (makeNice, CFRule_) where
import Ident
import CFGrammar