{"id":22192444,"url":"https://github.com/nextdevv/arthur","last_synced_at":"2026-01-05T13:51:36.510Z","repository":{"id":265333943,"uuid":"895798504","full_name":"NextDevv/Arthur","owner":"NextDevv","description":"A Java Profanity-Checking Library","archived":false,"fork":false,"pushed_at":"2024-11-28T23:42:48.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T01:22:02.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/NextDevv.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":"2024-11-28T23:41:32.000Z","updated_at":"2024-11-28T23:42:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f84a8ac3-cfc1-4653-9861-702f0ce174ef","html_url":"https://github.com/NextDevv/Arthur","commit_stats":null,"previous_names":["nextdevv/arthur"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextDevv%2FArthur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextDevv%2FArthur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextDevv%2FArthur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextDevv%2FArthur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NextDevv","download_url":"https://codeload.github.com/NextDevv/Arthur/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245351757,"owners_count":20601090,"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":[],"created_at":"2024-12-02T12:24:42.288Z","updated_at":"2026-01-05T13:51:36.476Z","avatar_url":"https://github.com/NextDevv.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arthur: A Java Profanity-Checking Library (Coming Soon)\n\n**Arthur** is a Java-based profanity-checking library inspired by the popular **profanity-check** Python library. Designed for real-time content moderation, **Arthur** efficiently detects offensive language in text inputs or messages within Java applications.\n\n## Features\n\n- **Real-time Profanity Detection**: Check if a text message contains profanity as it is received.\n- **Customizable Word List**: Easily add or modify profane words and phrases.\n- **Pattern Matching**: Supports detection of obfuscated words (e.g., \"f@ck\", \"sh1t\").\n- **Machine Learning Model Support**: Optionally extend the library to use machine learning models for more advanced detection.\n\n## Installation\n\n### Using Maven\n\nYou can include **Arthur** in your Java project by adding it as a dependency in your `pom.xml`:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.nextdevv\u003c/groupId\u003e\n    \u003cartifactId\u003earthur\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Using Gradle\n\nAlternatively, if you're using Gradle:\n\n```gradle\ndependencies {\n    implementation 'com.nextdevv:arthur:1.0.0'\n}\n```\n\n## Usage\n\n### Basic Example\n\n```java\nimport com.nextdevv.arthur.ProfanityFilter;\n\npublic class Main {\n    public static void main(String[] args) {\n        String testMessage = \"This is a message with f@cking bad words.\";\n        \n        if (ProfanityFilter.containsProfanity(testMessage)) {\n            System.out.println(\"Profanity detected!\");\n        } else {\n            System.out.println(\"No profanity detected.\");\n        }\n    }\n}\n```\n\n### Customizing the Profanity List\n\nArthur uses a basic word list to detect profanity, but you can easily customize it by adding your own words:\n\n```java\nProfanityFilter.addProfaneWord(\"exampleword\");\n```\n\n### Regular Expression Support\n\nArthur supports regular expressions to detect obfuscated profane words, such as \"f@ck\" or \"sh1t\". Customize the regex patterns to fit your needs.\n\n## Advanced Usage (Machine Learning)\n\nIf you want to integrate machine learning models for more accurate detection, you can train your own model using a machine learning framework like **Weka** or **TensorFlow Java**. Once trained, load your model and use it in **Arthur** for predictions.\n\n## Contributing\n\nIf you'd like to contribute to **Arthur**, feel free to submit a pull request or open an issue. We'd love to see improvements, bug fixes, or new features!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextdevv%2Farthur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextdevv%2Farthur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextdevv%2Farthur/lists"}