mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-18 01:09:32 -06:00
simplified the treatment of politeness in Phrasebook
This commit is contained in:
@@ -157,7 +157,7 @@ doTranslateGroup pgf input mcat mfrom mto =
|
||||
disamb lg from t =
|
||||
if lg < 2
|
||||
then []
|
||||
else [("tree", "-- " ++ doText (doBind PGF.linearize pgf (disambLang from)) t)]
|
||||
else [("tree", "-- " ++ doText (doBind (PGF.linearize pgf (disambLang from) t)))]
|
||||
|
||||
disambLang f = maybe f id $ PGF.readLanguage $ "Disamb" ++ PGF.showLanguage f
|
||||
notDisamb = (/="Disamb") . take 6 . PGF.showLanguage
|
||||
|
||||
Reference in New Issue
Block a user