{"id":24771030,"url":"https://github.com/isa1asn/plagiarism-detector","last_synced_at":"2026-05-11T02:20:28.391Z","repository":{"id":274323717,"uuid":"917361356","full_name":"Isa1asN/plagiarism-detector","owner":"Isa1asN","description":"Plagiarism detection for Amharic language text","archived":false,"fork":false,"pushed_at":"2025-01-26T15:42:49.000Z","size":644,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T16:21:43.162Z","etag":null,"topics":["amharic","cosine-similarity","doc2vec","fastapi","gensim","nlp","numpy","plagiarism-detection","preprocessing","stopwords-removal","vector-embeddings"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/Isa1asN.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":"2025-01-15T20:50:16.000Z","updated_at":"2025-01-26T14:51:47.000Z","dependencies_parsed_at":"2025-01-26T16:21:44.684Z","dependency_job_id":"19bbd834-5eb7-4cc0-85d3-fe97708ad616","html_url":"https://github.com/Isa1asN/plagiarism-detector","commit_stats":null,"previous_names":["isa1asn/plagiarism-detector"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isa1asN%2Fplagiarism-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isa1asN%2Fplagiarism-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isa1asN%2Fplagiarism-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isa1asN%2Fplagiarism-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Isa1asN","download_url":"https://codeload.github.com/Isa1asN/plagiarism-detector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245163941,"owners_count":20571024,"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":["amharic","cosine-similarity","doc2vec","fastapi","gensim","nlp","numpy","plagiarism-detection","preprocessing","stopwords-removal","vector-embeddings"],"created_at":"2025-01-29T03:57:36.908Z","updated_at":"2026-05-11T02:20:28.340Z","avatar_url":"https://github.com/Isa1asN.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plagiarism Detection for Amharic text\n\n![screenshot](./imgs/scrsht2.png)\n\n![screenshot](./imgs/scrsht.png)\n\nThis project implements a plagiarism detection system for the Amharic language using the **Doc2Vec** model. It provides a pipeline for data preprocessing, model training, and similarity computation, which serves as the foundation for a FastAPI server.\n\n## Workflow\n\n### 1. **Data Preprocessing**\n   - Raw text is cleaned to prepare it for training and inference.\n   - Stopwords are removed, and unnecessary characters are filtered out.\n   - Text data is tokenized and transformed into a format suitable for the **Doc2Vec** model.\n\n### 2. **Model Training**\n   - The **Doc2Vec** model is trained on the preprocessed text data using Gensim.\n   - Trained embeddings are saved for use in inference tasks.\n\n### 3. **Similarity Computation**\n   - The trained **Doc2Vec** model is used to calculate document similarities.\n   - Cosine similarity is computed between the vectors of input documents.\n   - The system identifies plagiarized sections by comparing sentences or text segments.\n\nYou can access the model weights at [here.](https://drive.google.com/file/d/1R9ULenBDBslRwdpsMbfdsiBLobcfxYIO/view?usp=sharing)\n\n## Running the server\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Isa1asN/plagiarism-detector.git\n   cd plagiarism-detector\n   ```\n\n2. Create a new conda environment and activate it:\n\n\u003e [!TIP]\n\u003e Install [miniconda](https://docs.anaconda.com/miniconda/) if you don't have it\nalready!\n\n   ```bash\n   conda create --name plagiarism-detector python=3.10\n   conda activate plagiarism-detector\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   pip install -r reqs.txt\n   ```\n\n4. Download the model files zip file, unzip it and put them in 'models' folder at the root of the project.\n   You can download it [here.](https://drive.google.com/file/d/1R9ULenBDBslRwdpsMbfdsiBLobcfxYIO/view?usp=sharing)\n\n5. Run the server:\n\n   ```bash\n   cd app\n   python -m main\n   ```\n\n5. Access the UI at [http://localhost:8008](http://localhost:8008)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisa1asn%2Fplagiarism-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisa1asn%2Fplagiarism-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisa1asn%2Fplagiarism-detector/lists"}