pos_tagging¶
-
class
POSTaggingTask
(task, model, **kwargs)[源代码]¶ 基类:
paddlenlp.taskflow.lexical_analysis.LacTask
Part-of-speech tagging task for the raw text. :param task: The name of task. :type task: string :param model: The model name in the task. :type model: string :param kwargs: Additional keyword arguments passed along to the specific task. :type kwargs: dict, optional