Libfolia: FoLiA Library for C++
Libfolia (c) CLS/ILK 2010 - 2018 Centre for Language Studies, Radboud University Nijmegen Induction of Linguistic Knowledge Research Group, Tilburg University
This is a C++ Library, developed by Ko van der Sloot, for working with the Format for Linguistic Annotation (FoLiA). The software is intended for C++ developers, and provides a high-level API to read, manipulate, and create FoLiA documents. This software is a necessary dependency for various other tools that use FoLiA.
libfolia is distributed under the GNU Public Licence v3 (see the file COPYING).
This software has been tested to compile with Gcc or Clang, and runs on the following platforms:
- Intel platforms running several versions of Linux, including Ubuntu, Debian, Arch Linux, Fedora (both 32 and 64 bits)
- MacOS X 10.10 or higher, FreeBSD
Contents of this distribution:
- Licensing information ( COPYING )
- Build system based on GNU Autotools
To be able to succesfully build libfolia from source, you need the following dependencies:
libxml2-dev(use your distribution's package manager)
- A sane C++ build environment with autoconf, automake, autoconf-archive, make, gcc or clang, libtool, pkg-config
To install libfolia, first consult whether your distribution's package manager has an up-to-date package for it. If not, for easy installation of libfolia and all dependencies, it is included as part of our software distribution LaMachine: https://proycon.github.io/LaMachine .
To compile and install manually from source, provided you have all the dependencies installed:
$ bash bootstrap.sh $ ./configure $ make $ make install
and, optionally: $ make check
An API reference or tutorial is currently lacking. Contact us if you're intending to use libfolia and are in need of documentation.
This software is developed in parallel to the FoLiA library for Python (part of PyNLPl), and draws from the same external specification.
Libfolia is used by various in-house projects:
Libfolia is tested (unit and integration tests) using the following extensive test suite:
For more information on FoLiA itself, consult the FoLiA website
This software is funded in the scope of CLARIAH project.