Skip to content

perform unicode normalization #319

Description

@maxbachmann

The matching results could be improved by using unicode normalization on them. This should be a processor function, since users might be interested in the distance without normalization. In addition it would be weird if Levenshtein.distance(s1, s2) differs from len(Levenshtein.editops(s1, s2)). At the same time it is not possible to use the normalization for Levenshtein.editops, since the editops need to map to a specific character in the source.

It would probably make sense to update utils.default_process to normalize strings as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions