Recent Releases of folia

folia - v2.5.11

  • Remove control characters when normalizing text
  • Fix text serialisation for empty table row with empty cell #28

- Python
Published by proycon almost 2 years ago

folia - v2.5.10

[Sheean Spoel] * Prevent tripping over XML comments #27

[Maarten van Gompel] * Fix missing text delimiter output for empty cells and empty rows #28

- Python
Published by proycon almost 2 years ago

folia - v2.5.9

[Maarten van Gompel] * implement etymology annotation (proycon/folia#105), corrected some old mentions of 'token annotation' to 'inline annotation' * documentation: added missing subtoken classes (proycon/folia#105) * extra software metadata * ignore XML processing instructions (rather than crashing on them) (proycon/foliatools#55) * documentation fixes

[Ko van der Sloot] * updated for FoLiA v2.5.3 * added filename to error message

- Python
Published by proycon about 2 years ago

folia - v2.5.8

  • Added support for a FOLIAPYFORCELOCALSETDIR environment variable that disables remote downloads of set definitions and looks locally instally instead. Enables off-line usage. https://github.com/proycon/flat/issues/182.
  • Metadata update
  • Dropped Python 3.6 support (requiring 3.7+)

- Python
Published by proycon almost 4 years ago

folia - v2.5.7

Bugfix release

- Python
Published by proycon over 4 years ago

folia - v2.5.6

  • Fixes whitespace issues around explicit linebreaks (proycon/folia#101), FoLiA v2.5.1

- Python
Published by proycon over 4 years ago

folia - v2.5.5

Better handling of postappend errors, leaving document in a consistent state now (addresses proycon/flat#178)

- Python
Published by proycon over 4 years ago

folia - v2.5.4

Fixes and improvements for the benefit of foliadocserve/flat (in correction handling, reference echecking, and FQL): * https://github.com/proycon/flat/issues/174 * https://github.com/proycon/flat/issues/173 * https://github.com/proycon/flat/issues/170 * https://github.com/proycon/foliatools/issues/38

- Python
Published by proycon over 4 years ago

folia - v2.5.3

Fixing correction handling and text consistency checks (proycon/folia#100) (v2.5.1 and v2.5.2 were not sufficient)

- Python
Published by proycon over 4 years ago

folia - v2.5.2

Previous release was a bit too premature and still had a debug statement

- Python
Published by proycon over 4 years ago

folia - v2.5.1

Bugfix release, fixes correction handling and text consistency checks (https://github.com/proycon/folia/issues/100)

- Python
Published by proycon over 4 years ago

folia - v2.5.0

  • Implement FoLiA v2.5.0 which more strictly defines whitespace behaviour (proycon/folia#88)
    • Adds support for xml:space
    • Implemented t-hspace element
    • Implemented Unicode NFC Normalization when retrieving any text content
  • Implemented processing tags (proycon/folia#93)
  • Added t-lang element (proycon/folia#94)
  • Added a new substitute() method
  • [FQL] Added support for setting textclasses, fixes for proycon/flat#173
  • [FQL] Added support for setting/unsetting processing tags

- Python
Published by proycon almost 5 years ago

folia - v2.4.8

Minor bugfix release: do not serialize metadata attribute if the submetadata element doesn't exist (prevents invalid FoLiA)

- Python
Published by proycon almost 5 years ago

folia - v2.4.7

Bugfix release for handling very large (or many) documents: Enable XMLHUGETREE option by default

- Python
Published by proycon almost 5 years ago

folia - v2.4.6

Bugfix release:

  • the fixunassignedprocessor procedure should assign the first annotator rather than the last (it's more likely that the bug occured where only one annotator existed)

- Python
Published by proycon about 5 years ago

folia - v2.4.5

Bugfix release:

  • Implemented important backward compatibility for text consistency validation prior to FoLiA v2.4.1, fixes the regression in issue #92, relates to #88

- Python
Published by proycon about 5 years ago

folia - v2.4.4

Updated for FoLiA v2.4.2:

  • Extra predefined features on style annotation proycon/folia#90
  • Allow mixing ForeignMetadata and NativeMetadata (proycon/folia#91)

- Python
Published by proycon about 5 years ago

folia - v2.4.3

Re-release after minor fix in test suite; previous release was a bit premature.

- Python
Published by proycon about 5 years ago

folia - v2.4.2

  • Adapted for FoLiA v2.4.1: strip whitespace left and right if there is only a sole string (proycon/folia#88)

- Python
Published by proycon about 5 years ago

folia - v2.4.1

Implemented a move() method alongside copy(), which does no deep copy.

- Python
Published by proycon over 5 years ago

folia - v2.4.0

Updated for FoLiA v2.4.0:

  • Implemented modality annotation (proycon/folia#86)
  • Revised external annotation (proycon/folia#87)
  • Properly handle removal of markup annotation (proycon/foliatools#21)

- Python
Published by proycon over 5 years ago

folia - v2.3.0

  • Implements FoLiA v2.3
    • Adds support for the explicit form serialisation (proycon/folia#84)
  • Bugfixes
    • also serialize when confidence=0 #23
    • fix missing t-ref/@id attribute #19
    • also perform text validation on string elements #15
    • Implemented extra checks for spurious text
    • added requests library as an explicit dependency
    • fixed tests for new xmldiff version

- Python
Published by proycon over 5 years ago

folia - v2.2.5

Minor fix: * no hard fail on missing version, but assume an old version instead #17

- Python
Published by proycon about 6 years ago

folia - v2.2.4

Minor fix in setup.py so it installs even when not on a proper utf-8 locale. (#16)

- Python
Published by proycon about 6 years ago

folia - v2.2.3

  • Fix for items() and added elements() (proycon/foliatools#7)

- Python
Published by proycon about 6 years ago

folia - v2.2.2

Minor bugfix release: * fixed bug with processor= keyword argument to ``Document class

- Python
Published by proycon over 6 years ago

folia - v2.2.1

  • updated for FoLiA v2.2.1
  • prevent adding a duplicate generator subprocessor
  • relax parsing of the xref/@type attribute (it's status as either mandatory or optional was unclear, so let's keep it optional)
  • [FQL] implemented support for relations #11
  • alias was not properly serialised on declarations (#12)

- Python
Published by proycon over 6 years ago

folia - v2.2.0

  • Implemented AbstractWord.alternativelayers() method and made findspans() able to handle alternative spans
  • Various FQL improvements, mainly regarding alternative handling and revised AS ALTERNATIVE directive
  • Allow set-holding and set-less declarations to co-exist (proycon/folia#74)
  • Expanded test suite

- Python
Published by proycon over 6 years ago

folia - v2.1.4

  • Documentation updates
  • Add a fix to the library to handle an automatically fix certain invalid FoLiA where an explicit processor attribute is missing on an annotation and no default can be assigned due to there being multiple possible processors/annotators (need to be explicitly enabled)

- Python
Published by proycon over 6 years ago

folia - 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)

- Python
Published by proycon over 6 years ago

folia - v2.1.2

Bugfix release: * Fix in set definition parsing

- Python
Published by proycon over 6 years ago

folia - v2.1.1

  • prevent creating invalid XML NCName for processor IDs

- Python
Published by proycon over 6 years ago

folia - 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)

- Python
Published by proycon almost 7 years ago

folia - 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

- Python
Published by proycon almost 7 years ago

folia - 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

- Python
Published by proycon almost 7 years ago

folia - v2.0.6

Minor update (minor refactoring)

- Python
Published by proycon almost 7 years ago

folia - 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.

- Python
Published by proycon almost 7 years ago

folia - v2.0.4

Various more fixes and refactoring in the wake of the FoLiA v2 release: * Fixed autodeclaration of setless elements

- Python
Published by proycon almost 7 years ago

folia - v2.0.3

Small fix for backward compatibility in serialisation of FoLiA v1

- Python
Published by proycon almost 7 years ago

folia - v2.0.2

Updated documentation and minor fixes for FoLiA 2.0.1

- Python
Published by proycon almost 7 years ago

folia - v2.0.1

Allow (limited!) serialisation of older FoLiA versions if keepversion is set.

- Python
Published by proycon almost 7 years ago

folia - v2.0.0

Major new release; the former pynlpl.formats.folia module in PyNLPl has now been migrated to this new standalone package, which constitutes the new FoLiA library for Python. Included is the FoLiA library, FQL library and Set Definition library. This release implements the new FoLiA v2.0, consult the release notes there for a comprehensive list of changes. Library documentation is now hosted on https://foliapy.readthedocs.io/en/latest/. Upgrading from pynlpl is usually as easy as doing a pip install folia and replace within your software: from pynlpl.formats import folia with import folia.main as folia. The library is backward compatible.

- Python
Published by proycon almost 7 years ago