Supported Languages¶
Built-in languages¶
Each language has its own rules module in pluralio/rules/ and is
registered automatically when you import pluralio.
Language |
Code |
Regex rules (P+S) |
Irregulars |
Uncountables |
Status |
|---|---|---|---|---|---|
English |
|
7 + 22 |
684 |
219 |
Complete |
Spanish |
|
9 + 8 |
352 + 81 |
92 |
Complete |
Portuguese |
|
8 + 13 |
388 + 88 |
88 |
Complete |
French |
|
6 + 4 |
104 + 27 |
81 |
Complete |
Italian |
|
19 + 12 |
239 |
144 |
Complete |
Esperanto |
|
4 + 2 |
0 |
33 |
Complete |
Language-specific notes¶
English (en)¶
684 irregulars covering Latin/Greek plurals, compound words, and special cases.
Regex rules handle
-s,-es,-ies,-ves,-oes,-oes, and classical plurals (-i,-a,-ae,-ina).219 uncountables including mass nouns, non-noun words, and invariable terms.
Spanish (es)¶
Accent restoration: singulars that lose an accent in the plural are handled via irregular mappings (e.g.
joven→jóvenes).81 extra singular-only entries for accent restoration that cannot be derived from regex rules.
92 uncountables.
Portuguese (pt)¶
88 extra singular-only entries for accent restoration.
Hyphenated compound handling for verb+noun constructions (
quebra-mar→quebra-mares).
French (fr)¶
Both segments of hyphenated compounds are pluralized, skipping function words (articles, prepositions).
-al→-aux,-ail→-aux,-euil→-euils.
Italian (it)¶
Gender-aware pluralization:
-o→-i,-a→-e,-e→-i,-ca→-che,-ga→-ghe.Hyphenated compounds pluralize all noun segments.
Esperanto (eo)¶
Simplest pluralization system:
-jsuffix for nominative plural,-jnfor accusative plural.Zero irregulars — the language is perfectly regular by design.
33 uncountables: pronouns, correlatives, and particles.
Roadmap¶
Version |
Goal |
Status |
|---|---|---|
|
Catalan ( |
Planned |
|
Dutch ( |
Planned |
|
German ( |
Planned |