Skip to content

Releases: annotation/stam-tools

v0.6.1

28 Mar 11:06
Compare
Choose a tag to compare
  • Upgraded to use stam-rust v0.12.0

v0.6.0

15 Mar 18:04
Compare
Choose a tag to compare

This release introduces some major refactoring, many fixes, and some new tools:

  • Upgraded to use stam-rust v0.11.0
  • stam align: tool that aligns identical parts of two (sub)texts using Smith Waterman/Needleman Wunsch. Outputs a transposition following the STAM Transpose specification.
  • stam transpose: new tool implementing the ability to map annotations from one coordinate system to another, given a transposition (e.g. like produced by stam align).
  • stam export: added --alignments parameter that outputs transpositions in TSV format
  • stam batch or stam shell: a tool to invoke stam tools subcommands in sequence. his is a good way to avoid the initialization/serialisation overhead that would normally come from invoking commands one-by-one on the command line. It also works for (limited) interactive use.
  • Loading and merging multiple annotation stores was revised, fixed and applied more consistently across all tools.
  • stam view: Fixes in newline visualisation and added --collapse parameter to hide tags when first loading html.

Removed:

  • stam save is no longer needed, just use stam init / stam annotate.

v0.5.0

22 Feb 16:29
Compare
Choose a tag to compare
  • Made stam-tools available as a library alongside the stam CLI tool. Note however that this Rust API is not considered stable yet and may be subject to change.
  • stam query: implemented output to W3C Web Annotation via --format w3anno parameter.
  • stam view:
    • make tags togglable
    • show popups when tags are hidden
  • stam align: new tool to align two texts (or parts thereof) using Smith Waterman or Needleman Wunsch, results in transposition annotations complying to the STAM transpose specification
  • stam query: allow outputting existing transpositions or other alignments using the --alignments parameter. This outputs to a simple TSV format and is currently limited to two-sided alignments (rather than multiple).

v0.4.0

24 Jan 12:37
Compare
Choose a tag to compare
  • Added stam view tool to visualize annotations in HTML or ANSI text given STAMQL queries (#2)
  • Revised stam query and stam print to use STAMQL queries.
  • stam export is now just an alias for stam query.
  • stam query default column output changed and is auto-detected now based on output type, may now also output row numbers and query variable names.
  • various tools now output temporary IDs if no public ID exists
  • Added a stam grep tool to search by regular expression and return offsets (TSV)
  • Adapted to latest STAM library (v0.9.0)
  • Improved documentation

v0.3.0

19 Oct 08:56
Compare
Choose a tag to compare
  • Adapted to latest STAM library (v0.8.0)
  • stam info: compute and show memory consumption
  • added a strip-ids option to strip public identifiers
  • documentation update

v0.2.0

07 Jun 10:50
Compare
Choose a tag to compare
  • Renamed command to-tsv to export
  • Renamed command to-text to print
  • Implemented import command that imports from TSV files, with support for custom columns, automatic alignment with source text, and reconstructing source text from scratch #1
  • export: added support for output custom columns corresponding to an AnnotationDataSet and DataKey
  • Adapted to latest library (v0.7.0)

v0.1.3

19 Apr 11:15
Compare
Choose a tag to compare
  • Adapted to latest library (stam-rust 0.6.0).

v0.1.2

02 Apr 20:14
Compare
Choose a tag to compare
  • Adapted to latest library (stam-rust 0.5.0). Add support for STAM CSV.
  • Added stam save command

v0.1.1

27 Mar 19:23
Compare
Choose a tag to compare

Builds on stam-rust 0.4.0 (in experimental stage, so these tools are as well), fixes a number of bugs.

  • Reimplemented to-tsv support to be more configurable

v0.1.0

25 Mar 15:02
Compare
Choose a tag to compare

Initial release, builds on stam-rust 0.3.0 (in experimental stage, so these tools are as well).

This release introduces several tools to work with STAM:

  • stam annotate - Add an annotation from a JSON file
  • stam info - Return information regarding a STAM model.
  • stam init - Initialize a new STAM annotationstore
  • stam to-text - Print the text of any resources in the model.
  • stam to-tsv - Convert STAM to a simple TSV (Tab Separated Values) format. This is not lossless but provides a decent view on the data.
  • stam validate - Validate a STAM model.
  • stam tag - Regular-expression based tagger