Semantic analysis based poetry retrieval method and system

A technology of semantic analysis and poetry, applied in the field of poetry retrieval methods and systems based on semantic analysis, can solve problems such as high requirements for input text and inability to retrieve poetry resources, and achieve the effect of improving retrieval efficiency and reducing the amount of data retrieval

Inactive Publication Date: 2018-11-20
北京玄一科技有限公司
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a poetry retrieval method and system based on semantic analysis to solve the problem that traditional retrieval methods have high requirements for input text, and thus cannot retrieve poetry resources that meet user needs

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
  • Semantic analysis based poetry retrieval method and system
  • Semantic analysis based poetry retrieval method and system
  • Semantic analysis based poetry retrieval method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] see figure 1 , is a flow diagram of a poetry retrieval method based on semantic analysis.

[0078] The poetry retrieval method based on semantic analysis provided by this application includes:

[0079] S101: Obtain the session text input by the user;

[0080] S102: According to the content of the conversation text, judge whether the conversation text contains necessary attribute information, and the necessary attribute information includes vocabulary corresponding to the original content of the poem and / or vocabulary describing the poem;

[0081] S103: If the conversation text does not contain necessary attribute information, display prompt information, obtain supplementary text input by the user again, and determine necessary attribute information according to the content of the supplementary text, the prompt information includes asking for necessary attribute information and Prompt to enter information again;

[0082] S104: Determine the retrieval range according t...

Embodiment 2

[0098] In this example, if figure 2 As shown, in order to increase the accuracy of poetry resource retrieval and provide users with richer retrieval results, this application also provides a poetry resource database for retrieval of poetry resources, so as to avoid excessive clutter of network data and irregular classification question. Correspondingly, the application also includes the following steps before searching the poetry resources:

[0099] S201: Acquiring poetry text information, the poetry text information includes the original text of the poem, the description text of the poem, and the appreciation text of the poem;

[0100] S202: Determine poem attribute information according to the poem text information, and the attribute information is a feature vocabulary set corresponding to the text information;

[0101] S203: Classify the poem text information according to the poem attribute information, and determine a classification label for each classification;

[01...

Embodiment 3

[0108] Such as image 3 As shown, the difference between this embodiment and the above-mentioned embodiments is that, according to the content of the conversation text, it is judged whether the conversation text contains necessary attribute information, and the necessary attribute information includes vocabulary and / or description corresponding to the content of the original text of the poem The steps of poetry vocabulary include:

[0109] S301: Extract keywords in the conversation text;

[0110] S302: Obtain the preset corpus corresponding to the necessary attribute information, and match the keywords with the preset corpus, the preset corpus includes vocabulary corresponding to the original content of the poem preset in the database, and / or words describing poetry;

[0111] S303: According to the matching result, determine that keywords corresponding to the preset corpus are necessary attribute information.

[0112] In the existing retrieval process, the vocabulary in the...

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 invention provides a semantic analysis based poetry retrieval method and system. The method includes: determining whether a conversation text contains necessary attribute information afterthe conversation text input by a user is acquired, and determining a retrieval range according to a word corresponding to the necessary attribute information if the conversation text contains the necessary attribute information; and prompting the user to perform re-inputting and acquiring a supplementary text re-input by the user by displaying a prompt message if the conversation text does not contain the necessary attribute information, acquiring the text content containing the necessary attribute information in the form of multiple rounds of conversation, and determining a retrieval resultmeeting the conversation text and feeding the retrieval result back. The retrieval method prompts the user to input the supplementary text in the form of multiple rounds of conversation, thereby avoiding the problem that the poetry resources cannot be retrieved because the conversation text input by the user lacks the necessary attribute information. The problem that the traditional retrieval methods have high requirements on the input text, and cannot satisfy the requirement of the users for the poetry resources can be solved.

Description

technical field [0001] The present application relates to the technical field of text semantic analysis, in particular to a method and system for retrieval of poetry based on semantic analysis. Background technique [0002] Since the popularization of vernacular Chinese, traditional literary language has ceased to be the mainstream of everyday language. Coupled with the impact of Internet language on it, traditional literary works, especially classical Chinese and poetry, are often misinterpreted by users, which not only affects the inheritance of culture and literature education, and wanton trampling on traditional culture. In order to facilitate the dissemination of traditional culture, in the field of traditional literature, communication and appreciation resources will be provided to poetry lovers through the Internet, aiming to let more people appreciate the beauty of poetry and the fun of ancient Chinese, and improve cultural literacy. [0003] Due to the crystallizat...

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/27G06F17/30
CPCG06F40/289G06F40/30
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