summaryrefslogtreecommitdiff
path: root/src/GF/Speech/CFGToFiniteState.hs
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2007-06-27 17:46:34 +0000
committerbringert <bringert@cs.chalmers.se>2007-06-27 17:46:34 +0000
commitaf45f33d51298f5b9ce60b4b8786c326eb4601b1 (patch)
treee553b363d6632772fbaa0da7bc897981f9a6b298 /src/GF/Speech/CFGToFiniteState.hs
parentaf36dcf13d310c6acf256c21a18fa4cb1f7062f1 (diff)
bottom-up and top-down filtering do not need fix point iteration.
Diffstat (limited to 'src/GF/Speech/CFGToFiniteState.hs')
-rw-r--r--src/GF/Speech/CFGToFiniteState.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Speech/CFGToFiniteState.hs b/src/GF/Speech/CFGToFiniteState.hs
index df4346d20..7e6f80ba1 100644
--- a/src/GF/Speech/CFGToFiniteState.hs
+++ b/src/GF/Speech/CFGToFiniteState.hs
@@ -64,7 +64,7 @@ cfgToFA opts s = minimize $ compileAutomaton start $ makeSimpleRegular opts s
makeSimpleRegular :: Options -> StateGrammar -> CFRules
makeSimpleRegular opts s = makeRegular $ preprocess $ cfgToCFRules s
where start = getStartCatCF opts s
- preprocess = fix (topDownFilter start . bottomUpFilter)
+ preprocess = topDownFilter start . bottomUpFilter
. removeCycles