1
0
forked from GitHub/gf-rgl

(Por) improve adjective smart paradigms

- make it about guessing feminine form from the lemma (masculine form)
- this way one can reuse the noun paradigm in the adjective paradigms,
  simplifying it and improving it at the same time
- add cases for 'mente'
obs: works but doesn't compile?
This commit is contained in:
odanoburu
2019-01-09 12:00:32 -02:00
parent 01ad6e0876
commit 167e80df97
4 changed files with 64 additions and 87 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ concrete NumeralPor of Numeral = CatPor [Numeral,Digits] **
regCard vigesimo = case vigesimo of {
-- to handle milhão case (in ParseExtend module)
milh + "ão" => \g, n -> genNumForms vigesimo vigesimo (milh + "ões") vigesimo ! g ! n;
_ => pronForms (adjPreto vigesimo)
_ => pronForms (mkAdjReg vigesimo)
} ;
spl : (CardOrd => Str) -> {s : CardOrd => Str ; n : Number} = \s -> {