Automatic metaphor rhetoric sentence analysis and judgment method based on part of speech, syntax and dictionary

A judgment method and automatic analysis technology, applied in natural language data processing, special data processing applications, instruments, etc., can solve problems such as inability to process metaphorical sentences, and achieve the effect of high degree of automation and high judgment accuracy.

Active Publication Date: 2017-03-15
南城县工业与科技创新投资发展集团有限公司
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But in actual operation, on the one hand, it needs to manually construct a metaphorical feature knowledge base; on the other hand, it needs to manually label the content words in the sentence; and it cannot handle metaphor sentences that the ontology does not appear in the corpus

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
  • Automatic metaphor rhetoric sentence analysis and judgment method based on part of speech, syntax and dictionary
  • Automatic metaphor rhetoric sentence analysis and judgment method based on part of speech, syntax and dictionary
  • Automatic metaphor rhetoric sentence analysis and judgment method based on part of speech, syntax and dictionary

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0146] S1. Use the open source ICTCLAS program to perform word segmentation and part-of-speech tagging on the sentence "the surrounding mountains are like a continuous carpet". The result is:

[0147] Surrounding / part of speech: f; of / part of speech: ude1; mountains / part of speech: n; like / part of speech: v; one / part of speech: m; article / part of speech: q; rug / part of speech: n;

[0148] S2. Use Stanford Parser for syntax analysis, see the analysis results figure 2 ,according to figure 2 The syntax tree shown in , at this time, there are modifiers in the sentence: "surrounding", "a piece" and "continuously". After the sentence modifiers are deleted according to S2, the original sentence is reduced to: mountains are like carpets. Word segmentation and part-of-speech tagging are performed again, and the result is: mountains / part-of-speech: n image / part-of-speech: p; carpet / part-of-speech: n; at this time, the sentence has only two valid nouns, namely "mountains" and "carpet...

Embodiment 2

[0152] S1. Use the open-source ICTCLAS program to perform word segmentation and part-of-speech tagging on the sentence "spring breeze is like a colorful colored pen that outlines the whole world", and the result is: spring breeze / part of speech: n; image / part of speech: v; one / part of speech: m; branch / part of speech: q; put / part of speech: pba; whole / part of speech: b; world / part of speech: n; outline / part of speech: v; of / part of speech: ude1; colorful / part of speech: vl; ; hand / part of speech: n;

[0153] S2. Use Stanford Parser for syntax analysis, see the analysis results image 3 ,according to image 3 The syntax tree shown in ; at this time, according to step S2-1, delete the modifier "one pair"; according to step S-3-2, take "outline the whole world" as cp1, and there are nouns before and after it respectively " "spring breeze" and "hand", so delete "outlining the whole world", and the original sentence is reduced to: spring breeze is like colorful hands. Re-segment...

Embodiment 3

[0157] S1. Segment and part-of-speech the sentence "the devil sitting on the edge of the kang with green eyes like wolf eyes in the dark", the result is:

[0158] Kang Yan / Part of Speech: s; Up / Part of Speech: f; Sitting / Part of Speech: v; Author / Part of Speech: uzhe; De / Part of Speech: ude1; That / Part of Speech: rz; / part of speech: q; eye / part of speech: n; green / part of speech: a; of / part of speech: ude1; like / part of speech: p; :n; eye / part of speech:n;

[0159] S2. The sentence contains five nouns, and the sentence is analyzed syntactically using Stanford Parser. The analysis results are shown in Figure 4 ,according to Figure 4 The syntax tree shown in ; at this time, there are modifiers, such as "sitting on the edge of the kang", "that" and "in the dark night". After removing the modifiers according to the grammatical rules, the sentence is: The devil has green eyes like a wolf eye; Segment the sentence and tag the part of speech again, the result is as follows: gho...

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 invention discloses an automatic metaphor rhetoric sentence analysis and judgment method based on part of speech, syntax and a dictionary. A randomly input sentence is taken as a processing object, and the method comprises the following steps: (1) segmenting words and carrying out part-of-speed tagging; (2) deleting a modifier based on syntactic analysis; (3) deleting redundant ingredients based on a simple subordinate clause; (4) deleting redundant ingredients based on a metaphoric word; (5) reducing a range of a candidate body and a candidate metaphorical object by virtue of dependency relation; (6) screening the candidate body and the candidate metaphorical object according to the dependency relation formed by corresponding words of root nodes; (7) extracting the candidate body and the candidate metaphorical object according to a simple metaphoric sentence extraction rule; and (8) realizing automatic analysis and judgement on a metaphor rhetoric sentence based on automatic judgement of a metaphor rhetoric technique. The method disclosed by the invention is high in automation degree and high in judgement accuracy rate and can be widely applied to automatic metaphor rhetoric analysis and judgment systems of the fields of natural language deep understanding, machine translation, computer-assisted instruction and the like.

Description

technical field [0001] The invention relates to natural language comprehension technology in the field of artificial intelligence, in particular to an automatic analysis and judgment method for metaphorical rhetorical sentences based on parts of speech, syntax and dictionaries. It involves using a computer as a tool, taking random input sentences as processing objects, and relying on technical means such as part-of-speech tagging, syntactic analysis, dependency relations, and computable dictionaries to realize automatic analysis and judgment of metaphorical rhetorical sentences, which can be widely used in deep understanding of natural language , machine translation and computer-aided teaching and other fields of metaphorical rhetoric automatic analysis and judgment system. Background technique [0002] With the development of natural language understanding, artificial intelligence and machine translation, the automatic analysis and understanding of rhetoric has increasingly...

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): G06F17/27
CPCG06F40/211G06F40/242
Inventor 朱新华蔡仁彭琦
Owner 南城县工业与科技创新投资发展集团有限公司
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