idlab-functions-java
December 17, 2025 ยท View on GitHub
Basic functions commonly used by tools developed at KNoWS - IDLab.
The functions in this library are semantically described using the Function Ontology.
Setup
The easiest is to include IDLab Functions as a maven dependency:
<dependency>
<groupId>be.ugent.idlab.knows</groupId>
<artifactId>idlab-functions-java</artifactId>
<version>1.4.0</version>
</dependency>
Building
To build a JAR:
mvn package
To install in your local maven repo:
mvn install
State
Some functions keep state persisted on disk.
Each such function has an argument stateDirPathStr where one can specify the location of the state.
Instead of using the argument stateDirPathStr, one can use the property ifState and pass null to stateDirPathStr.
The java process then needs to be started as java -DifState=/path/to/your/state/directory ...