Skip to content

Add API for stating the source grammemes instead of using a SemanticConcept #77

Open
@grhoten

Description

@grhoten

Right now, a lot of the code assumes that a given word is a lemma or makes assumptions about the grammemes of an ambiguous word. The current API just have a way to add constraints for adding the desired grammemes. We should consider adding API for adding such information to disambiguate the starting point in an inflection table.

For example, a given word may be masculine or feminine. When a word has 2 different meanings that depends on the gender, it can be hard to determine the right grammatical gender to use for the definite article. Such information has usually been disambiguated through a SemanticConcept, but there may be times that you want to use it in the current message without a SemanticConcept.

One possible path to implement such a change is to change InflectableStringConcept to provide some SemanticConcept functionality for stating the source grammemes for inflection. It would add some data to the DisplayValue. The various grammar synthesizers would need to start reading that data little more consistently though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions