{"id":17932865,"url":"https://github.com/joicemjoseph/mlphone-go","last_synced_at":"2025-06-10T20:35:54.152Z","repository":{"id":71340972,"uuid":"300177592","full_name":"joicemjoseph/mlphone-go","owner":"joicemjoseph","description":"MLPhone is a phonetic algorithm for indexing Malayalam words by their pronunciation, like Metaphone for English. The algorithm generates three Romanized phonetic keys (hashes) of varying phonetic affinities for a given Malayalam word.","archived":false,"fork":false,"pushed_at":"2020-10-01T08:51:57.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T11:15:42.898Z","etag":null,"topics":["malayalam","metaphone","phonetic-affinities","phonetic-algorithm","phonetic-modifiers","pronunciation"],"latest_commit_sha":null,"homepage":"https://gitlab.com/joice/mlphone-go","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joicemjoseph.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":"2020-10-01T06:52:54.000Z","updated_at":"2024-06-14T10:13:27.000Z","dependencies_parsed_at":"2023-02-28T20:45:37.282Z","dependency_job_id":null,"html_url":"https://github.com/joicemjoseph/mlphone-go","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/joicemjoseph%2Fmlphone-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joicemjoseph%2Fmlphone-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joicemjoseph%2Fmlphone-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joicemjoseph%2Fmlphone-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joicemjoseph","download_url":"https://codeload.github.com/joicemjoseph/mlphone-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joicemjoseph%2Fmlphone-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259146816,"owners_count":22812313,"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":["malayalam","metaphone","phonetic-affinities","phonetic-algorithm","phonetic-modifiers","pronunciation"],"created_at":"2024-10-28T21:32:38.372Z","updated_at":"2025-06-10T20:35:54.123Z","avatar_url":"https://github.com/joicemjoseph.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MLPhone\n![](https://gitlab.com/joice/mlphone-go/badges/master/coverage.svg)\n![](https://gitlab.com/joice/mlphone-go/badges/master/pipeline.svg)\n\nRewriting [MLPhone](https://github.com/knadh/mlphone) to Go by porting [KNPhone](https://github.com/knadh/knphone).\n\nMLphone is a phonetic algorithm for indexing Malayalam words by their pronunciation, like Metaphone for English. The algorithm generates three Romanized phonetic keys (hashes) of varying phonetic affinities for a given Malayalam word.\n\nFull [documentation](http://nadh.in/code/mlphone) \n\n# Intro\nMLphone is a phonetic algorithm for indexing Malayalam words by their pronunciation,\nlike Metaphone for English. The algorithm generates three Romanized phonetic keys (hashes) of varying\nphonetic affinities for a given Malayalam word.\n\nThe\talgorithm takes into account the context sensitivity of sounds, syntactic and\nphonetic gemination, compounding, modifiers, and other known exceptions to produce\nRomanized phonetic hashes of increasing phonetic affinity that are very faithful\nto the pronunciation of the original Malayalam word.\n\n* key0 = a broad phonetic hash comparable to a Metaphone key that doesn't account for hard sounds (ഷ, ണ..) or phonetic modifiers\n\n* key1 = is a slightly more inclusive hash that accounts for hard sounds\n\n* key2 = highly inclusive and narrow hash that accounts for hard sounds and phonetic modifiers\n\n\nMLphone was created to aid spelling tolerant Malayalam word search, but may \nbe useful in tasks like spell checking, word suggestion etc.\n\n# Examples\n\n|Word|key0|key1|key2|Transliteration|Metaphone|\n|----|----|----|----|---------------|---------|\n|നീലക്കുയില്‍|NLKYL|NLKYL|N4LK25Y4L|Neelakkuyil‍|NLKYL|\n|മൃഗം|MRK3|MRK3|MRK3|Mrugam|MRKM|\n|മ്രിഗം|MRK3|MRK3|MRK3|Mrigam|MRKM|\n|ഉത്സവം|U0SV3|U0SV3|U0SV3|Uthsavam|U0SFM|\n|ഉല്‍സവം|U0SV3|U0SV3|U0SV3|Ul‍savam|ULSFM|\n|വാഹനം|VHN3|VHN3|VHN3|Vaahanam|FHNM|\n|വിഹനനം|VHNN3|VHNN3|V4HNN3|Vihananam|FHNNM|\n|രാഷ്ട്രീയം|RSTRY3|RS1TRY3|RS1TR4Y3|Raashtreeyam|RXTRYM|\n|കണ്ണകി|KNK|KNK|KN2K4|Kannaki|KNK|\n|കന്യക|KNYK|KNYK|KNYK|Kanyaka|KNYK|\n|മനം|MN3|MN3|MN3|Manam|MNM|\n|മണം|MN3|MN13|MN13|Manam|MNM|\n|വിഭക്ത്യാഭാസം|VBK0YBS3|VBK0YBS3|V4BK0YBS3|Vibhakthyaabhaasam|FBHK0YBHSM|\n|വലയം|VLY3|VLY3|VLY3|Valayam|FLYM|\n|വളയം|VLY3|VL1Y3|VL1Y3|Valayam|FLYM|\n|രഥം|R03|R03|R03|Ratham|R0M|\n|രദം|R03|R03|R03|Radam|RTM|\n|രത്തം|R03|R03|R03|Rattham|RTM|\n|രധം|R03|R03|R03|Radham|RTHM|\n\n\n# Usage\n```go\nimport 'gitlab.com/joice/mlphone-go'\n...\n...\n...\n\nphone := mlphone.New()\nval1, val2, val3 := phone.Encode(\"മണം\")\n...\n...\n...\n```\n# License\nGNU GENERAL PUBLIC LICENSE v3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoicemjoseph%2Fmlphone-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoicemjoseph%2Fmlphone-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoicemjoseph%2Fmlphone-go/lists"}