Skip to main content

Paraphrasing via google translate

Project description

paraphrase_googletranslate

python_version PyPI downloads/month

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

paraphrase_googletranslate-0.0.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paraphrase_googletranslate-0.0.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file paraphrase_googletranslate-0.0.3.tar.gz.

File metadata

  • Download URL: paraphrase_googletranslate-0.0.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for paraphrase_googletranslate-0.0.3.tar.gz
Algorithm Hash digest
SHA256 35872c4128ecf8f723b1b82134f66bd1230b18d9908a8c77b849cab4d422c90f
MD5 9a9e51fffd769acdafa536d26cf019d9
BLAKE2b-256 9f3da3b2e149720145af9896fd87ab5dc0d49459057828fe7575c517ba90b7cb

See more details on using hashes here.

File details

Details for the file paraphrase_googletranslate-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: paraphrase_googletranslate-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for paraphrase_googletranslate-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d71577a0f60897caa48f601bbef2c6aca41fd2b4f7062e48b709a84ec41f6322
MD5 369e492984e9c914fa5558797e9baefe
BLAKE2b-256 3f10c1bb2cad058b2b7d6b2861cf2cca5dce6c59ab964dbc36f02f8c3963b99b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page