forked from GitHub/gf-rgl
(Som) minor cleanup/whitespace removal
This commit is contained in:
@@ -56,15 +56,15 @@ concrete NounSom of Noun = CatSom ** open ResSom, Prelude in {
|
|||||||
UsePron pron = pron ** {st = Definite} ;
|
UsePron pron = pron ** {st = Definite} ;
|
||||||
|
|
||||||
-- : Predet -> NP -> NP ; -- only the man
|
-- : Predet -> NP -> NP ; -- only the man
|
||||||
PredetNP predet np =
|
PredetNP predet np =
|
||||||
let qnt = PossPron (pronTable ! np.a) ;
|
let qnt = PossPron (pronTable ! np.a) ;
|
||||||
det = qnt.shortPoss ! predet.da ;
|
det = qnt.shortPoss ! predet.da ;
|
||||||
predetS : Str = case predet.isPoss of {
|
predetS : Str = case predet.isPoss of {
|
||||||
True => glue predet.s det ;
|
True => glue predet.s det ;
|
||||||
False => predet.s
|
False => predet.s
|
||||||
} ;
|
} ;
|
||||||
in np ** {
|
in np ** {
|
||||||
s = \\c =>
|
s = \\c =>
|
||||||
case <np.isPron,predet.isPoss> of {
|
case <np.isPron,predet.isPoss> of {
|
||||||
<True,True> => np.empty ++ predetS ;
|
<True,True> => np.empty ++ predetS ;
|
||||||
_ => np.s ! c ++ predetS} ;
|
_ => np.s ! c ++ predetS} ;
|
||||||
|
|||||||
@@ -46,12 +46,16 @@ oper
|
|||||||
magacya + "da" => magacya ;
|
magacya + "da" => magacya ;
|
||||||
wiila + "sha" => wiila ;
|
wiila + "sha" => wiila ;
|
||||||
_ => wiilal} ;
|
_ => wiilal} ;
|
||||||
bisadi : Str = case gender of
|
bisadi : Str = case gender of {
|
||||||
{ Fem => case wiil of { _ + #c => wiil+"i" ; _ => wiil} ;
|
Fem => case wiil of {
|
||||||
Masc => wiil } ;
|
_ + #c => wiil+"i" ;
|
||||||
bisadood : Str = case gender of
|
_ => wiil } ;
|
||||||
{ Fem => case wiilal of {_ + "o" => wiilal+"od" ; _ => wiil} ;
|
Masc => wiil } ;
|
||||||
Masc => wiil }
|
bisadood : Str = case gender of {
|
||||||
|
Fem => case wiilal of {
|
||||||
|
_ + "o" => wiilal+"od" ;
|
||||||
|
_ => wiil } ;
|
||||||
|
Masc => wiil }
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user