A library for managing KAF documents
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.



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)