Data query method and device and readable medium

A data query and keyword technology, applied in the field of data processing, can solve problems such as inaccurate keyword importance

Active Publication Date: 2019-06-28
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a data query method, device, and readable medium to

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
  • Data query method and device and readable medium
  • Data query method and device and readable medium
  • Data query method and device and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The data query method, device and readable medium provided by the embodiments of the present invention are used to solve the problem of inaccurate importance of keywords in the search string determined in the prior art.

[0034] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention, and in the absence of conflict, the present invention The embodiments and the features in the embodiments can be combined with each other.

[0035] In order to facilitate understanding of the present invention, in the technical terms involved in the present invention:

[0036] 1. Must leave words, which means keywords with high weight in the user's search string, which are relatively important words. If the word is missing in the search string...

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 a data query method and device and a readable medium. The method comprises the following steps: carrying out word segmentation on a search string submitted by a user; aiming ateach keyword obtained after word segmentation, determining a word feature value of the keyword, a first association feature value used for representing a relationship between the keyword and the search string, a second association feature value used for representing a relationship between the keyword and an adjacent word of the keyword in the search string, a word feature value of an adjacent word of the keyword in the search string and a feature value of the search string; Respectively determining the weight of each keyword in the search string according to the word characteristic value of each keyword, the first association characteristic value, the second association characteristic value, the word characteristic value of the adjacent word and the characteristic value of the search string; And based on the weight of each keyword in the search string, determining a query keyword and performing query to obtain a query result of the search string, so that the weight of the obtained keyword can better conform to the actual importance degree of the keyword in the search string.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data query method, device and readable medium. Background technique [0002] In search, the process of document recall is generally as follows: first, word segmentation is performed on the search string (query) to obtain several keywords, then the importance of each keyword is determined, and based on the importance of each keyword, the documents with higher importance are selected. The keyword is used as a query fragment to query the document recall result, and the result of the importance of the keyword directly determines the recall strategy in the search process, and then affects the recall result. [0003] The traditional solution is to determine the weight (importance) of the keyword only by calculating the keyword's Term Frequency (Term Frequency, TF) and Inverse Document Frequency (Inverse Document Frequency, IDF). If the values ​​in the strings are the...

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
IPC IPC(8): G06F16/33
Inventor 黄婷
Owner TENCENT TECH (SHENZHEN) 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