{"id":15008409,"url":"https://github.com/yellowtoast/korean_levenshtein","last_synced_at":"2026-04-02T01:58:59.663Z","repository":{"id":227622526,"uuid":"771444265","full_name":"Yellowtoast/korean_levenshtein","owner":"Yellowtoast","description":"Calculates similarity between two Korean strings using Levenshtein distance with decomposed phonemes, improving accuracy.","archived":false,"fork":false,"pushed_at":"2024-03-24T06:19:21.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T22:47:12.003Z","etag":null,"topics":["dart","dartlang","levenshtein-algorithm","levenshtein-distance","textsimilarity"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/Yellowtoast.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-03-13T10:06:26.000Z","updated_at":"2024-12-15T01:15:28.000Z","dependencies_parsed_at":"2024-03-22T09:24:26.473Z","dependency_job_id":"8512bcd3-1d1f-4a79-be28-42f0ddc57cfc","html_url":"https://github.com/Yellowtoast/korean_levenshtein","commit_stats":null,"previous_names":["yellowtoast/korean_levenshtein"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yellowtoast%2Fkorean_levenshtein","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yellowtoast%2Fkorean_levenshtein/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yellowtoast%2Fkorean_levenshtein/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yellowtoast%2Fkorean_levenshtein/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yellowtoast","download_url":"https://codeload.github.com/Yellowtoast/korean_levenshtein/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243190918,"owners_count":20250979,"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":["dart","dartlang","levenshtein-algorithm","levenshtein-distance","textsimilarity"],"created_at":"2024-09-24T19:18:27.787Z","updated_at":"2025-12-26T05:33:19.313Z","avatar_url":"https://github.com/Yellowtoast.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).\n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages).\n--\u003e\n\n# KoreanLevenshtein\n\nThe KoreanLevenshtein algorithm is a modification of the traditional Levenshtein distance algorithm, specifically tailored to handle Korean text. It calculates the similarity between two Korean strings by measuring the difference in their characters, accounting for the nuances of the Korean language, such as decomposed phonemes and special characters.\n\n## Features\n\n- **Decomposed Phonemes Handling**: Korean characters consist of decomposed phonemes, namely, chosung, jungsung, and jongsung. The algorithm decomposes each character into its constituent phonemes, allowing for a more accurate comparison.\n  \n- **Numeric Character Replacement**: Optionally replaces numeric characters with their Korean representations, ensuring uniformity in text comparison regardless of numeric presence.\n  \n- **Special Character Replacement**: Optionally replaces special characters with their Korean speech equivalents, facilitating consistent comparison by considering special characters as part of the language.\n  \n- **Customized Phoneme Weights**: Allows users to customize the weights assigned to different phonemes, enabling fine-tuning of the comparison process based on specific requirements.\n\n## Getting Started\n\nTo use this package, add `korean_levenshtein` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/packages-and-plugins/using-packages).\n\n## Usage\n\nThe KoreanLevenshtein algorithm provides functions for text comparison. Below is an example of how to use it:\n\n```dart\nimport 'package:korean_levenshtein/korean_levenshtein.dart';\n\nvoid main() {\n  // Example usage of jamoSimilarityPercentage function\n  double similarity = KoreanLevenshtein.jamoSimilarityPercentage(\n    '안녕하세요',\n    '안녕하십니까?',\n    replaceNumberToKorean: true,\n    replaceSpecialCharToKorean: true,\n  );\n\n  print('Similarity Percentage: $similarity');\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyellowtoast%2Fkorean_levenshtein","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyellowtoast%2Fkorean_levenshtein","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyellowtoast%2Fkorean_levenshtein/lists"}