Closed tschaefermedia closed 8 years ago
# ADD:
The wiktionary.properties file entries are:
# JWKTL 1.0.1 parsed dump file.
wiktionary.language=eng
wiktionary.dumpfile=\GetWords\enwiktionary-20160601-pages-articles-multistream.xml
database.creation=2016-06-15 23:59
database.path=\GetWords
database.pages=4740505
database.entries=5351939
database.sense=12461749
jwktl.version=1.0.1
jwktl.parser_1=de.tudarmstadt.ukp.jwktl.parser.WiktionaryArticleParser
I solved it... It was too simple:
The sulution is:
File f = new File(TARGET_DIRECTORY);
IWiktionaryEdition wkt = JWKTL.openEdition(f);
Best regards!
Glad you found it out so fast! Changed the getting started page to make things more smoothly next time.
what wiktionary files have to be downloaded to be used with this example? specifically what German wiktionary files.
It was one year ago... I can't tell you anymore. I closed this project for me after some tests due to problems I faced with the underlying idea I had planned. Sorry, I can't help you there.
You need a pages-articles dump. For German, use, for example, dewiktionary-20171201-pages-articles.xml.bz2 from http://ftp.acc.umu.se/mirror/wikimedia.org/dumps/dewiktionary/20171201/
Hallo,
I can't figure out where I'm wrong, I used the "tutorial" on https://dkpro.github.io/dkpro-jwktl/documentation/getting-started/
My code is very simple:
But the line:
IWiktionaryEdition wkt = JWKTL.openEdition(TARGET_DIRECTORY);
throws an error: The method openEdition(File) in the type JWKTL is not applicable for the arguments (String), when I try to enter the dump_file as