Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operate on types other than strings #21

Closed
baggepinnen opened this issue Feb 7, 2020 · 1 comment
Closed

Operate on types other than strings #21

baggepinnen opened this issue Feb 7, 2020 · 1 comment

Comments

@baggepinnen
Copy link
Contributor

Would it be posible to use this package to operate on vectors, e.g,

evaluate(Levenshtein(), [1,2,3], [1,2,10]) == 1 # They differ in one element

?

@matthieugomez
Copy link
Owner

matthieugomez commented Feb 7, 2020

Makes sense. I have just pushed a commit that allows any iterable for Jaro, Levenshtein, DamerauLevenstein, and QGramDistances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants