Skip to content

Conversation

l3str4nge
Copy link
Member

Describe your change:

Added Jaro Winkler algorithm for measuring similarity between two sequences.
https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Python files are placed inside an existing directory.
  • All filenames are in all lowercase characters with no spaces or dashes.
  • All functions and variable names follow Python naming conventions.
  • All function parameters and return values are annotated with Python type hints.
  • All functions have doctests that pass the automated testing.
  • All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

@l3str4nge l3str4nge requested a review from cclauss May 27, 2020 22:39
@l3str4nge l3str4nge requested a review from cclauss May 28, 2020 07:05
Copy link
Member

@poyea poyea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull request!🤩

@onlinejudge95 onlinejudge95 merged commit 3357768 into TheAlgorithms:master May 30, 2020
@cclauss
Copy link
Member

cclauss commented May 31, 2020

Please note the formatting changes made by psf/black 32109bd

stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
* Added jaro_winkler first version

* Added doctests

* Fix flake warnings

* Refactor

* Fixes bug in jaro winkler implementation

* Commit suggestions

* Missing comming suggestions

* Remove unused math module

* Import doctest

Co-authored-by: John Law <johnlaw.po@gmail.com>
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

Successfully merging this pull request may close these issues.

4 participants