Skip to content
An extensive Python library for dealing with FoLiA (Format for Linguistic Annotation) documents, a rich XML-based format for linguistic annotation finding application in Natural Language Processing (NLP). This library was formerly part of PyNLPl.
Branch: master
Clone or download
Latest commit 8545964 May 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
folia-repo @ 7f5f53c fixing tests May 21, 2019
folia fix May 22, 2019
.gitignore Add .gitignore Nov 1, 2016
.gitmodules switching submodule to master branch Mar 13, 2019
.travis.yml do submodule init for travis Mar 25, 2019
AUTHORS added readhme, authors Jul 6, 2010
LICENSE README and description update Nov 20, 2015 [migration from pynlpl] Sep 6, 2018
README.rst fixed travis badge Mar 23, 2019
requirements.txt requirement update Mar 12, 2019
setup.cfg AbstractExtendedToken annotation should be allowed under all Structur… Nov 25, 2012 bigger version bump to track folia May 17, 2019


FoLiA Library for Python Documentation Status

This Python module provides an extensive library for parsing, creating and otherwise processing documents in the Format for Linguistic Annotation, aka FoLiA. It has been in active development since 2010 and used by numerous Natural Language Processing (NLP) tools.

This library used to be part of PyNLPL (pynlpl.formats.folia), but is now in the process of migration to its own (i.e. this) project.


FoLiA development is funded in the scope of the larger CLARIN-NL project and its successor CLARIAH.

The following modules are available:

  • folia.main - The main library
  • folia.setdefinition - A module for FoLiA Set Definitions
  • folia.fql - Support for the FoLiA Query Language (FQL)


Download and install the latest stable version directly from the Python Package Index with pip install folia (or pip3 for Python 3 on most systems). For global installations prepend sudo.

Alternatively, clone this repository and run python install (or python3 install for Python 3 on most system. Prepend sudo for global installations.

The Python FoLiA library is also included in our LaMachine distribution.


API Documentation and tutorials can be found here .

You can’t perform that action at this time.