Releases: annotation/stam-python
Releases · annotation/stam-python
v0.12.0
Updated for stam-rust v0.18.3 and stam-tools v0.13.0, implements STAM 1.3
- added extra_target_templates parameter to webannotation() method
- implemented translate() function (STAM Translate extension)
Note: I dropped 32-bit Windows support for the packaged wheels on pypi
v0.11.1
- updated for stam-tools v0.11.1, contains a bugfix for the align_texts function
v0.11.0
This release implements STAM v1.2
- updated for stam-rust v0.17.0 and stam-tools v0.11.0
- Added map datatype for
DataValue
, converts from and to Python dictionaries
- Added
skip_context
and no_auto_context
keyword arguments for WebAnnoConfig
v0.10.2
- updated for stam-rust v0.16.6 and stam-tools v0.9.3
- upgraded other dependencies, including pyo3 0.25
- dropped python 3.7 support for windows
v0.10.1
- upgraded pyo3 from 0.20 to 0.22 (pyo3 API migration), assures Python 3.13 compatibility
- added debug keyword argument to methods that internally use queries
v0.10.0
- Implemented
TextSelection.align_texts()
and AnnotationStore.align_texts()
(parallelised version) for alignment of text using Smith-Waterman/Needleman-Wunsch
- Implemented
TextSelection.select()
- Bugfix: removed some incomplete and obsolete assertions
- Corrected various function signatures and added some missing ones
v0.9.1
- Updated to stam-rust v0.16.2 and stam-tools 0.8.3
- Added
AnnotationStore.annotation(substore=False)
(new keyword argument) to retrieve annotations in the root store only.
- Expanded the API for substores, new methods:
Annotation.substore()
TextResource.substores()
AnnotationDataSet.substores()
- Fixes and tests for substores
v0.9.0
- Upgraded to stam-rust 0.15.0 and stam-tools 0.8.0, STAM 1.1
- Implemented support for substores
- Adapted to changes in stam visualisation
v0.8.4
- implemented split() from stam-tools
- changed add_dataset() to load existing dataset if it already exists
- added tests for merging stores
v0.8.3
- added set_filename(), filename() and get_filename() for stand-off files, also added filename parameter on add_dataset() . This wasn't properly propagated to the Python binding yet. (annotation/stam#21)