{'fraction_non_alphanumeric': 0.054027504911591355, 'fraction_numerical': 0.029960707269155205, 'mean_word_length': 5.7006578947368425, 'pattern_counts': {'":': 0, '<': 2, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Frequency of flow limitation using airflow shape.

STUDY OBJECTIVES
The presence of flow limitation during sleep is associated with adverse health consequences independent of obstructive sleep apnea (OSA) severity (apnea-hypopnea index, AHI), but remains extremely challenging to quantify. Here we present a unique library and an accompanying automated method that we apply to investigate flow limitation during sleep.


METHODS
A library of 117,871 breaths (N=40 participants) were visually classified (certain flow limitation, possible flow limitation, normal) using airflow shape and physiological signals (ventilatory drive per intra-esophageal diaphragm EMG). An ordinal regression model was developed to quantify flow limitation certainty using flow-shape features (e.g. flattening, scooping); breath-by-breath agreement (Cohen's ƙ) and overnight flow limitation frequency (R 2, %breaths in certain or possible categories during sleep) were compared against visual scoring. Subsequent application examined flow limitation frequency during arousals and stable breathing, and associations with ventilatory drive.


RESULTS
The model (23 features) assessed flow limitation with good agreement (breath-by-breath ƙ=0.572, p<0.001) and minimal error (overnight flow limitation frequency R 2=0.86, error=7.2%). Flow limitation frequency was largely independent of AHI (R 2=0.16) and varied widely within individuals with OSA (74[32-95]%breaths, mean[range], AHI>15/hr, N=22). Flow limitation was unexpectedly frequent but variable during arousals (40[5-85]%breaths) and stable breathing (58[12-91]%breaths), and was associated with elevated ventilatory drive (R 2=0.26-0.29; R 2<0.01 AHI v. drive).


CONCLUSIONS
Our method enables quantification of flow limitation frequency, a key aspect of obstructive sleep-disordered breathing that is independent of the AHI and often unavailable. Flow limitation frequency varies widely between individuals, is prevalent during arousals and stable breathing, and reveals elevated ventilatory drive.