Skip to main content

Sanitise text while keeping your sanity

Project description

Saniti

Sanitise lists of text documents quickly, easily and whilst maintaining your sanity

###Usage:

As a function-ish

''' original_text = ["I like to moves it, move its", "I likeing to move it!", "the of"]

text = saniti(original_text, ["token", "destop", "depunct", "unempty", "stem", "out_corp_dict"])

print(text.text)

'''

As a class

''' sani1 = saniti() text = sani1.process(original_text, ["token", "destop", "depunct", "unempty", "lemma", "out_tag_doc"]) print(text) '''

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

saniti-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file saniti-0.0.1.tar.gz.

File metadata

  • Download URL: saniti-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for saniti-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7e3cf635fb4c7df87fb7fd687128411bab6081d39a99c1569c72e9180a6c3dc9
MD5 c9f24d21c4bdd92b43d3fae87e665b19
BLAKE2b-256 a6383ed9f0939d03ecfd7fc3eec79d0109b09e50206b30d1b53bf35e14dd76c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page