Skip to main content

Determines the gender of german nouns and provides some convenient methods

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gender-determinator, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size gender-determinator-0.2.1.tar.gz (121.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page