@erkanarslan/turkish-inflection
Version:
A library to inflect Turkish words
10 lines (9 loc) • 458 B
TypeScript
export { addLenitionExceptions } from "./data";
export declare function inflect(text: string, interpolation: Dict): string;
export declare function inflect(text: string, suffix: string): string;
export declare function inflect(text: string): string;
export declare function inflectText(text: string, interpolation?: Dict): string;
export declare function inflectWord(word: string, suffix: string): string;
declare type Dict = {
[key: string]: string;
};