mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 15:22:50 -06:00
Renamed removeEmptyCats to bottomUpFilter.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user