Skip to content

German words library in JSON with either 5,000 words or 1,600,000 words

License

Notifications You must be signed in to change notification settings

Jonny-exe/German-Words-Library

Repository files navigation

German-Words-Library in JSON

This is a collection of 2 German word lists. One 1.6 million words long. The other 5,000 words long.

Das ist eine Deutsche Wörter Sammlung in JSON Format.

Features

  • JSON format
  • original spelling including uppercase and lowercase
  • original spelling including letters liket ä, ö, ü, ß, ect.
  • Two sizes: 1,6M and 5K.
  • The 5000 words have been selected randomly
  • Both lists are alphabetically sorted

Files

["Abbaumaschinen",
"Abbauorte",
"Abbausituationen",
"Abendwache",
"Abfallens",
"Abfalltasche",
...
"übersäten",
"überzeugend",
"üblicheres"]

Original source

Example usage in JavaScript

var getJSON = function(url, callback) {
  var xhr = new XMLHttpRequest();
  xhr.open('GET', url, true);
  xhr.responseType = 'json';
  xhr.onload = function() {
    var status = xhr.status;
    if (status === 200) {
      callback(null, xhr.response);
    } else {
      callback(status, xhr.response);
    }
  };
  xhr.send();
};

getJSON('https://raw.githubusercontent.com/Jonny-exe/German-Words-Library/master/German-words-5000-words.json',
    function(err, data) {  
      if (err !== null) {
        alert('Something went wrong: ' + err);
      } else {
        // Data is the JS array
      }
    }
  );

Enjoy

  • Fork
  • or use directly from Github (e.g. https://raw.githubusercontent.com/Jonny-exe/German-Words-Library/master/German-words-5000-words.json)
  • and if you like it or use it, please give me a ⭐ on Github

About

German words library in JSON with either 5,000 words or 1,600,000 words

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published