mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 17:52:51 -06:00
templates for German
This commit is contained in:
@@ -4,7 +4,13 @@ mkV2 file = do
|
||||
ls <- readFile file >>= return . lines
|
||||
mapM_ (putStrLn . mkOne) ls
|
||||
|
||||
mkOne li = case words li of
|
||||
--mkOne = mkOneV2
|
||||
|
||||
mkOne = mkOneQuote
|
||||
|
||||
mkOneQuote li = if elem '"' li then "-- " ++ li else li
|
||||
|
||||
mkOneV2 li = case words li of
|
||||
v : e : ws | elem v v2s ->
|
||||
" " ++ unwords (v : e : "dirV2" : ["(" ++ unwords (init ws) ++ ") ;"])
|
||||
_ -> li
|
||||
|
||||
Reference in New Issue
Block a user