JSPM

  • Created
  • Published
  • Downloads 640
  • Score
    100M100P100Q109841F
  • License MIT

List of the most common words in many languages

Package Exports

  • most-common-words-by-language

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (most-common-words-by-language) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

most-common-words-by-language

MIT License Build Status

NPM status

Usage

getWordsList

const { getWordsList } = require('most-common-words-by-language');

getWordsList('french', 200); // returns 200 most common French words
getWordsList('spanish'); // returns 10000 (10000 is the default and max value) most common Spanish words

findWord

const { findWord } = require('most-common-words-by-language');

// returns an object informing about the position of a given word
// in the ranks of the most common words by language (starting from the 1 index)
// the case is ignored
findWord('angeles');
// returns { english: 1788, spanish: 2770 }

Sources

Afrikaans:

Albanian:

Arabic:

Bulgarian:

Bengali:

Catalan:

Chinese:

Czech:

Danish:

Dutch:

English:

Esperanto:

Estonian:

Farsi:

Finnish:

French:

German:

Greek:

Hebrew:

Hindi:

Hungarian:

Italian:

Indonesian:

Japanese:

Kazakh:

Korean:

Lithuanian:

Latvian:

Macedonian:

Norwegian:

Polish:

Portuguese:

Romanian:

Russian:

Slovak:

Slovenian:

Serbian:

Spanish:

Swedish:

Thai:

Turkish:

Ukrainian:

Vietnamese: