{"id":19787075,"url":"https://github.com/mosesab/corpus-based-synonym-finder","last_synced_at":"2026-05-31T23:31:33.922Z","repository":{"id":230690951,"uuid":"391490054","full_name":"mosesab/Corpus-based-synonym-finder","owner":"mosesab","description":"Finds the synonym of words in a language using a language corpus ","archived":false,"fork":false,"pushed_at":"2021-09-26T22:41:14.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T14:08:58.381Z","etag":null,"topics":["corpus-analysis","languages","natural-language-processing","nlp","synonyms","text-processing"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mosesab.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}},"created_at":"2021-08-01T00:43:55.000Z","updated_at":"2021-09-26T22:41:16.000Z","dependencies_parsed_at":"2024-03-31T09:27:36.996Z","dependency_job_id":"eb15173e-28e3-4444-82ac-cef1941fc2db","html_url":"https://github.com/mosesab/Corpus-based-synonym-finder","commit_stats":null,"previous_names":["mosesab/corpus-based-synonym-finder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mosesab/Corpus-based-synonym-finder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosesab%2FCorpus-based-synonym-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosesab%2FCorpus-based-synonym-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosesab%2FCorpus-based-synonym-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosesab%2FCorpus-based-synonym-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mosesab","download_url":"https://codeload.github.com/mosesab/Corpus-based-synonym-finder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosesab%2FCorpus-based-synonym-finder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33753923,"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-05-31T02:00:06.040Z","response_time":95,"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":["corpus-analysis","languages","natural-language-processing","nlp","synonyms","text-processing"],"created_at":"2024-11-12T06:20:56.970Z","updated_at":"2026-05-31T23:31:33.906Z","avatar_url":"https://github.com/mosesab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Corpus-based-synonym-finder ReadMe\n\n[![Repo visits](https://github-visit-counter.herokuapp.com/mosesab/Corpus-based-synonym-finder/visits.svg)](#)\n\n### 👩‍💻 Project BreakDown\nThe Corpus-based Synonym Finder illustrates a principle of Natural Language Processing, it shows that a computer can estimate the meaning\nof words in a language without an inherent understanding of that language. \n\n\n\n### 🔦 How the Code Works\n\n* The code works by searching for how the target word is used in a sentence,\n* The code finds other words (synonyms) that were used in similar context, \n* The accuracy and speed of execution of the synonym finder code is dependent on the size of the corpus file.  \n\n\n\n\n### 🧪 How to Run the Code\n\n The synonym*finder.py is the python file that should be run when testing the code. \n For the code to run ensure that the corpus text file is in the same folder as the code.\n \n \n\n### 📝 How To change the Corpus-based Synonym Finder's language: \n1. Move a corpus text file of the language of choice into the Synonym Finder Folder \n2. Feed the corpus_words_txt (around line 235) variable the name of the corpus(must include .txt) \n3. Note that the larger the corpus word count,the higher the accuracy and the slower the speed of execution\n\n\n\n### 📔 Note\n \u003cul\u003e\n\t\u003cli\u003e The create_sentence_list function splits the whole corpus into sentences ,it is computationally expensive especially for very large\ncorpus. Using a database to index the sentences in a corpus could speed up code execution.\n \u003c/ul\u003e\n\n\n\n### 💡 Language Requirements  \nThe language used for this project was Yoruba but the code supports any language at all as long as a few conditions are met\n    * The characters of the language exists in python's character map.\n    * The language uses . (dot / full stop) to denote the end of a sentence.\n    \n\n\n### 👓 Author\nMoses Bankole\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosesab%2Fcorpus-based-synonym-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmosesab%2Fcorpus-based-synonym-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosesab%2Fcorpus-based-synonym-finder/lists"}