A Word Relevance Judgment Method Based on the Shortest Path
A judgment method and technology of the shortest path, applied in natural language data processing, instruments, calculations, etc., can solve the problems of poor flexibility, increase the accuracy and flexibility of word correlation judgment, low efficiency, etc., to solve the problems of insufficient accuracy, Effects of increasing accuracy and flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Embodiment 1: as Figure 1-2 As shown, a word correlation judgment method based on the shortest path, first establishes a word database, and cleans the word data in the word database, including operations such as removing punctuation marks, removing stop words, and word segmentation, to obtain the corresponding entry; then the user enters two words, obtains the corresponding entry by searching the database, recursively calculates the entry, and obtains the shortest distance between the two words; finally outputs the correlation between the two words through the matching definition.
[0030] Specifically include the following steps:
[0031] Step1: Establish a word database According to authoritative dictionaries such as "Chinese Dictionary" and "Xinhua Dictionary", obtain all the words X i ,i∈[1,N] and the corresponding part of speech X i ′,i∈[1,N], interpretation i∈[1,N], and establish a word database
[0032] Specifically: the following words exist in the wor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


