1
0
forked from GitHub/gf-core

bugfix: GeneratePMCFG should initialize the lexicon to empty

This commit is contained in:
krasimir
2010-12-17 09:11:04 +00:00
parent e52f8dda61
commit 2262c105ab

View File

@@ -568,6 +568,7 @@ getConcr flags printnames (GrammarEnv last_id catSet seqSet funSet lindefSet crc
, productions = IntMap.union prodSet coercions
, pproductions = IntMap.empty
, lproductions = Map.empty
, lexicon = IntMap.empty
, cnccats = Map.fromList [(i2i cat,PGF.Data.CncCat start end (mkArray (map (renderStyle style{mode=OneLineMode} . ppPath) (getStrPaths schema))))
| (cat,(start,end,schema)) <- Map.toList catSet]
, totalCats = last_id+1