1
0
forked from GitHub/gf-core

optimization in the parser for large lexicons. Now, the parser is slightly slower for grammars with a small lexicon but 3-4 times faster for the English Resource Grammar used in combination with Oxford Advanced Learners Dictionary

This commit is contained in:
krasimir
2010-12-14 08:46:22 +00:00
parent 5c22ec030c
commit 8a0b3b8ba8
6 changed files with 177 additions and 104 deletions

View File

@@ -68,6 +68,7 @@ instance Binary Concr where
, productions=productions
, pproductions = IntMap.empty
, lproductions = Map.empty
, lexicon = IntMap.empty
, cnccats=cnccats, totalCats=totalCats
})