From 136728e336d66349723f882fcd87a2eb8d42903c Mon Sep 17 00:00:00 2001 From: bringert Date: Thu, 10 Nov 2005 15:43:44 +0000 Subject: Prepared for generation of finite automata in C. --- src/GF/Speech/CFGToFiniteState.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/GF/Speech/CFGToFiniteState.hs') 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 -- cgit v1.2.3