Analyze your texts readability.
liblegere delivers the formulas you need to calculate a text's readability.
Install the library with:
zig fetch --save git+https://github.com/artefatto/liblegere.gitThen add to your build.zig:
const legere = b.dependency(
"legere",
.{ .target = target, .optimize = optimize },
);And add the module to your executable or library:
legere.module("legere");Import legere with:
const legere = @import("legere");
const result = legere.ari("Hello, world!"); // 4.0