Skip to content

Label political subtopics

NLP ยท text

Categorize the political sub-topics of texts in Spanish.


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

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

where the object {"param": value} is optional in most cases and if present may contain any of the parameters described in the corresponding section below.


text_col: column:text

A text column to label.


labels: column:list[category]

A column containing the labels assigned to each text.

Back to top