Interface FuzzyToken

A word of a text and where it stands in it.

interface FuzzyToken {
    word: string;
    start: number;
    end: number;
}

Properties

Properties

word: string

The word as it is compared, before the index folds its case and accents.

start: number

Where the word starts in the text, in UTF-16 units.

end: number

Where the word ends, one past its last unit.