18 release = lib.importJSON ./release-info/LanguageMachines-libfolia.json;
23 version = release.version;
25 inherit (release) url sha256;
26 name = "libfolia-${release.version}.tar.gz";
40 languageMachines.ticcutils
42 preConfigure = "sh bootstrap.sh";
44 # compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
45 CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
48 description = "C++ API for FoLiA documents; an XML-based linguistic annotation format";
49 mainProgram = "folialint";
50 homepage = "https://proycon.github.io/folia/";
51 license = licenses.gpl3;
52 platforms = platforms.all;
53 maintainers = with maintainers; [ roberth ];
56 A high-level C++ API to read, manipulate, and create FoLiA documents. FoLiA is an XML-based annotation format, suitable for the representation of linguistically annotated language resources. FoLiA’s intended use is as a format for storing and/or exchanging language resources, including corpora.