@yar.ua/numerals
Version:
Number to text - Inflector for Ukrainian numerals
15 lines (14 loc) • 345 B
JavaScript
import { Lexeme } from "./lexeme.js";
export class DummyLexeme extends Lexeme {
constructor(form, persistent_form) {
super("", form, persistent_form);
}
inflected(form) {
const result = new Lexeme("", this.form());
result.updateForm(form);
return result;
}
text() {
return "";
}
}