Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 644 Bytes

File metadata and controls

41 lines (26 loc) · 644 Bytes

liblegere

Analyze your texts readability.

liblegere delivers the formulas you need to calculate a text's readability.

Usage

Add to your Zig project

Install the library with:

zig fetch --save git+https://github.com/artefatto/liblegere.git

Then 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");

Using a formula in your code

Import legere with:

const legere = @import("legere");

const result = legere.ari("Hello, world!"); // 4.0