infineac.process_event.corpus_list_to_dataframe#

infineac.process_event.corpus_list_to_dataframe(corpus: list[list[list[list[list[str]]]]]) DataFrame[source]#

Converts a corpus (nested list of texts) to a polars DataFrame with indices, indicating the position of the texts in the corpus: event - presentation or qa - part - paragraph - sentence.