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 details)

Uploaded Source

File details

Details for the file gender-determinator-0.2.1.tar.gz.

File metadata

  • Download URL: gender-determinator-0.2.1.tar.gz
  • Upload date:
  • Size: 121.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for gender-determinator-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f11248239552602d3cccc5d4301d1b997f9bce3ab795a0ea2e0991f00f58f90a
MD5 41d95c10938c4d8b929cd4072dbd5dfe
BLAKE2b-256 b0429dc26fb9dae1c5349cf24cefd8276cce80fecfca6786f6afcedd6fdf0d67

See more details on using hashes here.

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