Skip to content

This program aims to using TURENG translate on terminal.

Notifications You must be signed in to change notification settings

AtakuruEmre/Tureng_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

This program aims to using “Tureng-Translate” feature on terminal. Reason of writing this API is “Google-Translate” module doesn’t enoguh some status Therefore This API provides to using translate feature on terminal with all the meanings of the words. API has just one object which name is “Tureng_Translate” and this object has some properties.

Example Usage:

from Tureng_API import *

dict_ = {}

#REQ: "WORD", "Language Transformation", "Dict" , "Start Value"
translated = Tureng_translate("Buch","DE-EN",dict_,1)

print(dict_)

#Output
"""
{'General': 'book ', 'General1': 'quire ', 'General2': 'volume ', 'Business': 'volume ', 'Business1': 'ledger ', 'Business2': 'book ', 'Veterinary': 'psalterium ', 'Tourism': 'volume ', 'Zoology': 'psalterium ', 'Zoology1': 'psalterium ', 'Printing': 'book ', 'Cinema': 'written by ', 'Cinema1': 'screenplay ', 'Cinema2': 'book ', 'Cinema3': 'writer ', 'Chess': 'book ', 'Paper Terms': 'book '}
 """
 
#Properties
 """
 ['_Tureng_translate__category', '_Tureng_translate__dict_', '_Tureng_translate__language', '_Tureng_translate__mean', '_Tureng_translate__request_html', '_Tureng_translate__setdict', '_Tureng_translate__transform_lang', '_Tureng_translate__translate_ing_to_other', '_Tureng_translate__translate_other_to_ing', '_Tureng_translate__tureng_url', '_Tureng_translate__word', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'dict_return', 'show_languages', 'show_the_language_transform', 'show_the_word_to_translate', 'start']
  """
  
  

About

This program aims to using TURENG translate on terminal.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages