8000 GitHub - hbollon/go-edlib at v1.2.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

πŸ“š String comparison and edit distance algorithms library, featuring : Levenshtein, LCS, Hamming, Damerau levenshtein (OSA and Adjacent transpositions algorithms), Jaro-Winkler, Cosine, etc...

License

Notifications You must be signed in to change notification settings

hbollon/go-edlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

51 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Go-edlib : Edit distance and string comparison library

Travis CI Test coverage Go Report Card License: MIT Documentation link PkgGoDev

Golang string comparison and edit distance algorithms library featuring : Levenshtein, LCS, Hamming, Damerau levenshtein (OSA and Adjacent transpositions algorithms), Jaro-Winkler, etc...


Table of Contents


Requirements

  • Go (v1.13+)

Introduction

Golang open-source library which includes most (and soon all) edit-distance and string comparision algorithms with some extra!
Designed to be fully compatible with Unicode characters!
This library is 100% test covered 😁

Features

  • Levenshtein ✨

  • LCS (Longest common subsequence) with edit distance, backtrack and diff functions ✨

  • Hamming ✨

  • Damerau-Levenshtein, with following variants :

    • OSA (Optimal string alignment) ✨
    • Adjacent transpositions ✨
  • Jaro & Jaro-Winkler similarity algorithms ✨

  • Computed similarity percentage functions based on all available edit distance algorithms in this lib ✨

  • Fuzzy search functions based on edit distance with unique or multiples strings output ✨

  • Unicode compatibility ! πŸ₯³

  • Many more to come !

Installation

Open bash into you project folder and run :

go get github.com/hbollon/go-edlib

And import it into your project.

Run tests

If you want to run all units tests just run :

go test ./... -coverpkg=./... # Add desired parameters to this command if you want

Documentation

You can find all the documentation here : Documentation

Author

πŸ‘€ Hugo Bollon

🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2020 Hugo Bollon.
This project is MIT License licensed.

About

πŸ“š String comparison and edit distance algorithms library, featuring : Levenshtein, LCS, Hamming, Damerau levenshtein (OSA and Adjacent transpositions algorithms), Jaro-Winkler, Cosine, etc...

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 7

0