syllable-parser
v1.0.1
Published
A Javascript library that parses Turkish words to syllables.
Downloads
7
Readme
syllable-parser
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
Author
Ender CAN
License
Open sourced under the Apache-2.0 LICENSE.