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.

Source Distribution

gender-determinator-0.2.1.tar.gz (121.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page