1.0.4 • Published 9 months ago
@tenkus47/tibetan-segmentor v1.0.4
��# JS Library to get segmented-tibetan-text
- HOW TO USE
Installation
yarn add @tenkus47/tibetan-segmentor --save
or
npm install @tenkus47/tibetan-segmentor --save
const { split, segmentTibetanText } = require("@tenkus47/tibetan-segmentor");
let testData = ""; //the text you want to segment
console.log(split(testData));
the output should be similar to :
[
{ char: "f��", start: 0 },
{ char: "Vf��tb", start: 4 },
{ char: "Xb", start: 11 },
{ char: "T", start: 14 },
]; //etc
feel free to send PR!
owner : tenzin kunsang