Skip to content

Releases: annotation/stam-rust

v0.5.0

02 Apr 20:11
Compare
Choose a tag to compare

This release is ready for experimentation, but not for production use yet. The API hasn't stabilized yet.

  • Implemented STAM CSV support
  • Major refactoring and various bugfixes

v0.4.0

27 Mar 19:16
Compare
Choose a tag to compare

This release is ready for experimentation, but not for production use yet. The API hasn't stabilized yet.

  • reimplemented search_text() to return results in textual order and implemented support for disallowing overlapping results
  • reimplemented utf8byte_to_charpos to be more efficient (using byte2charmap index now)
  • changed passing Config , required in more places (and with ownership)
  • renamed from_str() to from_json()
  • adding method positionindex_len() to TextResource

v0.3.0

25 Mar 14:52
Compare
Choose a tag to compare

This third release makes the library ready for experimentation, but not for production use yet.

A lot has been implemented:

  • auto-generated IDs, enabled by default
  • support for reading from stdin and outputting to stdout instead of reading from/to file
  • searching in working directory when loading/saving files
  • add multiple annotations from a json file (annotate_from_file())
  • merge multiple annotation stores into one
  • powerful regular expression based text search via search_text()
  • unicode character position to utf8 byte conversion
  • configurability via the Config class
  • Serialisation/deserialisation to/from stand-off files via the @include mechanism
  • Renamed to_string() to to_json()
  • Ordered iteration over text selections in a resource
  • a position index that aids in mapping text offsets to annotations and enforces an ordering
  • Initial support for internal ranged selectors, improving the space efficiency of complex selectors (annotation/stam#11)
  • More efficient unicode points to utf8 byte conversion
  • Improved JSON error feedback, and error feedback in general
  • Many bugfixes and major refactoring

v0.2.0

06 Feb 21:47
Compare
Choose a tag to compare

This is a second initial release. This library is an an early stage of development. Not ready for production use yet.

A lot has been implemented in this release, iterators and reverse indices being one of the new features, and a lot from the previous release has been refactored and improved.

v0.1.0

13 Jan 18:23
Compare
Choose a tag to compare

Initial release. This library is an an early stage of development. Not ready for production use yet.

Implemented at this stage is the core model and serialisation from/to STAM json.