Skip to main content

paraphrase_googletranslate

Project description

paraphrase_googletranslate

PyPI - package version PyPI - license PyPI - python version PyPI - downloads

GitHub - last commit GitHub - commit activity

GitHub - code size in bytes GitHub - repo size GitHub - lines of code

GitHub - license

Description

Paraphrasing via google translate

Install

pip install paraphrase_googletranslate
# or
pip3 install paraphrase_googletranslate

Usage

from paraphrase_googletranslate import Paraphraser

original = 'Canvas Print Art size:12inchx12inch(30cmx30cm)x2panels Framed Ready to Hang. Brand: Amoy Art. Canvas print is already perfectly stretched over wooden frame and also hooks have been mounted on each panel,which easily to hang out of box.A perfect wall decorations paintings for living room, bedroom, kitchen, office, Hotel, dining room, office, bathroom, bar etc. HD pictures photo printed on canvas with vivid color on high quality canvas,A perfect gift for your relatives and friends. Packed in Carton Box.100% satisfied guarantee. Shop with confidence!'

phraser = Paraphraser()

rephrased = phraser.paraphrase(original, secondary_language='es')
print(rephrased)
rephrased = phraser.paraphrase(rephrased, secondary_language='de')
print(rephrased)
rephrased = phraser.paraphrase(rephrased, secondary_language='fr')

print('\n\n\n')

print(original)
print(rephrased)

Dependencies

google-trans-new

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.7.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: paraphrase_googletranslate-0.0.7.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for paraphrase_googletranslate-0.0.7.tar.gz
Algorithm Hash digest
SHA256 3aa5d91f8cd842844fed94739092d3c51b10c6c6b16dec7e52254f50dce9fe3d
MD5 e1f242b4cc5c5d9d3ed2976053254bc6
BLAKE2b-256 82a84ebae537e26a7e2854e63ed31fa5e6cdaf3b6ab29167a1a06a145ea28edd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: paraphrase_googletranslate-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for paraphrase_googletranslate-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 662472006e68c642250ce7ff0dc982b116fe2f32d220d21ffbb371d5efb25992
MD5 a7674ad71bea7cbf43922b00b70a0083
BLAKE2b-256 9a3f750f25c177ad613b1012337f226eb8064af5d9d602f49442d39a7ce09476

See more details on using hashes here.

Supported by

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