Helper nlp library for handling non ascii quotes.
Project description
library.quote.manager
Helper nlp library for handling non ascii quotes.
Usage
from quote_manager import Quotes
sentence = “That’s an ‘magic’ shoe.”
quotes_sentence = Quotes(sentence)
quotes_sentence.simplified
>> "That's an 'magic' shoe.'
# do stuff here...
transformed_sentence = transform(quotes_sentence.simplified)
# ex. grammar correction: "That's a 'magic' shoe.'
quotes_sentence.requote_modified_string(transformed_sentence)
>> “That’s a ‘magic’ shoe.”
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
quote-manager-0.4.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file quote-manager-0.4.0.tar.gz
.
File metadata
- Download URL: quote-manager-0.4.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.2 Linux/5.8.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f7d89a2c53912713631290709ffe5544a2681db30e566dee262e16833244eef |
|
MD5 | c865b89fc2934a58971caff821fb9907 |
|
BLAKE2b-256 | 594612eb8b9d7e06af0148e3631c163f5bc17ced4e0d93bbcbb9f32ebbf607b9 |
File details
Details for the file quote_manager-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: quote_manager-0.4.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.2 Linux/5.8.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4629f3ae5bfc731cea8de45e021432313bef8dea4cab38d7b85447fe9a6d5b0e |
|
MD5 | 44977105f830d77eb58368fc134f5019 |
|
BLAKE2b-256 | 05991f5f8f70aa33df216d4a5e1c0dfdfd3512fd36a2c972b4f0b3d7d534d0b9 |