diff options
| author | bringert <bringert@cs.chalmers.se> | 2007-06-21 13:40:13 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2007-06-21 13:40:13 +0000 |
| commit | 16bfb1250b0bc97d3b1786585c80bcb3d969e874 (patch) | |
| tree | 5839d1c2143b86f34cd31577cccd8c367ac350d9 /src/GF/Speech/CFGToFiniteState.hs | |
| parent | 336273c5344a22f225e54d36b874c6307127b281 (diff) | |
Added makeSRG.
Diffstat (limited to 'src/GF/Speech/CFGToFiniteState.hs')
| -rw-r--r-- | src/GF/Speech/CFGToFiniteState.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Speech/CFGToFiniteState.hs b/src/GF/Speech/CFGToFiniteState.hs index 692d12a67..efc4c562e 100644 --- a/src/GF/Speech/CFGToFiniteState.hs +++ b/src/GF/Speech/CFGToFiniteState.hs @@ -63,7 +63,7 @@ cfgToFA opts s = minimize $ compileAutomaton start $ makeSimpleRegular opts s where start = getStartCatCF opts s makeSimpleRegular :: Options -> StateGrammar -> CFRules -makeSimpleRegular opts s = makeRegular $ preprocess $ cfgToCFRules s +makeSimpleRegular opts s = makeRegular $ cfgToCFRules s where start = getStartCatCF opts s preprocess = fix (topDownFilter start . bottomUpFilter) . removeCycles |
