@maschinenlesbar.org/dip-bundestag-cli
    Preparing search index...

    Function splitPassages

    • text in passages of at most max characters, cut at line ends (a longer line at a space, else hard): every character kept, in order, so the passages joined give the text back.

      Parameters

      • text: string
      • max: number = PASSAGE_CHARS

      Returns string[]