Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
November 5, 2014 12:33
March 26, 2015 11:23
March 22, 2018 11:42


Kaflib is a library which allows creating, editing and reading NAF (and KAF) documents.

Compiling the library with maven

To compile the library, clone this repository and do 'mvn package'. It will create a JAR into 'target' directory. There are two branches in the repository:

  • naf: the library version to work with NAF documents.
  • kaf: the library version to work with KAF documents.

Using the library as a maven dependency

You can find Kaflib in the Maven Central Repository. It is split in two different artifacts: the NAF version (kaflib-naf) and the KAF version (kaflib).

This is what you need to put in your pom.xml file to make use of kaflib:

Maven dependency for the NAF version:

    <version>1.0.0</version> <!-- Set the latest version here -->

Maven dependency for the KAF version:

    <version>1.0.0</version> <!-- Set the latest version here -->

Contact information

Zuhaitz Beloki
IXA Group
University of the Basque Country (UPV/EHU)