Skip to content
/ JDuden Public

Get words from duden.de - the German dictionary

License

Notifications You must be signed in to change notification settings

klegul/JDuden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDuden

With this small library you can query duden.de for words. It returns all information about a given word from the website.

Installation

Download the jar file from the release page.

Maven

<dependency>
    <groupId>me.gregyyy.jduden</groupId>
    <artifactId>jduden</artifactId>
    <version>VERSION</version>
</dependency>

Usage

This project can only be used as a libary.

Examples:

Word word = JDuden.getWort("Joghurt");
System.out.println("The word " + word.getWord() + " can be written as " +  word.getAltSpellings() + ".");
Word word = JDuden.getWort("Leben");
System.out.println("The meaning of life is: " + word.getMeanings().get(0));

Tips:

  • JDuden#getWord is case sensitive
  • Some information can be null, when there are not provided by duden.de