Skip to content

Convert singular word to plural, according to french grammar rules

License

Notifications You must be signed in to change notification settings

yaal-coop/pluralizefr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

French Pluralize

Convert a singular word into plural according french grammar rules. Plural to singular is available too (but some special cases are probably missing).

Usable as Jinja2 filter.

Licence

BSD license (see LICENCE file)

Features

  1. Python code example:
import pluralizefr
pluralizefr.pluralize("fromage") # return fromages
pluralizefr.singularize("fromages") # return fromage
  1. Jinja2 exemple:
{{ 'fromage' | pluralize }}

Installation

https://pypi.org/project/pluralizefr/

About

Convert singular word to plural, according to french grammar rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.9%
  • Makefile 5.1%