Skip to content

Releases: isaacus-dev/semchunk

v3.2.5

28 Oct 02:13

Choose a tag to compare

Changed

  • Switched to more accurate monthly download counts from pypistats.org rather than the less accurate counts from pepy.tech.

3.2.4

26 Oct 04:51
e14506a

Choose a tag to compare

Fixed

  • Fixed splitters being sorted lexographically rather than by length, which should improve the meaningfulness of chunks.

v3.2.3

26 Oct 04:51

Choose a tag to compare

Fixed

v3.2.2

09 Jun 08:16

Choose a tag to compare

Fixed

  • Fixed IndexError being raised when chunking whitespace only texts with overlapping enabled (#18).

v3.2.1

09 Jun 08:16

Choose a tag to compare

Fixed

  • Fixed minor typos in the README and docstrings.

v3.2.0

20 Mar 04:46

Choose a tag to compare

Changed

  • Significantly improved the quality of chunks produced when chunking with low chunk sizes or documents with minimal varying levels of whitespace by adding a new rule to the semchunk algorithm that prioritizes splitting at the occurrence of single whitespace characters preceded by hierarchically meaningful non-whitespace characters over splitting at all single whitespace characters in general (#17).

v3.1.3

11 Mar 06:17

Choose a tag to compare

Changed

  • Added mention of Isaacus to the README.

Full Changelog: v3.1.2...v3.1.3

v3.1.2

06 Mar 11:16

Choose a tag to compare

Changed

  • Changed test model from isaacus/emubert to isaacus/kanon-tokenizer.

Full Changelog: v3.1.1...v3.1.2

v3.1.1

18 Feb 05:02

Choose a tag to compare

Added

  • Added a note to the quickstart section of the README advising users to deduct the number of special tokens automatically added by their tokenizer from their chunk size. This note had been removed in version 3.0.0 but has been readded as it is unlikely to be obvious to users.

3.1.0

16 Feb 10:14

Choose a tag to compare

Added

  • Introduced a new cache_maxsize argument to chunkerify() and chunk() that specifies the maximum number of text-token count pairs that can be stored in a token counter's cache. The argument defaults to None, in which case the cache is unbounded.