{"id":13425768,"url":"https://github.com/calebwin/quill","last_synced_at":"2025-09-09T23:14:00.684Z","repository":{"id":100568367,"uuid":"147398462","full_name":"calebwin/quill","owner":"calebwin","description":"A high-level API for computing edit distance","archived":false,"fork":false,"pushed_at":"2018-09-19T23:00:57.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:50:53.010Z","etag":null,"topics":["java","string-distance"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-09-04T19:07:48.000Z","updated_at":"2021-05-18T05:07:00.000Z","dependencies_parsed_at":"2023-05-15T23:45:22.123Z","dependency_job_id":null,"html_url":"https://github.com/calebwin/quill","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/calebwin/quill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fquill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fquill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fquill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fquill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebwin","download_url":"https://codeload.github.com/calebwin/quill/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fquill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274379893,"owners_count":25274260,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["java","string-distance"],"created_at":"2024-07-31T00:01:18.389Z","updated_at":"2025-09-09T23:14:00.665Z","avatar_url":"https://github.com/calebwin.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"## What this is\nThere are many sophisticated algorithms for calculating edit distance or the number of edits needed to change one string into another string. These algorithms compute a variety of metrics that count different types of edits (additions, deletions, substitutions, and/or transpositions). \n\nQuill packages three of these algorithms into a simple API.\n\n## How to use it\nOnce a Quill instance has been created, you can modify the costs (or weights) assigned to different types of edits (as well as building up a map of pairs of characters to a cost for substitution). You can then call the `computeCosts()` method as follows.\n```\nQuill quill = new Quill();\nquill.setAdditionCost(1.5);\nquill.setDeletionCost(1.0);\nquill.addSubstitutionRule('f', 'g', 1.5);\n\nSystem.out.println(quill.computeCost(\"iffru\", \"figure\", OperationType.DEFAULT));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebwin%2Fquill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebwin%2Fquill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebwin%2Fquill/lists"}