build_paragraph_break_features

lexnlp.nlp.en.segments.paragraphs.build_paragraph_break_features(lines, line_id, line_window_pre, line_window_post, characters='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+, -./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c', include_doc=None)

Build a feature vector for a given line ID with given parameters.

Parameters
  • lines –

  • line_id –

  • line_window_pre –

  • line_window_post –

  • characters –

  • include_doc –

Returns