diff options
| author | bringert <bringert@cs.chalmers.se> | 2007-03-20 21:15:59 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2007-03-20 21:15:59 +0000 |
| commit | a8d356d59913f0ac32b1066fadca0fb674d79385 (patch) | |
| tree | d5e868911cab2086694c304068f00f6515ed4a52 /src/GF/Speech/CFGToFiniteState.hs | |
| parent | fbe8282027629e93df2121523074f85ed048d1bb (diff) | |
Renamed removeEmptyCats to bottomUpFilter.
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 e1ee48610..872de48d0 100644 --- a/src/GF/Speech/CFGToFiniteState.hs +++ b/src/GF/Speech/CFGToFiniteState.hs @@ -63,7 +63,7 @@ cfgToFA opts s = minimize $ compileAutomaton start $ makeSimpleRegular s where start = getStartCatCF opts s makeSimpleRegular :: StateGrammar -> CFRules -makeSimpleRegular = makeRegular . removeIdenticalRules . removeEmptyCats . cfgToCFRules +makeSimpleRegular = makeRegular . removeIdenticalRules . bottomUpFilter . cfgToCFRules -- -- * Approximate context-free grammars with regular grammars. |
