Skip to content

Convert singular word to plural, according to french grammar rules

License

Notifications You must be signed in to change notification settings

sblondon/pluralizefr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 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

The package is available at: https://pypi.org/project/pluralizefr/

Install it with:

pip install 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

Contributors 4

  •  
  •  
  •  
  •