named_entity_recognition

class NERTask(model, task, **kwargs)[源代码]

基类:paddlenlp.taskflow.knowledge_mining.WordTagTask

This the NER(Named Entity Recognition) task that convert the raw text to entities. And the task with the wordtag model will link the more meesage with the entity. :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