PsychiatryNLPKit.data.Section

class PsychiatryNLPKit.data.Section(text, name=None)[source]

A named text segment within a larger document.

The name is used as the key in analysis outputs. If omitted, the container auto-generates section names such as section_0 and section_1.

__init__(text, name=None)[source]

Methods

__init__(text[, name])

__init__(text, name=None)[source]