Skip to content
Command-line utilities for working with the Format for Linguistic Annotation (FoLiA), powered by libfolia (C++), written by Ko van der Sloot (CLST, Radboud University)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



(c) CLST/TiCC/CLiPS 2019

Centre for Language and Speech Technology, Radboud University Nijmegen
Tilburg centre for Cognition and Communication, Tilburg University and
Centre for Dutch Language and Speech, University of Antwerp

This file is part of foliautils foliautils provides a series of programs to make FoLiA processsing more easy. This includes: FoLiA-2text : convert FoLiA documents into plain text FoLiA-txt : convert plain text documents into FoLiA FoLiA-page : convert PAGE documents into FoLiA FoLiA-hocr : convert hocr documents into FoLiA FoLiA-alto : convert ALTO DIDL files into series of FoLiA documents. FoLiA-langcat : assign language tags to the words in a FoLiA document.

FoLiA-idf : count words in a serie of FoLiA documents and generate a .tsv files describing the IDF. FoLiA-stats : gather n-gram statistics from series of FoLiA files FoLiA-collect : collect n-gram statistics of .tsv files produced by FoLiA-stats

FoLiA-correct : correct FoLiA files using correction candidates generated by TICCL-rank (from the ticcltools package)

foliautils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

Comments and bug-reports are welcome at our issue tracker at or by mailing lamasoftware (at)

This software has been tested on:

  • Intel platforms running several versions of Linux, including Ubuntu, Debian, Arch Linux, Fedora (both 32 and 64 bits)
  • MAC platform running OS X 10.10

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:

To install libfolia, first consult whether your distribution's package manager has an up-to-date package. If not, for easy installation of libfolia and all dependencies, it is included as part of our software distribution LaMachine: .

To compile and install manually from source, provided you have all the dependencies installed:

$ bash $ ./configure $ make $ make install

You can’t perform that action at this time.