pysztaki

Translator script for console using the szotar.sztaki.hu database


Keywords
dictionaries, english, hungarian, python, translation
License
BSD-1-Clause
Install
pip install pysztaki

Documentation

PySztaki

Translator script for console using the http://szotar.sztaki.hu database

A really short script, which uses the given dictionaries (in first two parameters) to translate a word or an expression. It uses web-based translator of szotar.sztaki.hu (parsed with BeautifulSoup http://www.crummy.com/software/BeautifulSoup/). The SztakiQueryParser class contains the actual translation code, it can be simply reused.

Script home

Copyright (c) 2008, Pek Daniel

Copyright (c) 2014, György Orosz

Requirements

Since this is a very immature script, it may contain errors. Every feedback, bugreport would be welcomed.

Usage

sztaki.py <word/expression> [from_lang] [to_lang] 

Available languages

  • eng
  • hun
  • ger
  • pol
  • fre
  • ita
  • bul