mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
case endings in Fin symbols: Nom is a special case, since there is no ending
This commit is contained in:
@@ -966,5 +966,13 @@ oper
|
|||||||
Abess => "tta"
|
Abess => "tta"
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
bindIf : Case -> Str = \c -> case c of {
|
||||||
|
Nom => [] ;
|
||||||
|
_ => BIND
|
||||||
|
} ;
|
||||||
|
bindColonIf : Case -> Str = \c -> case c of {
|
||||||
|
Nom => [] ;
|
||||||
|
_ => BIND ++ ":" ++ BIND
|
||||||
|
} ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
concrete SymbolFin of Symbol = CatFin ** open Prelude, NounFin, ResFin, MorphoFin in {
|
concrete SymbolFin of Symbol = CatFin ** open Prelude, NounFin, ResFin, MorphoFin in {
|
||||||
|
|
||||||
lin
|
lin
|
||||||
SymbPN i = {s = \\c => i.s ++ BIND ++ defaultCaseEnding c} ; --- c
|
SymbPN i = {s = \\c => i.s ++ bindIf c ++ defaultCaseEnding c} ; --- c
|
||||||
IntPN i = {s = \\c => i.s ++ BIND ++ ":" ++ BIND ++ defaultCaseEnding c} ; --- c
|
IntPN i = {s = \\c => i.s ++ bindColonIf c ++ defaultCaseEnding c} ; --- c
|
||||||
FloatPN i = {s = \\c => i.s ++ BIND ++ ":" ++ BIND ++ defaultCaseEnding c} ; --- c
|
FloatPN i = {s = \\c => i.s ++ bindColonIf c ++ defaultCaseEnding c} ; --- c
|
||||||
NumPN i = {s = \\c => i.s!Sg!Nom } ; --- c
|
NumPN i = {s = \\c => i.s!Sg!Nom } ; --- c
|
||||||
|
|
||||||
CNIntNP cn i = {
|
CNIntNP cn i = {
|
||||||
|
|||||||
Reference in New Issue
Block a user