Skip to content

[Feature Request]: Adding new words to dictionary #5

@patmull

Description

@patmull

Thanks for this great tool for lemmatization of words. If you plan to continue in this project, it would be nice to have an ability to add "manually" words to dictionary.

For example:

morph = majka.Majka('morphological_database/majka.w-lt')
new_tags = {gender': 'femine',
           'plural': False,
           'pos': 'noun'}
morph.add(words=["Sněžce","Sněžkou"],lemma="Sněžka",lemma_diacritics_free='snezka',tags=new_tags)

Thanks for consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions