-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
19 lines (16 loc) · 792 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
kvg-tools
=========
These are tools for converting the KanjiVG data at kanjivg.tagaini.net to points and strokes. Right now it only converts to pointy images in png, to S-Expressions and to single files in the Project Tegaki format. These can be used to train zinnia (http://zinnia.sourceforge.net/) models and other machine learning engines.
Usage
=====
Download the xml release of the KanjiVG data at https://github.com/KanjiVG/kanjivg/releases.
To S-Expressions:
SOURCE=kanjivg-RELEASENUMBER.xml ruby sexp_all_kanji.rb
To csv files of the format: #stroke,x,y
SOURCE=kanjivg-RELEASENUMBER.xml ruby csv_all_kanji.rb
To tegaki xml format:
SOURCE=kanjivg-RELEASENUMBER.xml ruby xml_all_kanji.rb
License
-------
This package is distributed under the terms of the GNU General Public
License.