{"id":24110491,"url":"https://github.com/kometen/bloomfilter_spellchecker","last_synced_at":"2026-06-09T04:31:23.272Z","repository":{"id":141923096,"uuid":"115952660","full_name":"kometen/bloomfilter_spellchecker","owner":"kometen","description":"Spellcheck using bloomfilter and crow webframework and json.","archived":false,"fork":false,"pushed_at":"2018-01-01T23:51:07.000Z","size":1089,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T11:46:23.217Z","etag":null,"topics":["bloomfilter","cplusplus","cpp11","crowwebframework"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/kometen.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,"publiccode":null,"codemeta":null}},"created_at":"2018-01-01T22:31:00.000Z","updated_at":"2018-01-01T23:14:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e0f1345-a266-4f7a-ab3b-d2cee86bf27d","html_url":"https://github.com/kometen/bloomfilter_spellchecker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kometen/bloomfilter_spellchecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kometen%2Fbloomfilter_spellchecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kometen%2Fbloomfilter_spellchecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kometen%2Fbloomfilter_spellchecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kometen%2Fbloomfilter_spellchecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kometen","download_url":"https://codeload.github.com/kometen/bloomfilter_spellchecker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kometen%2Fbloomfilter_spellchecker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34092253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["bloomfilter","cplusplus","cpp11","crowwebframework"],"created_at":"2025-01-11T01:15:21.103Z","updated_at":"2026-06-09T04:31:23.266Z","avatar_url":"https://github.com/kometen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"I have put together some useful tools and have created a simple spellchecker.\nIt uses a wordlist I found here on github, a bloomfilter I found and tried\na while back.\n\nThe article about the bloomfilter can be found at https://blog.michaelschmatz.com/2016/04/11/how-to-write-a-bloom-filter-cpp/.\n\nThe idea is to send a json-formatted list in an array with words which is\nparsed using the bloomfilter and can say whether the words exists or not.\n\nIt loops the array and add it to a std::map which is then converted to a\njson format and returned.\n\nI use the crow webframework and nlohmann json framework. And boost.\n\nTo compile on macos use\n\n`clang++ -std=c++11 -L/usr/local/lib -lboost_system -o begin begin.cpp BloomFilter.cpp MurmurHash3.cpp`\n\nand on FreeBSD\n\n`clang++ -lthr -std=c++11 -I/usr/local/include -L/usr/local/lib -lboost_system -o begin begin.cpp BloomFilter.cpp MurmurHash3.cpp`\n\nand run it. It then parses the text file and add it to the bloomfilter and then wait for an input.\n\nSend a curl-request like this\n\n`curl -H \"Content-Type: application/json\" -X POST -d '{\"words\": [\"jeg æder\",\"carmen\",\"basis\"]}' trening.gnome.no:18080/bloom_json`\n\nThe response may look like\n\n`{\"basis\":true,\"carmen\":true,\"jeg æder\":false,\"tarsometatarsal\":true}`\n\nThe service is running on trening.gnome.no:18080. Currently only an english wordlist is running but if I can get\nwordlists in other languages pls. send me a message. One usage can be for wordgames like wordfeud where you just\nwant to know whether a word is present or not.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkometen%2Fbloomfilter_spellchecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkometen%2Fbloomfilter_spellchecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkometen%2Fbloomfilter_spellchecker/lists"}