mwg API
    Preparing search index...

    Interface GrammaticalEntity

    Optional linguistic metadata about one entity - gender, number, or a proper-noun flag a catalog's own grammar rules may need to pick an article or an agreement. MWG never interprets this itself; it exists so a game's EntityTextResolver and catalog can agree on a common shape instead of each game inventing its own.

    interface GrammaticalEntity {
        forms?: Record<string, string>;
        gender?: "masculine" | "feminine" | "neuter" | "common";
        plural?: boolean;
        properNoun?: boolean;
    }
    Index
    forms?: Record<string, string>

    other lexical forms a catalog's grammar might need - a possessive, a vocative

    gender?: "masculine" | "feminine" | "neuter" | "common"
    plural?: boolean
    properNoun?: boolean