lao-grammar-checker
Version:
A utility to check grammar and split Lao language sentences into individual words
13 lines (12 loc) • 499 B
TypeScript
import { LaoWordInfo } from './LaoWordSplitter';
export interface LaoGrammarCheckResult extends LaoWordInfo {
grammarCorrect: boolean;
}
/**
* Checks Lao sentence for grammatical structure violations.
* Uses LaoWordSplitter to split the sentence into words first.
*
* @param sentence - The Lao sentence to check
* @returns An array of LaoGrammarCheckResult objects with grammar correctness indicator
*/
export declare function laoGrammarChecker(sentence: string): LaoGrammarCheckResult[];