LanguageMachines / libfolia

FoLiA library for C++

Home Page:https://proycon.github.io/folia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub build Language Machines Badge DOI GitHub release Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Libfolia: FoLiA Library for C++

Libfolia (c) CLS/ILK 2010 - 2024
Centre for Language Studies, Radboud University Nijmegen
Induction of Linguistic Knowledge Research Group, Tilburg University
KNAW Humanities Cluster

Website: https://proycon.github.io/folia/ Source repository: https://LanguageMachines.github.io/libfolia Contact: lamasoftware AT science DOT ru DOT nl

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

Installation

This software has been tested to compile with GCC > 4.9 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:

  • Sources
  • Licensing information ( COPYING )
  • Build system based on GNU Autotools

Dependencies:

To be able to succesfully build libfolia from source, you need the following dependencies:

  • ticcutils
  • libxml2-dev (use your distribution's package manager)
  • libicu-dev
  • A sane C++ build environment with autoconf, automake, autoconf-archive, make, gcc 4.9 or higher 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

Documentation

An API reference or tutorial is currently lacking. Contact us if you're intending to use libfolia and are in need of documentation.

Related software

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

Acknowledgements

This software is funded in the scope of CLARIAH project.

About

FoLiA library for C++

https://proycon.github.io/folia

License:GNU General Public License v3.0


Languages

Language:C++ 98.5%Language:M4 0.6%Language:Shell 0.5%Language:C 0.2%Language:Makefile 0.2%