Skip to content

Determines the gender of german nouns and provides some convenient methods

License

Notifications You must be signed in to change notification settings

Alpha200/gender-determinator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gender Determinator

Determines the gender of german nouns and provides some convenient methods.

Usage

from genderdeterminator import GenderDeterminator, Case

gd = GenderDeterminator()

print(gd.get_gender("Garten"))           # prints "m"
print(gd.get("Garten", Case.NOMINATIVE)) # prints "der Garten" 

Gender determinator uses the eng-deu dictionary by FreeDict to determine the genders.

About

Determines the gender of german nouns and provides some convenient methods

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages