kurgm / gwv

GlyphWiki data validator

Home Page:https://kurgm.github.io/gwv-view/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gwv

Test codecov

GlyphWiki data validator

グリフウィキに登録されているグリフデータから“気になるグリフ”を抽出するプログラムです。

抽出されたグリフを一覧できるページ: https://kurgm.github.io/gwv-view/

(関連: ↑の一覧ページのソース: https://github.com/kurgm/gwv-view

Installation

pip install git+https://github.com/kurgm/gwv.git@master#egg=gwv

Usage

# Download the target dataset from GlyphWiki
curl https://glyphwiki.org/dump.tar.gz | tar -xzf - dump_newest_only.txt

# Run the program
gwv /path/to/dump_newest_only.txt

(↑を実行すると dump_newest_only.txt と同じディレクトリに gwv_result.json が生成される(フォーマットは今後大きく変更する可能性がある))

Options

  -h, --help            show this help message and exit
  -o OUT, --out OUT     File to write the output JSON to
  --ignore-error        Ignore runtime errors and resume validation of next glyph
  -n [NAMES ...], --names [NAMES ...]
                        Names of validators
  -v, --version         show program's version number and exit

License

MIT

About

GlyphWiki data validator

https://kurgm.github.io/gwv-view/

License:MIT License


Languages

Language:Python 100.0%