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 hashes)
Built Distribution
Close
Hashes for quote_manager-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4629f3ae5bfc731cea8de45e021432313bef8dea4cab38d7b85447fe9a6d5b0e |
|
MD5 | 44977105f830d77eb58368fc134f5019 |
|
BLAKE2b-256 | 05991f5f8f70aa33df216d4a5e1c0dfdfd3512fd36a2c972b4f0b3d7d534d0b9 |