mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-29 06:22:51 -06:00
removed some clashes from Dictionary ; corrected the probability of IdRP after elimination of that_RP
This commit is contained in:
@@ -97,7 +97,7 @@ splitFun f = case span (/='_') (reverse f) of (tac,nuf) -> (reverse nuf, reverse
|
||||
------ word statistics
|
||||
|
||||
isUnchecked line = isInfixOf "--" line -- checked = no comments
|
||||
isUnknown line = isInfixOf "variants" line -- known = not variants {}
|
||||
isUnknown line = isInfixOf "{}" line -- known = not variants {}
|
||||
|
||||
statLang lang = do
|
||||
dict <- readFile (gfFile "Dictionary" lang) >>= return . lines
|
||||
|
||||
Reference in New Issue
Block a user