Skip to content

v0.5.0

Compare
Choose a tag to compare
@tushuhei tushuhei released this 01 Mar 03:05
· 642 commits to main since this release
638b82b

Highlights

  • No major change in using default parsers.
  • If you're using a custom model, you need to update it. Read on the "Updating Models" section.
  • The defineClassAs method in javascript/src/html_processor.ts is removed.

Updating Models

As described in #112, the model file structure has been updated for performance improvement and file size reduction. The change is simple; it just adds one layer depth by grouping features as the following example shows.

Before:

{"UW1:a": 123, "UW3:b": 271}

After:

{"UW1": {"a": 123}, "UW3": {"b": 271}}

You can update your custom model to the latest by running scripts/translate_model.py.

$ python translate_model.py --format=json old-model.json > new-model.json

What's Changed

Full Changelog: v0.4.1...v0.5.0