summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Speech/CFGToFA.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-03-21 21:25:05 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-03-21 21:25:05 +0000
commit51a9ef72c7e32f06d2413a5aea5751df2780063b (patch)
treedc7a0626ade80e5d5c621d9eb381ebaf8d15f50c /src/compiler/GF/Speech/CFGToFA.hs
parentd816c34986d3ecb4624d7638e290adddc941b38d (diff)
refactor the compilation of CFG and EBNF grammars. Now they are parsed by using GF.Grammar.Parser just like the ordinary GF grammars. Furthermore now GF.Speech.CFG is moved to GF.Grammar.CFG. The new module is used by both the speech conversion utils and by the compiler for CFG grammars. The parser for CFG now consumes a lot less memory and can be used with grammars with more than 4 000 000 productions.
Diffstat (limited to 'src/compiler/GF/Speech/CFGToFA.hs')
-rw-r--r--src/compiler/GF/Speech/CFGToFA.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Speech/CFGToFA.hs b/src/compiler/GF/Speech/CFGToFA.hs
index 4f5e3621e..330c763e5 100644
--- a/src/compiler/GF/Speech/CFGToFA.hs
+++ b/src/compiler/GF/Speech/CFGToFA.hs
@@ -17,7 +17,7 @@ import qualified Data.Set as Set
--import PGF.CId
import PGF.Data
import GF.Data.Utilities
-import GF.Speech.CFG
+import GF.Grammar.CFG
--import GF.Speech.PGFToCFG
--import GF.Infra.Ident (Ident)