@languagevocab/swadesh-lists
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Swadesh Lists

Easily incorporate Swadesh vocabulary lists for each language into your project.

Vocabulary has been copied from the Swadesh lists by language on Wiktionary. Just over 40% of languages listed there have been added to this project so far.

Usage

import {
  getLanguageList,
  getWordDetails,
  getWordProperties,
  Language,
  WordDetails,
  WORD_LIST_SIZE,
} from "@languagevocab/swadesh-lists";

const spanishList = getLanguageList(Language.SPANISH);

const firstJapaneseWordDetails = getWordDetails(Language.JAPANESE, 0);

const lastFrenchWordDetails = getWordDetails(
  Language.FRENCH,
  WORD_LIST_SIZE - 1
);

Package Sidebar

Install

npm i @languagevocab/swadesh-lists

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.85 MB

Total Files

210

Last publish

Collaborators

  • dcs77