0.4.3 • Published 7 years ago

laonetics v0.4.3

Weekly downloads
1
License
CC-BY-NC-4.0
Repository
-
Last release
7 years ago

Laonetics

Laonetics is a Typescript/Javascript component to convert lao chars in english/french phonetic forms, aka karaoke.

Install: npm install --save laonetics

Use with Typescript:

import { LaoneticsTranslater, ISlicedSyllables } from 'laonetics';
const translater = new LaoneticsTranslater();
// exemple with rabbit word in lao: "ກະຕ່າຍ"
let slicedSyllables: ISlicedSyllables = translater.getKaraoke('ກະຕ່າຍ', ['fr', 'en', 'ph']);
/*
'slicedSyllables' now contains an Object with the typescript interface {
	lao: Array<string>;
	roms: Array<Array<string>>;
};
'lao' contains the sliced sentence in lao: ['ກະ', 'ຕາຍ']
'roms' contains an array for each language, ordered like asked: [
	['kâ', 'tâ:y'],	// french
	['ka', 'ta:i'],	// english
	['ka', 'taːɲ']	// IPA phonetics
]
*/

Or use with JavaScript:

const laonetics = require("laonetics");
const translater = new laonetics.LaoneticsTranslater();
let slicedSyllables = translater.getKaraoke('ກະຕ່າຍ', ['fr', 'en', 'ph']);

Current version: Beta v0.4.3 "Smart lao language karaoke".

Demo running here: laonetics.io

Licences: CC-BY-NC-4.0: you can use/copy/modify any code but only without commercial intentions.

Transparent & agile project management: Trello

Development watch && serve

Run npm run update && npm start for a dev server. Navigate to http://localhost:5000/. The app will automatically reload if you change any of the source files.

Run npm run update && node server.js for a prod server. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files.

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago