Recent Releases of folia
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.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.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.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
- also serialize when
- Python
Published by proycon over 5 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.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.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.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