UNPKG

morph-it-helper

Version:

Helper functions on an included database derived from morph-it (Free Morphological Lexicon for the Italian Language)

15 lines (14 loc) 364 B
/** * @license * Copyright 2019 Ludan Stoecklé * SPDX-License-Identifier: Apache-2.0 */ export declare class MorphItHelper { private adjectives; private nouns; private pastParticiples; isAdj(flexform: string): boolean; isNoun(flexform: string): boolean; getNoun(param: string): string; getAdj(param: string): string | undefined; }