Open statisticsguru1 opened 2 years ago
You need to install this package via 'pip install clean-text' or 'poetry add clean-text'.
Once you have it installed, you can import the package like this:
import clean-text
clean-text.clean()
or
import cleantext
cleantext.clean()
I write this because somebody created a package "cleantext" on pip that also exposed a .clean() method, but it works completely differently.
It is indicated on documentation that "This package is named clean-text and not cleantext.". there is a confusion because both
clean-text
andcleantext
are imported using the code:import cleantext
is there a way I can specify which of the two Intent to import??