summaryrefslogtreecommitdiff
path: root/src/GF/Speech/CFGToFiniteState.hs
diff options
context:
space:
mode:
authorbringert <unknown>2005-11-10 15:43:44 +0000
committerbringert <unknown>2005-11-10 15:43:44 +0000
commit136728e336d66349723f882fcd87a2eb8d42903c (patch)
tree8e01d0e190f6be0585ffcd1f945e651a0c481a4b /src/GF/Speech/CFGToFiniteState.hs
parent5ae8cdc3d08fb1aae74e6da5c647c6c76cb46d15 (diff)
Prepared for generation of finite automata in C.
Diffstat (limited to 'src/GF/Speech/CFGToFiniteState.hs')
-rw-r--r--src/GF/Speech/CFGToFiniteState.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GF/Speech/CFGToFiniteState.hs b/src/GF/Speech/CFGToFiniteState.hs
index 590fd1c6d..5a72f548a 100644
--- a/src/GF/Speech/CFGToFiniteState.hs
+++ b/src/GF/Speech/CFGToFiniteState.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/10/26 17:13:13 $
+-- > CVS $Date: 2005/11/10 16:43:44 $
-- > CVS $Author: bringert $
--- > CVS $Revision: 1.5 $
+-- > CVS $Revision: 1.6 $
--
-- Approximates CFGs with finite state networks.
-----------------------------------------------------------------------------
@@ -28,7 +28,7 @@ import GF.Speech.Relation
import GF.Speech.TransformCFG
cfgToFA :: Ident -- ^ Grammar name
- -> Options -> CGrammar -> NFA String
+ -> Options -> CGrammar -> DFA String
cfgToFA name opts = minimize . compileAutomaton start . makeSimpleRegular
where start = getStartCat opts