align()

Move a CoNLL document’s annotations onto its true raw text.

Usage

Source

align(
    doc,
    text,
)

The tokens must appear in text in order, separated only by whitespace.