Parses Polish wiktionary and creates simple dictionaries of foreign languages (e.g. English) to Polish and vice versa.
python PLWiktionaryToDict.py <path to Polish wiktionary dump>
Main code is saving defined languages creating dictionary files form Polish and to Polish.
e.g. python PLWiktionaryToDict.py plwiktionary-latest-pages-meta-current.xml
Last version of wiktionary dump can be downloaded from http://dumps.wikimedia.org/plwiktionary/latest/plwiktionary-latest-pages-meta-current.xml.bz2.
In dictionaries folder you can find some (in UTF-8) from 20120806 dump:
To Polish:
- German to Polish dictionary (15k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/german_polish.txt
- Yiddish to Polish dictionary (7k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/yiddish_polish.txt
- Spanish to Polish dictionary (10k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/spanish_polish.txt
- Italian to Polish dictionary (14k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/italian_polish.txt
- Esperanto to Polish dictionary (4k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/esperanto_polish.txt
- French to Polish dictionary (16k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/french_polish.txt
- English to Polish dictionary (45k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/english_polish.txt
- Swedish to Polish dictionary (16k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/swedish_polish.txt
- Modern greek to Polish dictionary (5k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/modern%20greek_polish.txt
- Russian to Polish dictionary (11k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/russian_polish.txt
- Arabic to Polish dictionary (7k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/arabic_polish.txt
- Czech to Polish dictionary (11k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/czech_polish.txt
- Latin to Polish dictionary (3k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/latin_polish.txt
- Interlingua to Polish dictionary (19k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/interlingua_polish.txt
From Polish:
- Polish to Arabic dictionary (6k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_arabic.txt
- Polish to Yiddish dictionary (2k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_yiddish.txt
- Polish to Modern greek dictionary (5k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_modern%20greek.txt
- Polish to Czech dictionary (3k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_czech.txt
- Polish to Russian dictionary (6k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_russian.txt
- Polish to Esperanto dictionary (3k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_esperanto.txt
- Polish to Italian dictionary (6k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_italian.txt
- Polish to German dictionary (8k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_german.txt
- Polish to Spanish dictionary (8k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_spanish.txt
- Polish to Latin dictionary (1k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_latin.txt
- Polish to Swedish dictionary (7k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_swedish.txt
- Polish to French dictionary (8k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_french.txt
- Polish to English dictionary (14k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_english.txt
- Polish to Interlingua dictionary (2k) - https://raw.github.com/djstrong/PL-Wiktionary-To-Dictionary/master/dictionaries/polish_interlingua.txt