Skip to content

Label political subtopics

NLP ยท text

Categorize the political sub-topics of texts in Spanish.

Usage

The following are the step's expected inputs and outputs and their specific types.

label_political_subtopics(text_col: text) -> (labels: list[category])

Inputs


text_col: column:text

A text column to label.

Outputs


labels: column:list[category]

A column containing the labels assigned to each text.