@willwade/aac-processors
    Preparing search index...

    Interface LexicalRichness

    interface LexicalRichness {
        brunetsW: number | null;
        hapax: number;
        honoresR: number | null;
        tokens: number;
        types: number;
    }
    Index

    Properties

    brunetsW: number | null

    Brunet's index W = N · V^(-0.165). Range ~10–30; LOWER = richer.

    hapax: number

    Hapax legomena (words used exactly once) — count only.

    honoresR: number | null

    Honoré's statistic R = 100·ln N / (1 − V1/V). HIGHER = richer.

    tokens: number

    Number of tokens (N).

    types: number

    Number of distinct words (V).