Skip to main content

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

Metadata

Release files for paraphrase-googletranslate 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paraphrase-googletranslate 0.0.7
File Size Uploaded
paraphrase_googletranslate-0.0.7.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for paraphrase-googletranslate 0.0.7
File Interpreter ABI Platform
paraphrase_googletranslate-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / paraphrase_googletranslate-0.0.7.tar.gz

Download URL paraphrase_googletranslate-0.0.7.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3aa5d91f8cd842844fed94739092d3c51b10c6c6b16dec7e52254f50dce9fe3d
BLAKE2b-256 checksum
How to use checksums
82a84ebae537e26a7e2854e63ed31fa5e6cdaf3b6ab29167a1a06a145ea28edd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / paraphrase_googletranslate-0.0.7-py3-none-any.whl

Download URL paraphrase_googletranslate-0.0.7-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
662472006e68c642250ce7ff0dc982b116fe2f32d220d21ffbb371d5efb25992
BLAKE2b-256 checksum
How to use checksums
9a3f750f25c177ad613b1012337f226eb8064af5d9d602f49442d39a7ce09476
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page