This release is 7 versions behind 0.1.8 — the latest version of @kd-mct/monlam-dictionary-lexical-parser. Jump to latest
Works with
•JSR Score64%•This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun




Downloads3/wk
•Publisheda month ago (0.1.1)
Lightweight parser for Monlam Dictionary data formats, used internally across Monlam applications for consistent lexical processing
export type Example = { type: string; text: string }; export type TenseKey = "present" | "past" | "future" | "imperative"; export type TibetanSense = { id?: string; definition: string; labels: string[]; examples: Example[]; tenseForms: Partial<Record<TenseKey, string>>; tenseExamples: Example[]; antonyms: string[]; synonyms: string[]; similars: string[]; usage: string[]; domain: string[]; origin: string[]; }; export type PosBlock = { pos: string; senses: TibetanSense[] }; export type ExplanationResult = PosBlock[]; export type NoteReference = { id: string } & Record<string, string>;