Skip to content

Releases: proycon/foliapy

v2.1.3

06 Jun 21:03
Compare
Choose a tag to compare
  • 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

29 May 17:35
Compare
Choose a tag to compare

Bugfix release:

  • Fix in set definition parsing

v2.1.1

29 May 09:55
Compare
Choose a tag to compare
  • prevent creating invalid XML NCName for processor IDs

v2.1.0

22 May 12:06
Compare
Choose a tag to compare
  • 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

26 Apr 20:34
Compare
Choose a tag to compare
  • 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

16 Apr 11:04
Compare
Choose a tag to compare

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

01 Apr 19:26
Compare
Choose a tag to compare

Minor update (minor refactoring)

v2.0.5

01 Apr 15:15
Compare
Choose a tag to compare

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.

v2.0.4

23 Mar 12:23
Compare
Choose a tag to compare

Various more fixes and refactoring in the wake of the FoLiA v2 release:

  • Fixed autodeclaration of setless elements

v2.0.3

22 Mar 17:21
Compare
Choose a tag to compare

Small fix for backward compatibility in serialisation of FoLiA v1