Method and device for acquiring new words and phrases
A technology of words and phrases, applied in the field of obtaining new words and phrases, can solve problems affecting input speed, etc., and achieve the effect of improving input and reducing the number of keystrokes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] see figure 1 , the embodiment of the present invention provides a method for obtaining a new word group, including:
[0073] 101: Obtain N word units input by the user for N consecutive times, where N is a natural number greater than or equal to 2.
[0074] 102: Calculate the semantic correlation between N word units, and determine whether the N word units can be combined into a new group of words.
[0075] 103: When it is determined that the N word units can be combined into a new word group, add the new word group into the designated thesaurus.
[0076] Further, according to the calculated semantic correlation between the N word units and the preset semantic correlation threshold, it is determined whether the N word units can be combined into a new word group, which may specifically include:
[0077] Judging whether the calculated semantic correlation between the N word units is greater than a preset semantic correlation threshold;
[0078] If it is larger, it is ...
Embodiment 2
[0103] see figure 2 , the embodiment of the present invention provides a method for obtaining a new word group, including:
[0104] 201: Obtain N word units input by the user for N consecutive times, where N is a natural number greater than or equal to 2.
[0105] In the embodiment of the present invention, the user enters a code (which can be a symbol that can realize word input such as pinyin, Wubi font, etc.) by pressing a button, and inputs the word corresponding to the code (i.e., selects the word on the screen) as an input word unit , and, once the character unit of input can be single word (as: China, country etc.), or can be single word (as: peace, liberation etc.), or can be a phrase (as: I love Beijing, Tiananmen etc. ), etc., that is to say, the word unit in the embodiment of the present invention represents the content input by the user once, such as a word, word or phrase, and correspondingly N word units represent the content input by the user for N consecutive...
Embodiment 3
[0135] see image 3 , the embodiment of the present invention provides a method for obtaining a new word group, including:
[0136] 301: Obtain N word units input by the user for N consecutive times, where N is a natural number greater than or equal to 2.
[0137] It is similar to step 201 and will not be repeated here.
[0138] 302: Determine whether the acquired N word units exist in the existing thesaurus and the specified thesaurus, if yes, go to 309; otherwise, go to 303.
[0139] It is similar to step 202 and will not be repeated here.
[0140] 303: Calculate the degree of contextual relevance among the obtained N word units.
[0141] It is similar to the method of calculating the semantic correlation degree in step 203 and will not be repeated here.
[0142] 304: Determine whether the calculated contextual relevance degree is greater than a preset contextual relevance degree threshold, and if so, perform 307; otherwise, perform 305.
[0143] 305: Calculate the degree...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 