multilingual-game-words
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Multilingual Game Words

Words for games like taboo/pictionary/charades/catchphrase/etc in many different languages.

Translations come from Wiktionary.

Tiago Tresoldi, "Extracting translation data from the Wiktionary project," in Computer-Assisted Language Comparison in Practice, 11/06/2018, https://calc.hypotheses.org/?p=32.

Installation

npm install --save multilingual-game-words

Usage

async function run() {
  const russianWords = await gameWords('ru');

  console.log(russianWords.getAllWords());
  /*
    [
    { word: 'слова́рь', en: 'dictionary' },
    { word: 'свобо́дный', en: 'free' },
    { word: 'сло́во', en: 'word' },
    { word: 'кни́га', en: 'book' },
    { word: 'пруд', en: 'pond' },
    { word: 'слон', en: 'elephant' },
    { word: 'кори́чневый', en: 'brown' },
    { word: 'ме́сяц', en: 'month' },
    { word: 'су́тки', en: 'day' },
    { word: 'диале́кт', en: 'dialect' },
    ...
    */
}
run();

Categories

  • swadesh: Words from the Swadesh list
  • catchphrase: Words suitable for playing Catchphrase
  • charades: Words suitable for playing Charades
  • household: Things around the house
  • objects: Random objects
  • people: Roles that people have (e.g. doctor, prisoner, astronaut, etc)

Package Sidebar

Install

npm i multilingual-game-words

Weekly Downloads

1

Version

1.2.1

License

ISC

Unpacked Size

9.41 kB

Total Files

6

Last publish

Collaborators

  • peterolson