{"id":32298408,"url":"https://github.com/sumansharmatech/plagiarism_checker_plus","last_synced_at":"2026-02-23T06:39:07.893Z","repository":{"id":260138321,"uuid":"878911058","full_name":"SumanSharmaTech/plagiarism_checker_plus","owner":"SumanSharmaTech","description":"A Flutter package that checks plagiarism using Cosine Similarity and Jaccard Similarity algorithms.","archived":false,"fork":false,"pushed_at":"2025-03-28T14:28:34.000Z","size":416,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T04:56:29.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/plagiarism_checker_plus","language":"Dart","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/SumanSharmaTech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-10-26T12:57:25.000Z","updated_at":"2025-03-28T14:44:56.000Z","dependencies_parsed_at":"2024-10-29T20:10:03.573Z","dependency_job_id":null,"html_url":"https://github.com/SumanSharmaTech/plagiarism_checker_plus","commit_stats":null,"previous_names":["sumansharmatech/plagiarism_checker_plus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SumanSharmaTech/plagiarism_checker_plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumanSharmaTech%2Fplagiarism_checker_plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumanSharmaTech%2Fplagiarism_checker_plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumanSharmaTech%2Fplagiarism_checker_plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumanSharmaTech%2Fplagiarism_checker_plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SumanSharmaTech","download_url":"https://codeload.github.com/SumanSharmaTech/plagiarism_checker_plus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumanSharmaTech%2Fplagiarism_checker_plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280563531,"owners_count":26351731,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"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":[],"created_at":"2025-10-23T04:56:39.056Z","updated_at":"2025-10-23T04:56:40.553Z","avatar_url":"https://github.com/SumanSharmaTech.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlagiarismCheckerPlus\n\nA Flutter package for detecting text similarity and potential plagiarism using Cosine Similarity and Jaccard Similarity algorithms. This package provides flexible options for algorithm selection, customizable similarity thresholds, and detailed analysis results.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/demo.jpg\" width=\"45%\" alt=\"Demo Screen\"\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"assets/demo_result.jpg\" width=\"45%\" alt=\"Results Screen\"\u003e\n\u003c/p\u003e\n\n## Features\n\n\u003cbr\u003e🔍 **Multiple Algorithms**: Choose between Cosine Similarity, Jaccard Similarity, or use both\n\u003cbr\u003e🎚️ **Customizable Threshold**: Set your own similarity threshold for plagiarism detection\n\u003cbr\u003e📊 **Detailed Analysis**: Get comprehensive similarity scores and results\n\u003cbr\u003e🚀 **Easy Integration**: Simple API for quick implementation\n\u003cbr\u003e⚡ **Efficient Performance**: Optimized for both small and large text comparisons\n\n## Installation\n\nAdd `plagiarism_checker_plus` to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n  plagiarism_checker_plus: ^1.0.3\n```\n\nThen, install the package:\n\n```bash\nflutter pub get\n```\n\n## Usage\n\n### Basic Example\n\n```dart\nimport 'package:plagiarism_checker_plus/plagiarism_checker_plus.dart';\n\nvoid main() {\n  final checker = PlagiarismCheckerPlus(\n    algorithm: Algorithm.both, // Uses both Cosine and Jaccard Similarity\n    threshold: 0.5, // Default threshold for similarity\n  );\n\n  final text1 = \"This is a sample text for testing similarity.\";\n  final text2 = \"This is another sample text used for similarity testing.\";\n\n  final result = checker.check(text1, text2);\n  print(\"Similarity Score: ${result.similarityScore}\");\n  print(\"Algorithm Used: ${result.algorithm}\");\n  print(\"Is Plagiarized: ${result.isPlagiarized}\");\n}\n```\n\n### Algorithm Selection\n\n#### Using Cosine Similarity\n\n```dart\nfinal checker = PlagiarismCheckerPlus(\n  algorithm: Algorithm.cosine,\n  threshold: 0.5,\n);\n```\n\n#### Using Jaccard Similarity\n\n```dart\nfinal checker = PlagiarismCheckerPlus(\n  algorithm: Algorithm.jaccard,\n  threshold: 0.4,\n);\n```\n\n#### Using Both Algorithms\n\n```dart\nfinal checker = PlagiarismCheckerPlus(\n  algorithm: Algorithm.both,\n  threshold: 0.5,\n);\n```\n\n## API Reference\n\n### PlagiarismCheckerPlus\n\nMain class for initializing the checker with desired settings.\n\n#### Parameters\n\n- `algorithm`: The algorithm to use (`Algorithm.cosine`, `Algorithm.jaccard`, or `Algorithm.both`)\n- `threshold`: Similarity score threshold (0.0 to 1.0) for determining plagiarism\n\n### PlagiarismResult\n\nResult object returned by the check function.\n\n#### Properties\n\n- `score`: Similarity score between the two texts (0.0 to 1.0)\n- `algorithm`: Algorithm(s) used in the calculation\n- `isPlagiarized`: Boolean indicating if similarity meets/exceeds threshold\n\n## How It Works\n\n### Cosine Similarity\n\n- Transforms text into vectors\n- Calculates the cosine of the angle between vectors\n- Effective for capturing semantic similarity\n\n### Jaccard Similarity\n\n- Measures similarity based on word intersection/union\n- Ideal for direct word overlap comparison\n- Handles varying text lengths well\n\n## Limitations\n\n- Currently optimized for English and Latin-alphabet languages\n- Similarity scores may vary based on text complexity\n- Large texts may require additional processing time\n\n## Future Plans\n\n- Support for additional similarity algorithms\n- Enhanced multilingual support\n- Detailed matching report with highlighted similarities\n- Performance optimizations for large texts\n\n## Contributing\n\nContributions are welcome! Please see our [Contributing Guidelines](CONTRIBUTING.md) for details.\n\n## License\n\nThis package is available under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## Support\n\nFor bugs and feature requests, please [create an issue](https://github.com/SumanSharmaTech/plagiarism_checker_plus/issues) on GitHub.\n\n---\n\n## Example App\n\nCheck out the complete example app in the [`example`](example) directory:\n\n```bash\ncd example\nflutter run\n```\n\n## Additional Resources\n\n- [API Documentation](https://pub.dev/documentation/plagiarism_checker_plus)\n- [Example Application](example/)\n- [Change Log](CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumansharmatech%2Fplagiarism_checker_plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumansharmatech%2Fplagiarism_checker_plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumansharmatech%2Fplagiarism_checker_plus/lists"}