1
0
forked from GitHub/gf-rgl

fix when inflecting multi-token strings ending in y

See mail on gf-dev 2018-01-15
This commit is contained in:
John J. Camilleri
2018-01-22 22:34:57 +01:00
parent 9744939e45
commit bb2e740872

View File

@@ -373,7 +373,7 @@ mkInterj : Str -> Interj
_ + ("io" | "oo") => w + "s" ; -- radio, bamboo
_ + ("s" | "z" | "x" | "sh" | "ch" | "o") => w + "es" ; -- bus, hero
_ + ("a" | "o" | "u" | "e") + "y" => w + "s" ; -- boy
x + "y" => x + "ies" ; -- fly
_ + "y" => init w + "ies" ; -- fly
_ => w + "s" -- car
} ;