read_brat()

Read a brat directory, or one document given its .txt or .ann path.

Usage

Source

read_brat(
    path,
    *,
    verify="raise",
    offset_unit="codepoint",
)