{"id":20914841,"url":"https://github.com/makifdb/spellcheck","last_synced_at":"2025-04-11T09:14:32.039Z","repository":{"id":144887225,"uuid":"616233593","full_name":"makifdb/spellcheck","owner":"makifdb","description":"Simple spell checker package for Go","archived":false,"fork":false,"pushed_at":"2023-03-20T01:05:02.000Z","size":1077,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T19:16:05.341Z","etag":null,"topics":["golang","spell-check","spell-checker","spellcheck","spellchecker"],"latest_commit_sha":null,"homepage":"","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/makifdb.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":"2023-03-20T01:01:47.000Z","updated_at":"2024-05-01T09:50:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bde9135-ec4f-4b4a-9671-a006fc6adcfb","html_url":"https://github.com/makifdb/spellcheck","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/makifdb%2Fspellcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makifdb%2Fspellcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makifdb%2Fspellcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makifdb%2Fspellcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makifdb","download_url":"https://codeload.github.com/makifdb/spellcheck/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248365671,"owners_count":21091825,"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":["golang","spell-check","spell-checker","spellcheck","spellchecker"],"created_at":"2024-11-18T16:11:17.196Z","updated_at":"2025-04-11T09:14:32.016Z","avatar_url":"https://github.com/makifdb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spellcheck\n\n## Simple Spell Checker Package for Go\nThis is a simple spellchecker package for the Go programming language. It allows you to check the spelling of words in English. It also provides suggestions for misspelled words.\n\n## Installation\nTo install the package, simply run the following command:\n\n```go\ngo get github.com/makifdb/spellcheck\n```\n\n## Usage\nTo use the package, simply import it into your project and create a new spellchecker instance. You can then use the spellchecker to check the spelling of words and get suggestions for misspelled words. You can also insert new words into the dictionary.\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/makifdb/spellcheck\"\n)\n\nfunc main() {\n\t// Init spellchecker\n\tsc, err := spellcheck.New()\n\tif err != nil {\n\t\tfmt.Println(err)\n\t}\n\n\t// Check spelling of a word\n\tok := sc.SearchDirect(\"hllo\")\n\tif !ok {\n\t\tfmt.Println(\"Word is misspelled or not in dictionary\")\n\t}\n\n\t// Check spelling of a word and get suggestions\n\tok, suggestions := sc.Search(\"hllo\")\n\tif !ok {\n\t\tfmt.Println(\"Word is misspelled or not in dictionary\")\n\t\tif len(suggestions) \u003e 0 {\n\t\t\tfmt.Println(\"Did you mean: \", suggestions)\n\t\t}\n\t}\n\n\t// Insert a word into the dictionary\n\tsc.Insert(\"hllo\")\n}\n```\n\n## License\nThis package is licensed under the MIT license. See the LICENSE file for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakifdb%2Fspellcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakifdb%2Fspellcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakifdb%2Fspellcheck/lists"}