API Reference

Complete API reference for PsychiatryNLPKit. The package is organized into four main modules:

Module

Description

Data Module (PsychiatryNLPKit.data)

Data containers (Section, TextData) and text utilities for organizing clinical text

Analysis Module (PsychiatryNLPKit.analysis)

Analysis functions across seven categories plus BatchAnalyzer orchestration

Model Module (PsychiatryNLPKit.model)

HuggingFace LLM and ViT model wrappers with automatic device detection

Configuration Module (PsychiatryNLPKit.config)

Logging configuration, device detection, and HuggingFace token handling