Skip to content

Incorrect Levenshtein weight for certain transformations #55

@trondtynnol

Description

@trondtynnol

When testing the correction Э̄вван → Эвван in lang-sjd-x-private, divvunspell gives the suggestion Увван a Levenshtein weight of 1. However, neither Э̄ -> У, э̄ -> у or even э -> у are assigned any special weight in the suggestion mechanism. Thus, the weight should be 10 (or if the composing macron above is treated as a separate letter, 20). See the accuracy screenshot below:

Image

I have looked for more examples of this bug, but have yet to find any.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions