Poem retrieval method and system based on semantic analysis

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

Active Publication Date: 2019-04-16
安徽省泰岳祥升软件有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 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 the poetry that meets user needs. The problem of poetry resources

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
  • Poem retrieval method and system based on semantic analysis
  • Poem retrieval method and system based on semantic analysis
  • Poem retrieval method and system based on semantic analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

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

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

[0081] 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;

[0082] 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;

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

Embodiment 2

[0099] 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:

[0100] 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;

[0101] 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;

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

[01...

Embodiment 3

[0109] 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:

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

[0111] 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;

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

[0113] 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 invention provides a poem retrieval method and system based on semantic analysis. The method comprises: obtaining a session text input by a user, judging whether the session text contains necessary attribute information, and determining a retrieval range according to vocabularies corresponding to the necessary attribute information if the session text contains necessary attribute information;and if the session text does not contain necessary attribute information, prompting the user to re-input and obtain a supplementary text re-input by the user by displaying prompt information, obtaining text content containing necessary attribute information in a multi-round session form, determining a retrieval result conforming to the session text, and feeding back the retrieval result. Accordingto the retrieval method provided by the invention, the user is prompted to input the supplementary text in a multi-round session form, so that the problem that poem resources cannot be retrieved dueto the fact that the session text input by the user lacks necessary attribute information is avoided. The problems that a traditional retrieval method has high requirements for input texts and poem resources meeting the requirements of users cannot be retrieved are solved.

Description

[0001] This application claims the priority of the Chinese patent application with the application number 201810557250.3 and the title of the invention "a method and system for poetry retrieval based on semantic analysis" submitted to the China Patent Office on June 1, 2018, the entire contents of which are incorporated by reference in this application. technical field [0002] 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 [0003] 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...

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/27G06F16/35
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