-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0783969
commit 28f9eba
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ODict ❤ Wiktionary | ||
================== | ||
|
||
Wiktionary2ODict is a small Java CLI for converting Wiktionary dumps to ODict-ready XML files. Currently, the CLI only | ||
supports English as the language of the dictionary, but the entries can be for any language supported on Wiktionary. For | ||
example, to create a Chinese-English dictionary, run: | ||
|
||
```bash | ||
$ /path/to/wiktionary2odict/jar zh | ||
``` | ||
|
||
By default, the script will run and produce a `en_zh.xml` file, which can then be passed to the | ||
[ODict compiler](https://github.com/odict/odict). If you wish to change the name of the output file, run the JAR with | ||
the `-o` option: | ||
|
||
```bash | ||
$ /path/to/wiktionary2odict/jar -o chinese.xml zh | ||
``` | ||
|
||
It is recommended to avoid any issues that you have at least Java 8 or up when you run the JAR. |