refactored adjectives in StemFin to get correct tags in tagged/

This commit is contained in:
aarne
2016-09-22 06:33:43 +00:00
parent 9c4cb67da8
commit 58df464c6a
5 changed files with 18 additions and 8 deletions
+4
View File
@@ -49,6 +49,10 @@ oper
oper
SAForm : Type = SNForm ;
SAdj : Type = SNoun ;
SAdjFull = {s : Degree => SAForm => Str ; h : Harmony} ;
sAdjFull2nforms : Degree -> SAdjFull -> NForm => Str = \d,a ->
\\nf => tagWord (adjectiveTag ++ consTag (tagDegree d) (tagNForm nf)) (a.s ! Posit ! 0) ; ---- order diff from UD
snoun2sadj : SNoun -> SAdj = snoun2sadjComp True ;