Structured model training method, text structuring method and related devices

The embodiment of the invention provides a text structuring method. The method comprises the steps that a target text to be structured is acquired; Inputting the target text into an entity extractionmodel, and identifying a target entity set in the target text through the entity extraction model; In...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG ZHIQIANG, LI JINGYI, GUO YONGHONG, HE JIA, YANG GUANMEI, LIU QIANNAN, CHEN WEIRAN, JIANG TINGXIN, WANG XIZHEN, DUAN BOCHAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a text structuring method. The method comprises the steps that a target text to be structured is acquired; Inputting the target text into an entity extractionmodel, and identifying a target entity set in the target text through the entity extraction model; Inputting the identified target text of the target entity set into a relation extraction model, and extracting a relation between the target entities through the relation extraction model; And according to the target entities in the target entity set and the relationship between the target entities,performing structured representation on the target text to generate a target structure. In the embodiment of the invention, the conversion speed is high, and the labor cost is saved. 本申请实施例提供了种文本结构化的方法,该方法包括:获取待结构化的目标文本;将所述目标文本输入到实体提取模型,通过所述实体提取模型识别所述目标文本中的目标实体集合;将已识别到所述目标实体集合的目标文本输入到关系提取模型,通过所述关系提取模型提取所述目标实体之间的关系;根据目标实体集合中的目标实体及所述目标实体之间的关系,对所述目标文本进行结构化表示,生成目标结构。本申请实施例中,转换速度快,节省人工成本。