Skip to content

Python 3 port of German, Dutch, and French singularization and pluralization extracted from CLIPS's Pattern NLP Library in Python 2

Notifications You must be signed in to change notification settings

DrOzturk/Singularize_Pluralize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Singularize_Pluralize Repository

Contains a Python module called grammar. It is a Python 3 port of English, German, Dutch, and French singularization and pluralization extracted from CLIPS's Pattern NLP Library in Python 2.

Usage:

import grammar.dutch as gd

gd.singularize("fietsen") #returns "fiets"
gd.pluralize(("fiets") #returns "fietsen"

Accuracy Levels on Corpora

Dutch Accuracy (measured on CELEX Dutch morphology word forms):

79% for pluralize()
91% for singularize()

Accuracy (measured on CELEX German morphology word forms):

75% for gender()
72% for pluralize()
84% for singularize() (for nominative)

French Accuracy:

92% for pluralize()
93% for singularize()

About

Python 3 port of German, Dutch, and French singularization and pluralization extracted from CLIPS's Pattern NLP Library in Python 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages