Skip to content

German declension driller — Generates random noun phrase elements and shows you their correct declension.

Notifications You must be signed in to change notification settings

Ntsekees/german-declension-driller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

German declension driller

Purpose

This program (gdd.py) repeatedly shows you random German noun phrase elements to be inflected properly to the specified grammatical case (NOM = Nominative, ACC = Acusative, DAT = Dative, GEN = Genitive) and number (SG = Singular, PL = Plural), and then waits for you to find the correct declension, and then (after you click Enter) shows you the answer. Entering q and then Enter ends the loop and the program terminates.

This program can be used to memorize the correct declensions of German determiners, adjectives and nouns.

The lists of determiners, adjectives and nouns used by the program are hard-coded in the gdd.py script. You can add new vocabulary items to those lists if you desire so.

How to run this program

You need Python 3 to run this program.

python3 gdd.py

Output example

<< NOM.PL: der + klein + Haus

>> Die kleinen Häuser

<< NOM.SG: sein- + beste + Pfote

>> Seine beste Pfote

<< DAT.PL: euer- + letzte + Pfote

>> Eueren letzten Pfoten

<< ACC.SG: kein- + schnell + Vogel

>> Keinen schnellen Vogel

<< ACC.PL: der + kurz + Student

>> Die kurzen Studenten

<< ACC.PL: dein- + klein + Buch

>> Deine kleinen Bücher

<< NOM.PL: manch- + grün + Schmetterling

>> Manche grünen Schmetterlinge

<< GEN.SG: mein- + schön + Schmetterling

>> Meines schönen Schmetterlings

<< NOM.SG: dein- + bestimmt + Schlange

>> Deine bestimmte Schlange

<< NOM.PL: kein- + weiß + Wildschwein

>> Keine weißen Wildschweine

<< DAT.PL: ihr- + jung + Fuß

>> Ihren jungen Füßen

<< NOM.PL: jen- + klein + Baum

>> Jene kleinen Bäume

About

German declension driller — Generates random noun phrase elements and shows you their correct declension.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages