learn-content-engine - v0.13.1
    Preparing search index...

    Interface CardTokenRole

    One token → role annotation on a card.

    Phase 52I / v1.35.0 / P-130. The cloze generator looks up its target blank by matching token against the ElementError.element_key — when a role is present, the generator can pick a same-role distractor pool instead of a position-based heuristic.

    The token is a verbatim slice of the card's front; no whitespace normalisation, so authors can annotate even sub-word morphemes (an accent-bearing letter, an article contraction) if a future generator needs it.

    interface CardTokenRole {
        role: TokenRole;
        token: string;
    }
    Index
    role: TokenRole
    token: string