taipa
Version:
Taiwanese morphological parsing library
15 lines (14 loc) • 541 B
TypeScript
import { AlphabeticGrapheme } from '../unit';
/**
* Analyzes a string into graphemes. Graphemic analysis.
* @param str A string
*/
export declare function graphAnalyzeKana(str: string): AlphabeticGrapheme[];
/** Analyzes a string into morphemes. */
export declare const kanaLemmatizationAnalyzer: {
/**
* Analyzes a string or graphemes into morphemes. Morphological analysis.
* @param x A string or graphemes
*/
morphAnalyze(x: string | Array<AlphabeticGrapheme>): import("./morpheme").KanaStandaloneMorpheme[];
};