Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deprecated
pysztaki
.gitignore
README.md
setup.py
sztaki.py

README.md

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