DupliPy Package Documentation
Package documentation for DupliPy, our Python package.
Changelog
0.2.4 (Latest): Updated DupliPy with 3 new image augmentation functions and 1 new formatting function for post-formatting.
0.2.3: Updated PYPI project description.
0.2.2: Fixed double period bug when joining sentences after replace.
0.2.1: Created new functions, including removing profanity and removing hate speech using AI.
0.2.0: Updated docstrings, and added new functions for
similarity
andreplication
.0.1.8 - 0.1.9: Fixed import errors.
0.1.2 - 0.1.7: Fixed major errors, and added support for image augmentation.
0.1.1: Created base package functions and modules.
0.1.0: Initial release.
Installation
You can install DupliPy using PyPi, please make sure that you are using Python 3.6 or later before installing DupliPy:
pip install duplipy
Example Usage
Text formatting
from duplipy.formatting import remove_special_characters, standardize_text
text = "Hello! This is some text."
# Remove special characters
formatted_text = remove_special_characters(text)
print(formatted_text) # Output: Hello This is some text
# Standardize text formatting
standardized_text = standardize_text(text)
print(standardized_text) # Output: hello! this is some text
Last updated
Was this helpful?