radomirbosak / duden

CLI for http://duden.de dictionary written in Python
MIT License
100 stars 18 forks source link

Add `grammar_overview` attribute #168

Closed radomirbosak closed 2 years ago

radomirbosak commented 2 years ago

grammar_overview attribute

New attribute grammar_overview was added

$ duden Barmherzigkeit --grammar-overview
die Barmherzigkeit; Genitiv: der Barmherzigkeit
> import duden
> w = duden.get("Barmherzigkeit")
> w.grammar_overview
'die Barmherzigkeit; Genitiv: der Barmherzigkeit'

origin attribute