Releases: proycon/foliapy
Releases · proycon/foliapy
v2.1.3
- migrated annotator2processor from foliatools/foliaupgrade to the library; now handle 'annotator' keyword argument in a backward-compatible manner on element instantiation (fix for proycon/folia#73)
- fix serialisation of annotator attribute (proycon/folia#73)
v2.1.2
v2.1.1
v2.1.0
- Updated for FoLiA v2.1.0
- Implemented TextMarkupReference (t-ref)
- Wider range of nesting of structure elements
- Implemented a constraint parser for deep validation against set definition that specify constraint (proycon/folia#50)
- Various fixes (e.g. for aliases, no longer lose annotator on text declarations, parsing of linebreaks with IDs, fix in test framework)
v2.0.8
- Adapted for FoLiA v2.0.3
- Added
Document.erase()
method to erase annotation types (#3) - fixes for FoLiA v1 compatibility and conversion
- More flexible handling in case of missing (404) set definitions (proycon/flat#147)
- Implemented JSON serialiation for relations
- Various FQL fixes
- Various other fixes
v2.0.7
Bugfix release, implements FoLiA v2.0.2, contains various fixes. Upgrade recommended.
- various FQL fixes, adapted to new PROCESSOR statement (required for FLAT/foliadocserve)
- fix in next() method for querying multiple classes at once
- expanding Provenance data (processors) with a src and format attribute
- handle format attribute on declarations (implementation was missing)
- implemented JSON serialisation of provenance data
- Use AbstractWord interface for Morpheme and Phoneme as intended
- Added Processor.insert() and Provenance.insert()
- Ignore annotator and annotatortype assignments if a processor is already set
v2.0.6
v2.0.5
Another round of significant fixes and refactoring in the wake of the v2 release, mostly to do with backward compatibility. One notable change: this release changes the default value for set
in a lot of functions. Set is now False
when it means any set (useful in querying functions), it is None
to specifically mean no set/setless and of course a string with ideally (but not necessarily) a URL in all other cases.