Skip to content

A list of words in Sinhalese language. Suitable for spell checkers and dictionaries

License

Notifications You must be signed in to change notification settings

akuru/Sinhala-Words-List

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinhala Words List

A list of words in Sinhalese language, sorted by alphabetical order. Contains ~25,000 words.

Format

The list of words is trimmed, and stored in a flat text file si.txt. Each word is separate by a new line character \n.

An additional package.json is provided to ease updating the list.

Installation

npm install --save sinhala-words

Usage

For Node-based projects, you can use this words list by splitting the list of words by \n new line character.

const fs = require('fs');

// Get path to the words list.
onst sinhala_words_path= require('word-list');

const sinhala_words= fs.readFileSync(sinhala_words_path, 'utf8').split('\n');
// ['අභිචෝදකයා', 'අංකනය', 'අංකන', ...]

About

A list of words in Sinhalese language. Suitable for spell checkers and dictionaries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%