taipa
Version:
Taiwanese morphological parsing library
13 lines (12 loc) • 686 B
TypeScript
import { TonalInsertionLexeme } from './lexeme';
/**
* Inserts an initial consonant m, n, or ng to syllable ay if the preceding syllable has a final consonant m, n, or ng.
* @param word A word whose second syllable is ay, a, or af. The word has at least 2 syllables for the second one to be inserted an initial.
*/
export declare function insertToFollowingSyllable(word: string): TonalInsertionLexeme;
/**
* Insert an initial consonant to the enclitic.
* @param preceding Thre preceding word.
* @param following The following word. The enclitic.
*/
export declare function insertToFollowingWord(preceding: string, following: string): import("./phraseme").TonalInsertionPhraseme;