No project description provided
Helper nlp library for handling non ascii quotes.
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.' transformed_sentence = quotes_sentence.requote_modified_string(transformed_sentence) # “That’s a ‘magic’ shoe.”
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.