Skip to content

0.3.0 - New API and new Codebase

Choose a tag to compare

@awong-dev awong-dev released this 01 Apr 06:20
· 0 commits to 120f1f95add931a372b9dcb3e5305421987d627b since this release

[0.3.0] 2024-03-30 -- New API and new Codebase

  1. This release comes from an entirely new codebase: awong-dev/jieba.
  2. Ownership of hex.pm package changed from lmi to awong.dev

Implementation of awong-dev/jieba was spurred by the
Visual Fonts project and was code-complete with
jieba_rs API exposed in a thread-safe manner (complete with documentation
and tests) before noticing that there was an exisitng hex.pm jieba pakcage.

After the name collision was discovered, ljm and awong-dev decided to
transfer package ownership and release a new version of jieba using the
new codebase.

The previous 0.2.0 API was added into the awong-dev/jieba implementation
as a deprecated API for the 0.3.0 release and will be removed later.

Added

  1. Ability to create multiple Jieba instances instead of depending on one global one.
  2. APIs exposing all functionality in messense/jieba_rs including
    1. Ability to load custom dictionaries to extend the segmentation
    2. Simple exposure of the TFIDF and TextRank APIs
  3. Doctests for all exposed APIs

Deprecated

  1. Jieba.cut/1 is being removed because other APIs are more flexible and provide full thread-safety guarantees.

Changed

  1. hex.pm jieba packaged ownership transfered from ljm to awong-dev
  2. Source tree is now at awong-dev/jieba
  3. Documentation written primarily in English