Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

English synonym recommendation method fusing dictionary and context information

A recommendation method and technology of synonyms, applied in the field of data processing, can solve problems that may even be antonyms, not recommended replacements, etc., to achieve the effect of enriching the diversity of synonyms

Pending Publication Date: 2022-04-29
上海一者信息科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of this method is that the candidate words are diverse and conform to the context of the text to be queried. The disadvantage is that such candidate words are actually co-occurrence words, which are not necessarily synonyms with the word to be queried, and may even be antonyms, especially in the text When the text is short and the context information is insufficient, for example, the text to be queried is "I am fine.", the word to be queried is "fine", and "fine" is masked. Input the masked language model, and the first five candidate words returned are "here", "sorry", "ready", "alive", "not", these words and "fine" are not synonyms, and are not qualified recommended replacements

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
  • English synonym recommendation method fusing dictionary and context information
  • English synonym recommendation method fusing dictionary and context information
  • English synonym recommendation method fusing dictionary and context information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention.

[0043] like Figure 1-7 As shown, an English synonym recommendation method that integrates dictionary and context information includes the following steps:

[0044] Step S1: Enter the word to be queried, and obtain the part of speech, English definition and synonyms of the word; the open source English dictionary used in this application is WordNet, for example, input "good", return the definition and corresponding synonyms, such as image 3 shown;

[0045] Step S2: Since the sorting of the dictionary definitions is fixed, use the context information provided by the dictionary definition to calculate the contextual similarity between it and the text where the queried word is located; then sort the diction...

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

A dictionary and context information fused English synonym recommendation method comprises the following steps: inputting a query term word, and obtaining the part-of-speech, English definition and synonyms of the word; calculating a context similarity degree between context information provided by the dictionary definition and a text in which the queried word is located by using the context information provided by the dictionary definition, and carrying out descending sort on the dictionary definition; covering a word to be queried, constructing a text with a mask, inputting the text into the mask language model, and obtaining a context-based candidate word; calculating the semantic similarity between the candidate words and the words to be queried, and screening out qualified candidate words; and matching the qualified candidate words with the dictionary definitions based on the reordered dictionary definitions and dictionary synonyms, and combining the synonyms to generate a new recommended synonym list. According to the method, the defects in the prior art are overcome, after the to-be-queried word and the sentence where the to-be-queried word is located are input, the definition and the synonym of the to-be-queried word most conforming to the current sentence context can be output, and the diversity of the synonym under each definition is enriched.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an English synonym recommendation method that integrates dictionaries and context information. Background technique [0002] In English writing scenarios, the synonym recommendation function can help authors write more authentic articles. The existing synonym recommendation methods are divided into the following two types: [0003] First, query various English dictionaries to return the part of speech, definition and synonyms of the word. The advantage of this method is that the part of speech, definition, and synonyms of a word correspond. Users can find the corresponding word definition and synonyms according to the specific text. The disadvantage is that the synonyms in the dictionary are limited and fixed, and context information, multi-speech and polysemous words are not used. , which increases the user's query time. For example, "good" has 3 parts of speech and 28...

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): G06F40/211G06F40/216G06F40/247G06F40/284G06F17/11
CPCG06F40/247G06F40/284G06F40/216G06F40/211G06F17/11
Inventor 陈件潘丽婷张井
Owner 上海一者信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products