Various tools for manipulating text
Project description
Text Tools
Description
Various tools for manipulating text.
Installation
pip install text-tools
Usage
from text_tools.finders import find_best_string
corpus = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
query = "Ipsum"
first_match = find_best_string(query, corpus)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
text-tools-1.0.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for text_tools-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f9c636e40635936de1c7b0d8115a35dda01ae65e86be6ff2ff12f79882ab71 |
|
MD5 | 6225304279aa036a02fd1e9677abbb35 |
|
BLAKE2b-256 | 0cd4f3267af1190e4d096bd8e10f911f40e9afe3fd10ee6d4cc9bbe2703ef864 |