Paraphrasing via google translate
Project description
paraphrase_googletranslate
Description
Paraphrasing via google translate
Install
pip install paraphrase_googletranslate
# or
pip3 install paraphrase_googletranslate
Usage
from paraphrase_googletranslate import Paraphraser
original = '"The quick brown fox jumps over the lazy dog" is an English-language pangram—a sentence that contains all of the letters of the English alphabet. Owing to its brevity and coherence, it has become widely known. The phrase is commonly used for touch-typing practice, testing typewriters and computer keyboards, displaying examples of fonts, and other applications involving text where the use of all letters in the alphabet is desired.'
phraser = Paraphraser(random_ua=True)
rephrased = phraser.paraphrase(original)
print(original)
print(rephrased)
#This will print:
#"The quick brown fox jumps over the lazy dog" is an English-language pangram—a sentence that contains all of the letters of the English alphabet. Owing to its brevity and coherence, it has become widely known. The phrase is commonly used for touch-typing practice, testing typewriters and computer keyboards, displaying examples of fonts, and other applications involving text where the use of all letters in the alphabet is desired.
#"The quick brown fox jumps over the lazy dog" is an English-language pangram a phrase that contains all the letters of the English alphabet. Because of its brevity and consistency, it has become widely known. The phrase is commonly used to practice typing to touch, trying typewriters and computer keyboards, showing examples of sources, and other applications involving the use of text where all the letters of the alphabet is desired.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for paraphrase_googletranslate-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35872c4128ecf8f723b1b82134f66bd1230b18d9908a8c77b849cab4d422c90f |
|
MD5 | 9a9e51fffd769acdafa536d26cf019d9 |
|
BLAKE2b-256 | 9f3da3b2e149720145af9896fd87ab5dc0d49459057828fe7575c517ba90b7cb |
Close
Hashes for paraphrase_googletranslate-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d71577a0f60897caa48f601bbef2c6aca41fd2b4f7062e48b709a84ec41f6322 |
|
MD5 | 369e492984e9c914fa5558797e9baefe |
|
BLAKE2b-256 | 3f10c1bb2cad058b2b7d6b2861cf2cca5dce6c59ab964dbc36f02f8c3963b99b |