Method and device for extracting relations from texts

A text and relational technology, applied in the field of computer-readable media, can solve the problems of low extraction efficiency, poor versatility, and low accuracy

Pending Publication Date: 2020-10-30
ZHIZHESIHAIBEIJINGTECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present disclosure provides a method and device for extracting relations from text, which can effectively solve the problems of low accuracy, poor versatility and low extraction efficiency in relation extraction methods in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for extracting relations from texts
  • Method and device for extracting relations from texts
  • Method and device for extracting relations from texts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0044] It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, relative terms such as "first", "second", etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present disclosure provides a method of extracting a relationship from a text, comprising: generating a sequence annotation of the text using a text annotation model, the sequence annotation comprising an annotation for a word in the text, the annotation comprising an entity annotation of the word and a relationship role of the word, the relationship role comprising one of a subject, a predicate, and an object; generating an entity relationship sequence of the text according to the sequence label; and extracting a relationship result set of the text according to the entity relationship sequence. According to the method and device for extracting the relationship from the text, the problems that in the prior art, a relationship extraction method is low in accuracy, poor in universality and low in extraction efficiency can be effectively solved.

Description

technical field [0001] The present disclosure relates to the technical field of computer internet, in particular to a method, device, electronic equipment and computer-readable medium for extracting relations from texts. Background technique [0002] At present, the methods for extracting relations from texts mainly include two categories. One is to use dependency parsing and template matching to construct relational templates by analyzing the paradigms expressed in Chinese, and then perform syntactic analysis on sentences to find matching templates. Extract triplets; one is to use an unsupervised method to combine relationship extraction and external knowledge graphs, and extract triples that already exist in external knowledge graphs from the corpus to be extracted. However, the method of relying on syntactic analysis and template matching has low accuracy when processing long sentences, and the versatility is poor because the template is not easy to expand; while the meth...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/117G06F40/211G06F40/295G06N3/04
CPCG06F40/117G06F40/211G06F40/295G06N3/049G06N3/044
Inventor 熊杰刘奕志李飞阳王政英胡鸣鹤
Owner ZHIZHESIHAIBEIJINGTECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products