mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 11:15:27 -07:00
simplified the treatment of politeness in Phrasebook
This commit is contained in:
1 parent
de909a4e44
commit
5cb147fa19
24 files changed
+157
-183
No files matched your search
@@ -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