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 details)
Built Distribution
File details
Details for the file text-tools-1.0.0.tar.gz
.
File metadata
- Download URL: text-tools-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e262d0f51b58c94ce427646a2a64b731bd99a5488518dc9f74797555fb19871 |
|
MD5 | b0c144f4bc88400e10b0256ff1ccd66e |
|
BLAKE2b-256 | fdfdb59c55b8818a5a61993ff61f5d09cc20b5f3090ae4f223cbac5aa94121ac |
File details
Details for the file text_tools-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: text_tools-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f9c636e40635936de1c7b0d8115a35dda01ae65e86be6ff2ff12f79882ab71 |
|
MD5 | 6225304279aa036a02fd1e9677abbb35 |
|
BLAKE2b-256 | 0cd4f3267af1190e4d096bd8e10f911f40e9afe3fd10ee6d4cc9bbe2703ef864 |