{"id":15566858,"url":"https://github.com/eskriett/strmet","last_synced_at":"2025-08-08T18:35:13.366Z","repository":{"id":93164541,"uuid":"168875594","full_name":"eskriett/strmet","owner":"eskriett","description":"Fast string metric algorithms written in go","archived":false,"fork":false,"pushed_at":"2020-01-26T10:42:47.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T14:50:14.568Z","etag":null,"topics":["damerau-levenshtein","go","golang","levenshtein-distance","string-metrics"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eskriett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-02T20:40:04.000Z","updated_at":"2020-02-21T16:28:48.000Z","dependencies_parsed_at":"2023-04-03T11:47:01.469Z","dependency_job_id":null,"html_url":"https://github.com/eskriett/strmet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eskriett%2Fstrmet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eskriett%2Fstrmet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eskriett%2Fstrmet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eskriett%2Fstrmet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eskriett","download_url":"https://codeload.github.com/eskriett/strmet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140591,"owners_count":20729802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["damerau-levenshtein","go","golang","levenshtein-distance","string-metrics"],"created_at":"2024-10-02T17:07:37.371Z","updated_at":"2025-03-29T05:15:24.523Z","avatar_url":"https://github.com/eskriett.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# strmet\n\n[![GoDoc](https://godoc.org/github.com/eskriett/strmet?status.svg)](https://godoc.org/github.com/eskriett/strmet)\n[![Build Status](https://travis-ci.org/eskriett/strmet.svg?branch=master)](https://travis-ci.org/eskriett/strmet)\n[![Go Report Card](https://goreportcard.com/badge/github.com/eskriett/strmet)](https://goreportcard.com/report/github.com/eskriett/strmet)\n\nFast and memory efficient string metric algorithms.\n\nAvailable algorithms:\n* [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance)\n* [Damerau–Levenshtein distance](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance)\n\n## Example\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/eskriett/strmet\"\n)\n\nfunc main() {\n    s1 := \"baseball\"\n    s2 := \"football\"\n\n    fmt.Printf(\"The Levenshtein distance between %s and %s is %d\\n\",\n        s1, s2, strmet.Levenshtein(s1, s2, 10))\n\t// -\u003e The Levenshtein distance between baseball and football is 4\n\n    s1 = \"salt\"\n    s2 = \"slat\"\n    fmt.Printf(\"The Damerau–Levenshtein distance between %s and %s is %d\\n\",\n        s1, s2, strmet.DamerauLevenshtein(s1, s2, 10))\n\t// -\u003e The Damerau–Levenshtein distance between salt and slat is 1\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feskriett%2Fstrmet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feskriett%2Fstrmet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feskriett%2Fstrmet/lists"}