mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 15:22:50 -06:00
prepositional verbs bootstrapped for DictionaryFin
This commit is contained in:
@@ -31,7 +31,7 @@ advV s = "advV " ++ s
|
||||
v2V v = "(lin V " ++ v ++ "_V2) "
|
||||
|
||||
|
||||
getPrepsAdvs lang = do
|
||||
mkPrepVerbDict lang = do
|
||||
rs <- readFile ("Dictionary" ++ lang ++ ".gf") >>= return . lines
|
||||
let dict = M.fromList [(f,unwords r) | "lin":f:"=":r <- map words rs]
|
||||
let look x = maybe ("","variants {} ;") (\r -> ("--DD ",r)) (M.lookup x dict)
|
||||
|
||||
Reference in New Issue
Block a user