dhowe / RiTaV1

RiTa: the generative language toolkit
http://rednoise.org/rita
GNU General Public License v3.0
354 stars 79 forks source link

RiTa.pluralize() failing cases #523

Open dhowe opened 5 years ago

dhowe commented 5 years ago

RiTa.pluralize("turf") -> "turves", should be "turf" (uncountable) RiTa.pluralize("macaroni") -> "macaronis", should be "macaroni" (uncountable) RiTa.pluralize("spaghetti") -> "spaghettis", should be "spaghetti" (uncountable) RiTa.pluralize("potpourri") -> "potpourris", should be "potpourri" (uncountable) RiTa.pluralize("electrolysis") -> "electrolysis" instead of "electrolyses" (uncountable)

RiTa.pluralize("sheaf") -> "spooves", should be "spoofs" RiTa.pluralize("spoof") -> "spooves", should be "spoofs" RiTa.pluralize("proof") -> "prooves", should be "proofs" RiTa.pluralize("roof") -> "rooves", should be "roofs" (maybe once ok, but now outdated) RiTa.pluralize("disbelief") -> "disbelieves", should be "disbeliefs" RiTa.pluralize("index") -> "indexices", should be "indices" RiTa.pluralize("accomplice") -> "accomplis", should be "accomplices"

Other errors:

anythings privacies biochemistries chemistries pastas anthraxes makeups humidities appreciations gulves nones biancoes harborsides funs limboes sheas traffickings overspendings modesties pastes vertigoes overcrowdings quizes (should be quizzes) servoes (should be servos) saturations smogs dews colloquiums glees

cqx931 commented 5 years ago

Isn't 'turves' correct? turf (countable and uncountable, plural turfs or turves) http://www.dictionary.com/browse/turf?s=t

dhowe commented 5 years ago

I've never heard 'turves'... I think turf should be uncountable

lauralampariello commented 4 years ago

Hello everybody, do you know in which file I can get the code of Rita.pluralize ()? Thank you in advance

dhowe commented 4 years ago

Js: https://github.com/dhowe/RiTaJS/blob/master/src/rita.js#L171 Java: https://github.com/dhowe/RiTa/blob/master/java/rita/support/Pluralizer.java#L27

lauralampariello commented 4 years ago

Thank you so much!