{"id":13746270,"url":"https://github.com/flori/amatch","last_synced_at":"2025-12-24T17:00:23.910Z","repository":{"id":646035,"uuid":"288215","full_name":"flori/amatch","owner":"flori","description":"Approximate String Matching library","archived":false,"fork":false,"pushed_at":"2025-12-19T16:50:30.000Z","size":170,"stargazers_count":389,"open_issues_count":5,"forks_count":36,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-21T17:42:23.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flori.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"COPYING","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2009-08-26T00:18:33.000Z","updated_at":"2025-12-21T14:47:26.000Z","dependencies_parsed_at":"2025-09-11T16:13:51.441Z","dependency_job_id":"4d6245a3-bb18-4271-9c08-db52e60c14f6","html_url":"https://github.com/flori/amatch","commit_stats":{"total_commits":65,"total_committers":5,"mean_commits":13.0,"dds":0.1384615384615384,"last_synced_commit":"bbf70a070a51c44a309c0192eb25c16a8e1207a9"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/flori/amatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flori%2Famatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flori%2Famatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flori%2Famatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flori%2Famatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flori","download_url":"https://codeload.github.com/flori/amatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flori%2Famatch/sbom","scorecard":{"id":403911,"data":{"date":"2025-08-11","repo":{"name":"github.com/flori/amatch","commit":"27ff0c82f35cfa992120842fde1d6a2fea64aee4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Info: FSF or OSI recognized license: Apache License 2.0: COPYING:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T20:43:24.471Z","repository_id":646035,"created_at":"2025-08-18T20:43:24.471Z","updated_at":"2025-08-18T20:43:24.471Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28005407,"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-12-24T02:00:07.193Z","response_time":83,"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":[],"created_at":"2024-08-03T06:00:50.961Z","updated_at":"2025-12-24T17:00:23.891Z","avatar_url":"https://github.com/flori.png","language":"C","readme":"# amatch - Approximate Matching Extension for Ruby\n\n## Description\n\nThis is a collection of classes that can be used for Approximate\nmatching, searching, and comparing of Strings. They implement algorithms\nthat compute the Levenshtein edit distance, Sellers edit distance, the\nHamming distance, the longest common subsequence length, the longest common\nsubstring length, the pair distance metric, the Jaro-Winkler metric.\n\n## Installation\n\nTo install this extension as a gem type\n\n # gem install amatch\n\ninto the shell.\n\n## Download\n\nThe homepage of this library is located at\n\n* https://github.com/flori/amatch\n\n## Examples\n\n    require 'amatch'\n    # =\u003e true\n    include Amatch\n    # =\u003e Object\n    \n    m = Sellers.new(\"pattern\")\n    # =\u003e #\u003cAmatch::Sellers:0x40366324\u003e\n    m.match(\"pattren\")\n    # =\u003e 2.0\n    m.substitution = m.insertion = 3\n    # =\u003e 3\n    m.match(\"pattren\")\n    # =\u003e 4.0\n    m.reset_weights\n    # =\u003e #\u003cAmatch::Sellers:0x40366324\u003e\n    m.match([\"pattren\",\"parent\"])\n    # =\u003e [2.0, 4.0]\n    m.search(\"abcpattrendef\")\n    # =\u003e 2.0\n    \n    m = Levenshtein.new(\"pattern\")\n    # =\u003e #\u003cAmatch::Levenshtein:0x4035919c\u003e\n    m.match(\"pattren\")\n    # =\u003e 2\n    m.search(\"abcpattrendef\")\n    # =\u003e 2\n    \"pattern language\".levenshtein_similar(\"language of patterns\")\n    # =\u003e 0.2\n    \n    m = Amatch::DamerauLevenshtein.new(\"pattern\")\n    # =\u003e #\u003cAmatch::DamerauLevenshtein:0x007fc3483dd278\u003e\n    m.match(\"pattren\")\n    # =\u003e 1\n    \"pattern language\".damerau_levenshtein_similar(\"language of patterns\")\n    # =\u003e 0.19999999999999996\n    \n    m = Hamming.new(\"pattern\")\n    # =\u003e #\u003cAmatch::Hamming:0x40350858\u003e\n    m.match(\"pattren\")\n    # =\u003e 2\n    \"pattern language\".hamming_similar(\"language of patterns\")\n    # =\u003e 0.1\n    \n    m = PairDistance.new(\"pattern\")\n    # =\u003e #\u003cAmatch::PairDistance:0x40349be8\u003e\n    m.match(\"pattr en\")\n    # =\u003e 0.545454545454545\n    m.match(\"pattr en\", nil)\n    # =\u003e 0.461538461538462\n    m.match(\"pattr en\", /t+/)\n    # =\u003e 0.285714285714286\n    \"pattern language\".pair_distance_similar(\"language of patterns\")\n    # =\u003e 0.928571428571429\n    \n    m = LongestSubsequence.new(\"pattern\")\n    # =\u003e #\u003cAmatch::LongestSubsequence:0x4033e900\u003e\n    m.match(\"pattren\")\n    # =\u003e 6\n    \"pattern language\".longest_subsequence_similar(\"language of patterns\")\n    # =\u003e 0.4\n    \n    m = LongestSubstring.new(\"pattern\")\n    # =\u003e #\u003cAmatch::LongestSubstring:0x403378d0\u003e\n    m.match(\"pattren\")\n    # =\u003e 4\n    \"pattern language\".longest_substring_similar(\"language of patterns\")\n    # =\u003e 0.4\n   \n    m = Jaro.new(\"pattern\")\n    # =\u003e #\u003cAmatch::Jaro:0x363b70\u003e\n    m.match(\"paTTren\")\n    # =\u003e 0.952380952380952\n    m.ignore_case = false\n    m.match(\"paTTren\")\n    # =\u003e 0.742857142857143\n    \"pattern language\".jaro_similar(\"language of patterns\")\n    # =\u003e 0.672222222222222\n   \n    m = JaroWinkler.new(\"pattern\")\n    # #\u003cAmatch::JaroWinkler:0x3530b8\u003e\n    m.match(\"paTTren\")\n    # =\u003e 0.971428571712403\n    m.ignore_case = false\n    m.match(\"paTTren\")\n    # =\u003e 0.79428571505206\n    m.scaling_factor = 0.05\n    m.match(\"pattren\")\n    # =\u003e 0.961904762046678\n    \"pattern language\".jarowinkler_similar(\"language of patterns\")\n    # =\u003e 0.672222222222222\n\n## Author\n\nFlorian Frank mailto:flori@ping.de\n\n## License\n\nApache License, Version 2.0 – See the COPYING file in the source archive.\n","funding_links":[],"categories":["C","NLP Pipeline Subtasks"],"sub_categories":["Semantic Analysis"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflori%2Famatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflori%2Famatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflori%2Famatch/lists"}