-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Loic TRUCHOT
committed
Sep 28, 2017
1 parent
4940ca4
commit eeab0c4
Showing
12 changed files
with
41 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "laonetics-demo", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"license": "CC-BY-NC-4.0", | ||
"author": "Loïc TRUCHOT <[email protected]> (http://laonetics.io)", | ||
"description": "", | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export declare class LaoneticsSorter { | ||
private translater; | ||
private leftVowels; | ||
constructor(); | ||
sortArrayByConsonant(words: any[], filter?: string): any[]; | ||
sortWithOptionalFilter(items: any[], sorter: any, filter: string): any[]; | ||
extendComplexLeading(str: string): string; | ||
shortenComplexLeading(str: string): string; | ||
getDeepParam(obj: any, filter: string): any; | ||
setDeepParam(obj: any, filter: string, value: any): any; | ||
getSorterByAlphabet(filter?: string): (a: any, b: any) => number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
import { ISlicedSyllables, IPhonemeReg } from './../interfaces/interfaces'; | ||
import { IPhonemeReg, ISlicedSyllables } from './../interfaces/interfaces'; | ||
export declare class LaoneticsTranslater { | ||
private sep; | ||
private subSep; | ||
private sentenceLao; | ||
private roms; | ||
private sentences; | ||
private langs; | ||
sortCollectionByConsonant(items: Array<any>, filter: string): any[]; | ||
sortArrayByConsonant(items: Array<string>): string[]; | ||
getSorterByAlphabet(alphabet: Array<string>, filter?: string): (a: any, b: any) => number; | ||
getKaraoke(sentence: string, langs: Array<string>): ISlicedSyllables; | ||
getMatches(reg: string): Array<string>; | ||
constructor(); | ||
getKaraoke(sentence: string, langs: string[]): ISlicedSyllables; | ||
getMatches(reg: string): string[]; | ||
replacePart(phoneme: IPhonemeReg): void; | ||
toKaraoke(syllable: string, phoneme: IPhonemeReg): Array<string>; | ||
toKaraoke(syllable: string, phoneme: IPhonemeReg): string[]; | ||
getPhonemesByConsonant(consonant: string): string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { IPhonemeReg } from './../interfaces/interfaces'; | ||
import { IPhonemeReg, IRegInstances } from './../interfaces/interfaces'; | ||
declare const graphemes: any; | ||
declare const regs: any; | ||
declare const regInstances: any; | ||
declare const phonemes: Array<IPhonemeReg>; | ||
declare const regInstances: IRegInstances; | ||
declare const phonemes: IPhonemeReg[]; | ||
export { graphemes, phonemes, regs, regInstances }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "laonetics", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"license": "CC-BY-NC-4.0", | ||
"author": "Loïc TRUCHOT <[email protected]> (http://laonetics.io)", | ||
"description": "Get Lao language IPA phonetics and romanization, french and english karaoke for any phoneme/syllable.", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters