Skip to content

Releases: annotation/stam-tools

v0.15.6

29 Apr 20:07

Choose a tag to compare

  • fromxml: fix in pending whitespace processing.

This fixes a bug where some annotations had a missing first character.

v0.15.5

14 Apr 13:17

Choose a tag to compare

  • fromxml: fixed // operator in XPath expressions (they only matched against something, not against nothing)

v0.15.4

02 Apr 14:08

Choose a tag to compare

  • translatetext: fixed constraints (source offset was wrong)

v0.15.3

26 Mar 12:03

Choose a tag to compare

  • fromxml: added scopes to contrain the last marker annotation

(The last marker element (e.g. a pagebreak) would be interpreted
to the very end of the document. Sometimes you want to limit its scope.
This introduces a named scope feature that you can use to do this from the fromxml configuration)

v0.15.2

25 Mar 14:10

Choose a tag to compare

  • Updated for stam-rust v0.18.7, adds support for zero-width annotations in stam translate

v0.15.1

24 Mar 15:09

Choose a tag to compare

  • fromxml: added float and str filters
  • fromxml: added valuetype property on annotationdata to force a specific data type

v0.15.0

19 Mar 16:41

Choose a tag to compare

  • fromxml: important bugfix in node matching behaviour, certain nodes were missed in older versions
  • fromxml: support list values and multiple value matches (#30)
  • fromxml: filters add,sub,mul,div,gt,gte,lt,lte can now deal with other types than just integers
  • fromxml: added external_filters (uses arbitrary external scripts as template filters), see README for documentation.
    • Note that this has security implications, in restricted environments always ensure the fromxml configuration can not be supplied by arbitrary users

v0.14.1

04 Feb 12:13

Choose a tag to compare

  • allow textsuffix and textprefix on annotations using TextSelectorBetweenMarkers. This implementation was missing, so markers could not have textprefixes or suffixes yet.

v0.14.0

04 Dec 13:46

Choose a tag to compare

  • fromxml: annotation IDs are now automatically generated for all that have none explicitly assigned.
  • fromxml: you can now include text prefixes and text suffixes in the main annotation by setting include_textprefix and/or
    include_textsuffix to true.
  • fromxml: you can also explicitly annotated text prefixes/suffixes using annotatetextprefix and annotatetextsuffix

v0.13.8

21 Nov 20:42

Choose a tag to compare

  • xml: implemented XPath-like conditions on any nodes (#29)
  • xml: allow templates to reference absolute paths from the root node (#28)
  • xml: added starts_with and ends_with filters
  • dependency update for roxmltree (previous version was yanked)