Kaflib is a library which allows creating, editing and reading NAF (and KAF) documents.
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.
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:
<dependency>
<groupId>com.github.ixa-ehu</groupId>
<artifactId>kaflib-naf</artifactId>
<version>1.0.0</version> <!-- Set the latest version here -->
</dependency>
Maven dependency for the KAF version:
<dependency>
<groupId>com.github.ixa-ehu</groupId>
<artifactId>kaflib</artifactId>
<version>1.0.0</version> <!-- Set the latest version here -->
</dependency>
Zuhaitz Beloki
IXA Group
University of the Basque Country (UPV/EHU)
zuhaitz.beloki@ehu.eus