Skip to main content

Text reshaper package

Project description

ugreshaper

Text reshaper for ug-language. بۇ تېكىستنى ئەسلىگە كەلتۈرۈش بولىقى

Ishlitish Usuli

Windows:          pip install ugreshaper
Ubuntu18:         pip3 install ugreshaper

from ugreshaper import ugreshaper
re = ugreshaper()
reshaped_text = re.reshape( text )

Qachilap bolup:

from googletrans import Translator

from ugreshaper import ugreshaper

tr = Translator(service_urls=['translate.google.cn'])
txt = tr.translate('Hello world. This is a text reshaper package',dest='ug',src='en')
txt = txt.text   # Original text
print(txt) #asli text
re = ugreshaper()
ans = re.reshape(txt) # Reshaped text
print(ans) #pichimlanghan text

Sample: Code
Answear

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

ugreshaper-0.0.3.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

ugreshaper-0.0.3-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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