Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1021 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 1021 Bytes

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