Skip to content

endrcn/syllable-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syllable-parser

NPM version

It is a Javascript library that parses Turkish words to syllables.

Installation

npm install --save syllable-parser

Usage

const SyllableParser = require("syllable-parser");
const syllableParser = new SyllableParser("TR");
console.log(syllableParser.parse("selam"));
// Output: ["se","lam"]

You can extract number of syllables.

const SyllableParser = require("syllable-parser");
const syllableParser = new SyllableParser("TR");
console.log(syllableParser.getSyllableCount("selam"));
// Output: 2

Unit Test Status

Total: 15

15 success

100%

Author

Ender CAN

License

Open sourced under the Apache-2.0 LICENSE.

About

A Javascript library that parses Turkish words to syllables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published