Skip to content

oroszgy/pysztaki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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