Versatile German command line conjugator
Project description
Console Conjugator
About
Hallo und guten Tag!
Have you ever had trouble conjguating your verbs? Forgot "machen" in present-perfect, or maybe "tun" for the pronoun "ihr"? This project may be useful to you! We can help you conjugate almost all of the german standard verbs.
As of now, the following tenses are supported:
- Future (Zukunft)
- present (Präsens)
- present-perfect (Perfekt)
- simple-past (Präteritum)
- past-perfect (Plusquamperfekt)
Install with pip
On Linux:
$ pip3 install console-conjugator
or Windows:
> pip install console-conjugator
Pypi package is being remade, manually install like so:
wget https://raw.githubusercontent.com/Konjugators/console-conjugator/main/install
chmod +x
./install
Usage
After installation, you can use the cli interface in Linux:
$ konjugier machen er present
er macht
or Windows:
> konjugier tun er present-perfect
er tut
You can also use the conjugation module in scripts:
from Deutschconjugation import conjugator
# Follows format verb-pronoun-tense
conjugator.conjugate("spielen", "er", "present-perfect")
>>> hat gespielt
This formats a*, o*, u*, and s* as ä, ö, ü, ß. This is may be useful for those lacking a German keyboard layout.
from Deutschconjugation import conjugator
conjugator.format("heis*en")
>>> heißen
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
console-conjugator-0.1.1.tar.gz
(861.5 kB
view hashes)
Built Distribution
Close
Hashes for console_conjugator-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b399b3e02cc30102347645fbec899104979c3c428424704bb058ce33970cd3 |
|
MD5 | 3e35214e175353568ad16bfb3a21ed05 |
|
BLAKE2b-256 | 5f757c5b0d3bf4c0f2abc6a6e28bd830f5c76ecee9c671f11562b30cca9082fa |