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

    Interface DiversityOptions

    interface DiversityOptions {
        classifyInflection?: (word: string) => InflectionCategory;
        closedClassWords?: Set<string>;
        windowSize?: number;
    }
    Index

    Properties

    classifyInflection?: (word: string) => InflectionCategory

    Inflection classifier (for the morphological measure).

    closedClassWords?: Set<string>

    Closed-class word set (for the syntactic measure).

    windowSize?: number

    Moving-average window size in words. The papers use 30.