{"id":15014147,"url":"https://github.com/kennethenevoldsen/augmenty","last_synced_at":"2025-04-05T14:08:41.584Z","repository":{"id":37417599,"uuid":"391635255","full_name":"KennethEnevoldsen/augmenty","owner":"KennethEnevoldsen","description":"Augmenty is an augmentation library based on spaCy for augmenting texts.","archived":false,"fork":false,"pushed_at":"2024-05-24T07:20:11.000Z","size":6413,"stargazers_count":153,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T14:08:36.453Z","etag":null,"topics":["augmentation","natural-language-processing","nlp","nlproc","python","spacy","spacy-extension","spacy-nlp","text-augmentation","text-classification","training-data"],"latest_commit_sha":null,"homepage":"https://kennethenevoldsen.github.io/augmenty/","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/KennethEnevoldsen.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"citation.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-01T13:30:32.000Z","updated_at":"2025-03-26T22:52:06.000Z","dependencies_parsed_at":"2022-08-08T20:15:42.689Z","dependency_job_id":"add9f877-39dd-453e-8906-68151b56b986","html_url":"https://github.com/KennethEnevoldsen/augmenty","commit_stats":{"total_commits":366,"total_committers":8,"mean_commits":45.75,"dds":"0.36612021857923494","last_synced_commit":"c3fe4722cb3a1f583379702c38d565acb71c4dff"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethEnevoldsen%2Faugmenty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethEnevoldsen%2Faugmenty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethEnevoldsen%2Faugmenty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethEnevoldsen%2Faugmenty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KennethEnevoldsen","download_url":"https://codeload.github.com/KennethEnevoldsen/augmenty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345854,"owners_count":20924102,"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":["augmentation","natural-language-processing","nlp","nlproc","python","spacy","spacy-extension","spacy-nlp","text-augmentation","text-classification","training-data"],"created_at":"2024-09-24T19:45:15.426Z","updated_at":"2025-04-05T14:08:41.566Z","avatar_url":"https://github.com/KennethEnevoldsen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/kennethenevoldsen/augmenty\"\u003e\u003cimg src=\"https://github.com/KennethEnevoldsen/augmenty/blob/main/img/icon.png?raw=true\" width=\"200\" align=\"right\" /\u003e\u003c/a\u003e\n# Augmenty: The cherry on top of your NLP pipeline\n\n\n[![PyPI version](https://badge.fury.io/py/augmenty.svg)](https://pypi.org/project/augmenty/)\n[![python version](https://img.shields.io/badge/Python-%3E=3.8-blue)](https://github.com/kennethenevoldsen/augmenty)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![github actions pytest](https://github.com/kennethenevoldsen/augmenty/actions/workflows/tests.yml/badge.svg)](https://github.com/kennethenevoldsen/augmenty/actions)\n[![github actions docs](https://github.com/kennethenevoldsen/augmenty/actions/workflows/documentation.yml/badge.svg)](https://kennethenevoldsen.github.io/augmenty/)\n[![status](https://joss.theoj.org/papers/df84463b79f27f40a4da97f20b08a958/status.svg)](https://joss.theoj.org/papers/df84463b79f27f40a4da97f20b08a958)\n\n\n\nAugmenty is an augmentation library based on spaCy for augmenting texts. Besides a wide array of highly flexible augmenters, Augmenty provides a series of tools for working with augmenters, including combining and moderating augmenters. Augmenty differs from other augmentation libraries in that it corrects (as far as possible) the assigned labels under the augmentation, thus making many of the augmenters valid for training in a wider range of tasks.\n\n## 🔧 Installation\nTo get started using augmenty simply install it using pip by running the following line in your terminal:\n\n```\npip install augmenty\n```\n\nDo note that this is a minimal installation. As some augmenters requires additional packages please write the following line to install all dependencies.\n\n```\npip install \"augmenty[all]\"\n```\n\nFor more detailed instructions on installing augmenty, including specific language support, see the [installation instructions](https://kennethenevoldsen.github.io/augmenty/installation).\n\n## 🍒 Simple Example\nThe following shows a simple example of how you can quickly augment text using Augmenty. For more on using augmenty see the [usage guides].\n\n```python\nimport augmenty\nimport spacy\n\nnlp = spacy.load(\"en_core_web_md\")\n# if not installed run: python -m spacy download en_core_web_md\n\ndoc = nlp(\"Augmenty is a great tool for text augmentation\")\n\n# check that the pipeline detects the entities (this done by SpaCy and is not a 100%)\nprint(doc.ents)\n# (Augmenty,) is detected as an entity\n\ndoc.ents[0].label_\n# 'GPE'. Depending on the model, the label might be different (e.g. 'ORG')\n\nentity_augmenter = augmenty.load(\n    \"ents_replace_v1\", ent_dict={\"GPE\": [[\"spaCy\"], [\"spaCy\", \"Universe\"]]}, # label=GPE,\n    level=1\n)\n\nfor augmented_doc in augmenty.docs([doc], augmenter=entity_augmenter, nlp=nlp):\n    print(augmented_doc)\n```\n\n```\nspaCy Universe is a great tool for text augmentation.\n```\n\n## 📖 Documentation\n\n| Documentation              |                                                                             |\n| -------------------------- | --------------------------------------------------------------------------- |\n| 📚 **[Usage Guides]**       | Guides and instructions on how to use augmenty and its features.            |\n| 📰 **[News and changelog]** | New additions, changes and version history.                                 |\n| 🎛 **[API References]**     | The detailed reference for augmenty's API. Including function documentation |\n| 🍒 **[Augmenters]**         | Contains a full list of current augmenters in augmenty.                     |\n| 🙋 **[FAQ]**                | Frequently asked question regarding augmenty                                |\n| 🤝 **[How to contribute]**  | How to contribute to augmenty                                               |\n\n[usage guides]: https://kennethenevoldsen.github.io/augmenty/tutorials/introduction.html\n[api references]: https://kennethenevoldsen.github.io/augmenty/\n[Augmenters]: https://kennethenevoldsen.github.io/augmenty/augmenters_overview.html\n[Demo]: https://share.streamlit.io/kennethenevoldsen/augmenty/dev/streamlit.py\n[News and changelog]: https://kennethenevoldsen.github.io/augmenty/news.html\n[FAQ]: https://kennethenevoldsen.github.io/augmenty/faq.html\n[How to contribute]: CONTRIBUTING.md\n\n## 💬 Where to ask questions\n\n| Type                           |                        |\n| ------------------------------ | ---------------------- |\n| 🚨 **Bug Reports**              | [GitHub Issue Tracker] |\n| 🎁 **Feature Requests \u0026 Ideas** | [GitHub Issue Tracker] |\n| 👩‍💻 **Usage Questions**          | [GitHub Discussions]   |\n| 🗯 **General Discussion**       | [GitHub Discussions]   |\n| 🍒 **Adding an Augmenter**      | [Adding an augmenter]  |\n\n[github issue tracker]: https://github.com/kennethenevoldsen/augmenty/issues\n[github discussions]: https://github.com/kennethenevoldsen/augmenty/discussions\n[Adding an augmenter]: https://kennethenevoldsen.github.io/augmenty/adding_an_augmenter.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethenevoldsen%2Faugmenty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkennethenevoldsen%2Faugmenty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethenevoldsen%2Faugmenty/lists"}