Lexical processing method and device
By splitting and displaying words in layers, the problem of word memory difficulty and low efficiency is solved, helping users understand the rules of word formation, reducing memory difficulty and improving learning efficiency.
Patent Information
- Application Number
- CN202011273473.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-11-13
AI Technical Summary
In the process of learning words, users need to memorize a large number of similar words, which leads to increased memory difficulty and low efficiency, and it is easy to forget over time.
By splitting the words input by the user, sub-words and affixes are obtained, and displayed in layers to help users understand the rules of word formation and memory.
It reduces the difficulty of word memory and improves learning efficiency. By splitting and displaying the rules of word formation, it helps users better grasp the meaning and usage of words.
Smart Images

Figure CN112434521B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a vocabulary processing method and device. Background Art
[0002] With the development of society, language is becoming more and more important in the lives and work of users, and more and more users are learning languages (such as English).
[0003] Currently, users can use dictionaries when learning words. The dictionary can provide corresponding pronunciation information and interpretation information based on the words input by the user to help the user learn the words.
[0004] The inventors found in the process of implementing the embodiments of the present invention that users can temporarily remember words based on the information provided by the dictionary. However, in the learning process, a large number of words often need to be remembered, and there are similarities between the words. Therefore, as time accumulates, the remembered words will be forgotten or confused with other words, which not only reduces the learning efficiency, but also increases the difficulty of word memory. Summary of the invention
[0005] The embodiments of the present invention provide a vocabulary processing method and device, which can improve the learning efficiency of words and reduce the difficulty of learning words.
[0006] In order to solve the above problem, an embodiment of the present invention discloses a vocabulary processing method, including:
[0007] Splitting the word input by the user, the splitting result obtained includes: at least one subword and at least one affix;
[0008] The words and the split results are displayed in layers.
[0009] On the other hand, an embodiment of the present invention discloses a vocabulary processing device, including:
[0010] A word splitting module is used to split the word input by the user, and the splitting result obtained includes: at least one sub-word and at least one affix; and
[0011] The layered display module is used to display the words and the split results in layers.
[0012] In another aspect, an embodiment of the present invention discloses a device for processing periodic events, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations:
[0013] Splitting the word input by the user, the splitting result obtained includes: at least one subword and at least one affix;
[0014] The words and the split results are displayed in layers.
[0015] In yet another aspect, an embodiment of the present invention discloses a machine-readable medium having instructions stored thereon, which, when executed by one or more processors, causes the device to perform one or more of the vocabulary processing methods described above.
[0016] The embodiments of the present invention include the following advantages:
[0017] The embodiment of the present invention splits a word and displays the word and its corresponding split results in layers. The above-mentioned layered display can provide the splitting process of the word, which can help users understand the composition of the word.
[0018] On the one hand, the splitting of the embodiment of the present invention can decompose a long word into an affix and a shorter sub-word, and the user can memorize the affix and the sub-word respectively, thereby reducing the difficulty of memorizing the word. On the other hand, the splitting of the embodiment of the present invention can help the user understand the composition rules of the word, and learn the word based on the composition rules, which can improve the learning efficiency of the word.
[0019] For example, the hierarchical display of the embodiment of the present invention can present the process of combining roots and affixes step by step to obtain the word input by the user, that is, it can present the evolution process from roots and affixes to words. Therefore, it can not only help users understand the composition rules of words, but also reduce the difficulty of memorizing words based on the memory of the split results. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0021] Figure 1 It is a schematic diagram of an application environment of a vocabulary processing method according to an embodiment of the present invention;
[0022] Figure 2 is a flowchart of steps of an embodiment of a vocabulary processing method of the present invention;
[0023] Figure 3 is a structural block diagram of an embodiment of a vocabulary processing device of the present invention;
[0024] Figure 4is a block diagram of an apparatus 800 for vocabulary processing according to the present invention; and
[0025] Figure 5 It is a schematic diagram of the structure of the server in some embodiments of the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] In order to solve the technical problems of low learning efficiency and great difficulty in memorizing words, an embodiment of the present invention provides a vocabulary processing solution, which may include: splitting the words input by the user, and the obtained split results may include: at least one sub-word and at least one affix; and displaying the above words and the above split results in layers.
[0028] The word formation of some languages has its own rules. The components of a word can be called morphemes. Morphemes include roots and affixes. Among them, the root is the core part of the word, and the meaning of the word is mainly reflected by the root. The root can form a word alone or be combined with an affix to form a word. Affixes can include prefixes or suffixes. Prefixes are usually used to change the meaning of a word, and suffixes are usually used to determine the part of speech of a word.
[0029] The embodiment of the present invention splits words, and displays the words and their corresponding split results in layers. The above-mentioned layered display can provide the splitting process of words, which can help users understand the composition of words. On the one hand, the splitting of the embodiment of the present invention can decompose longer words into affixes and shorter sub-words, and users can memorize affixes and sub-words respectively, thereby reducing the difficulty of memorizing words. On the other hand, the splitting of the embodiment of the present invention can help users understand the composition rules of words, and learning words based on the composition rules can improve learning efficiency. For example, the layered display of the embodiment of the present invention can provide a process of combining roots and affixes step by step to obtain the word input by the user. The above-mentioned combination process can not only help users understand the composition rules of words, but also can reduce the difficulty of memorizing words based on the memory of the splitting results.
[0030] The vocabulary processing method provided by the embodiment of the present invention can be applied in application environments such as websites and / or APPs (Applications). For example, the embodiment of the present invention can be applied in the application environment of dictionaries or translations.
[0031] The vocabulary processing method provided by the embodiment of the present invention can be applied to Figure 1 In the application environment shown, Figure 1 As shown, the client 100 and the server 200 are located in a wired or wireless network, and the client 100 and the server 200 perform data exchange through the wired or wireless network.
[0032] Optionally, the client 100 can run on a terminal, which specifically includes but is not limited to: smart phones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, car computers, desktop computers, set-top boxes, smart TVs, wearable devices, etc.
[0033] According to an embodiment, the client 100 may receive a word input by a user, split the word input by the user to obtain a split result, and display the word and the split result in layers.
[0034] According to another embodiment, the client 100 may receive a word input by a user and send the word to the server 200. The server 200 may split the word input by the user to obtain a split result, and send the word and the hierarchical display structure corresponding to the split result to the client 100, so that the client can display the hierarchical display structure. The hierarchical display structure may include: a tree structure or a table structure, etc. It can be understood that any data structure that can present a hierarchy is within the protection scope of the hierarchical display structure of the embodiment of the present invention.
[0035] Method Embodiment
[0036] Reference Figure 2 , shows a flowchart of a vocabulary processing method embodiment of the present invention, which may specifically include the following steps:
[0037] Step 201: Split the word input by the user, and the split result obtained may include: at least one sub-word and at least one affix;
[0038] Step 202: Display the above words and the above split results in layers.
[0039] Figure 2 At least one step of the illustrated embodiment may be executed by a client. Of course, the embodiment of the present invention does not limit the specific execution subject of each step.
[0040] In step 201, the word input by the user may be received by keyboard input, voice input, or copy and paste, etc. For example, in the application environment of the dictionary, an input box may be provided, and the word input by the user may be received through the input box.
[0041] In one embodiment of the present invention, the input word can be split according to the word composition rules. Specifically, a prefix set or a suffix set can be predetermined, and a plurality of preset prefixes can be stored in the prefix set, and a plurality of preset suffixes can be stored in the suffix set. In this way, the above-mentioned splitting of the word input by the user can include: matching the beginning part of the word with the preset prefix in the prefix set to obtain the prefix included in the word; or, matching the end part of the word with the preset suffix in the suffix set to obtain the suffix included in the word.
[0042] In actual applications, when a word input by a user is split, if the word includes neither a prefix nor a suffix, the splitting fails. For example, the word "believe" includes neither a prefix nor a suffix.
[0043] Alternatively, the word input by the user is split, and if the word includes any one or a combination of a prefix and a suffix, a successful split can be obtained, in which case a corresponding split result can be obtained.
[0044] Specifically, the split result may include: subwords and prefixes. For example, the word "disagree" includes: the subword "agree" and the prefix "dis-".
[0045] Alternatively, the split result may include: subwords and suffixes. For example, the word "believable" includes: subword "believ(e)" and suffix "-able".
[0046] Alternatively, the split result may include: subwords, prefixes, and suffixes. For example, the word "unbelievable" includes: subwords "believ(e)", prefix "un-", and suffix "-able".
[0047] In another embodiment of the present invention, the mapping relationship between words and split results can be pre-stored; thus, the split result corresponding to the word input by the user can be determined based on the mapping relationship.
[0048] It should be noted that in the process of combining roots and affixes, the original form of the root and the affix can be combined. In this case, the word before splitting can include: the character string corresponding to the original form of the root. For example, the root "agree" and the prefix "dis-" are directly combined into the word "disagree". Therefore, in the process of splitting the word "disagree", the word "disagree" can be split into: the root "agree" and the prefix "dis-".
[0049] In the process of combining the root and the affix, the inflection of the root may be combined with the affix. In this case, the word before splitting may include: a character string corresponding to the inflection of the root.
[0050] For example, in the process of combining "believe" with the suffix "-able", "believe" needs to be deformed: remove the "e" in "believe", combine the deformed "believ" with the suffix "-able" to obtain the word "believable"; therefore, in the process of splitting the word "believable", the word "believable" can be split into the root deformation "believ" and the suffix "-able", and the root deformation "believ" is restored, specifically, "e" is added after the root deformation "believ" to obtain the root "believ(e)".
[0051] For another example, in the process of combining "happy" with the suffix "-ness", "happy" needs to be transformed: the "y" at the end of "happy" is changed to "i", and the transformed "happi" is combined with the suffix "-ness" to obtain the word "happiness"; therefore, in the process of splitting the word "happiness", the word "happiness" can be split into the root transformation "happi" and the suffix "-ness", and the root transformation "happi" is restored, specifically, the "i" at the end of the root transformation "happi" is changed to "y" to obtain the root "happy".
[0052] In the embodiment of the present invention, optionally, the above splitting may specifically include: splitting at least one level.
[0053] The embodiment of the present invention can perform one-level splitting. One-level splitting can decompose a longer word into an affix and a shorter sub-word, and the user can memorize the affix and the sub-word separately, thereby reducing the difficulty of memorizing the word.
[0054] It should be noted that, for a word including only one affix, one level of splitting can complete the splitting and obtain the root and affix corresponding to the word. However, for a word including multiple affixes, one level of splitting usually cannot complete the splitting and thus cannot obtain the root corresponding to the word.
[0055] The embodiment of the present invention can realize multiple levels of word splitting. Through multiple levels of splitting, the root as the core of the word can be obtained, so that the process of combining word-forming morphemes such as roots and affixes into words can be presented to the user. The detailed splitting can not only reduce the difficulty of memorizing words, but also help users better grasp the composition rules of words and improve the learning efficiency of words.
[0056] The embodiment of the present invention can continuously split the user's words until the obtained sub-words cannot be split any further.
[0057] Optionally, the above splitting may include: at least one level of splitting, and the splitting result of one level may include: root and affix. The root is the core part of the word, and the meaning of the word is mainly reflected by the root. Generally, the root is inseparable. Therefore, the splitting of the embodiment of the present invention can obtain inseparable roots to increase the depth of the splitting.
[0058] In an optional embodiment of the present invention, the above-mentioned splitting of the words input by the user may specifically include:
[0059] Performing a first split on the word input by the user, the first level split result obtained may include: a first subword and a first affix;
[0060] After obtaining the first subword, it can be determined whether the first subword can be split. If so, the first subword is split into a second level, and the second level split result obtained may include: the second subword and the second affix; if not, the splitting can be terminated.
[0061] It should be noted that after obtaining the second sub-word, you can continue to determine whether the second sub-word can be split. If so, perform a third split on the second sub-word, and the third level split result obtained may include: a third sub-word and a third affix; if not, the splitting can be terminated.
[0062] In order to increase the depth of the splitting to obtain indivisible roots, in an optional embodiment of the present invention, the above-mentioned splitting of the word input by the user may specifically include: performing the i-th level splitting on the word input by the user or the (i-1)-th level split sub-word, and the obtained splitting results include: the i-th level sub-word and the i-th level affix; i can be a natural number greater than 0; judging whether the i-th level sub-word is splittable, and if so, performing the (i+1)-th level splitting, otherwise terminating the splitting.
[0063] In the embodiment of the present invention, after completing the i-th level splitting, it can be determined whether the i-th level sub-words can be split. If so, the (i+1)-th level splitting can be performed until an indivisible root is obtained; otherwise, the splitting can be terminated.
[0064] The word splitting process is explained through a specific example.
[0065] Example 1:
[0066] In Example 1, the word input by the user is "aggressiveness". "Aggressiveness" is a noun, and its meaning is "aggressive spirit; aggressiveness".
[0067] The word splitting process specifically includes:
[0068] Step A1, splitting "aggressiveness" into a first subword "aggressive" and a suffix "-ness";
[0069] "aggressive" (adjective: aggressive, enterprising) + "-ness" (noun suffix, quality, state) --> "aggressiveness" (noun: enterprising spirit, aggressiveness).
[0070] Step A2: determine that the first subword "aggressive" can be further split, and split "aggressive" to obtain the second subword "aggress" and the suffix "-ive".
[0071] "aggress" (verb: attack) + "-ive" (adjective suffix: tending to...) --> "aggressive" (adjective: aggressive, enterprising).
[0072] Step A3: If it is determined that the second subword "aggress" cannot be further split, the splitting is terminated.
[0073] Example 2:
[0074] In Example 2, the word input by the user is "unbelievable". "Unbelievable" is an adjective, and its meaning is "unbelievable".
[0075] The word splitting process specifically includes:
[0076] Step B1, splitting "unbelievable" into the first subword "believable" and the prefix "un-";
[0077] "believable" (adjective: believable) + prefix "un-" (adjective suffix, negative meaning) --> "unbelievable" (adjective: unbelievable).
[0078] Step B2: if it is determined that the first subword "believable" can be further split, "believable" is split to obtain the second subword "believ(e)" and the suffix "-able".
[0079] “believe” (verb: believe) + “-able” (adjective suffix: able to…) --> “believable” (adjective: trustworthy)).
[0080] Step B3: If it is determined that the second subword "believe" cannot be further split, the splitting is terminated.
[0081] In step 202, the above words and the above split results are displayed in layers. The above layered display can provide the splitting process of the word, which can help the user understand the composition of the word.
[0082] In an optional embodiment of the present invention, the above splitting may include: at least one level of splitting, and the splitting results at different levels may correspond to different display layers. By displaying the splitting results at different levels at different display layers, the splitting processes at different levels may be presented, and the combination processes at different levels may also be presented, such as the merging process of roots and affixes; in this way, the process of combining roots and affixes step by step to obtain the word input by the user may be presented, that is, the process of evolving from roots and affixes to the word input by the user may be presented.
[0083] The embodiment of the present invention can utilize a hierarchical display structure to display the words and the split results in a hierarchical manner.
[0084] The above-mentioned hierarchical display structure may include: a tree structure or a table structure, etc. It can be understood that any data structure that can present a hierarchy is within the protection scope of the hierarchical display structure of the embodiment of the present invention.
[0085] Optionally, the above-mentioned hierarchical display of the words and the split results specifically includes: using a tree structure to display the words and the split results in layers, wherein the root node of the tree structure may correspond to the word before splitting, and the i-th leaf node of the tree structure may correspond to the i-th level split result.
[0086] For example, a tree structure can be used to display the word "aggressiveness" and its split results in layers. The root node of the tree structure corresponds to the word "aggressiveness", the first-level leaf nodes of the tree structure can correspond to the first-level split results: "aggressive" (adjective: aggressive, enterprising) + "-ness" (noun suffix, property, state), and the second-level leaf nodes of the tree structure can correspond to the second-level split results: "aggress" (verb: attack) + "-ive" (adjective suffix: tend to...).
[0087] The tree structure can be used to present the following process of evolving from roots and affixes to the words input by the user:
[0088] The first evolution process: "aggress" (verb: attack) + "-ive" (adjective suffix: tend to...) --> "aggressive" (adjective: aggressive, enterprising);
[0089] The second evolution process: "aggressive" (adjective: aggressive, enterprising) + "-ness" (noun suffix, nature, state) --> "aggressiveness" (noun: enterprising spirit, aggressiveness).
[0090] In an optional embodiment of the present invention, the above method may further include:
[0091] Displaying the interpretation information corresponding to the affix; and / or
[0092] Multiple words corresponding to the affix are displayed.
[0093] Optionally, the embodiment of the present invention may display the interpretation information corresponding to the affix in a pop-up window manner, so that the user can understand the meaning and usage of the affix, and further assist in learning other words corresponding to the affix.
[0094] Optionally, the display of the interpretation information corresponding to the affix can be triggered according to the user's first preset operation. For example, the first preset operation can be a click operation on the affix in the hierarchically displayed split result, etc. It can be understood that the embodiment of the present invention does not limit the specific first preset operation.
[0095] The above display of multiple words corresponding to the affix can help users master the usage of the affix. The multiple words corresponding to the affix can include: multiple words with the same affix. For example, multiple words with the same suffix, or multiple words with the same prefix, etc. Here, other words with the same affix can be displayed for the word input by the user, that is, other words with the same affix except the word input by the user.
[0096] For example, in conjunction with the above example, the word "aggressiveness" corresponds to the affix "-ness". Optionally, a click operation can be triggered for the affix in the hierarchical split result to jump to the interface corresponding to the triggered affix; for example, the suffix "-ness" in the above tree structure can be clicked to obtain the interface corresponding to "-ness".
[0097] In the interface corresponding to "-ness", the corresponding interpretation information "noun suffix, usually added after adjectives, indicating "nature, state", etc." can be displayed for the suffix "-ness"; multiple words corresponding to the suffix "-ness" can also be displayed, such as "selfishness", "positiveness", "promptness", "emptiness", "kindness", "tiredness", "darkness", "brightness", etc.; at the same time, the part of speech, interpretation and other information of each word can be displayed. It can be understood that all or part of the words corresponding to the suffix "-ness" can be displayed.
[0098] In summary, the embodiment of the present invention presents multiple words corresponding to affixes, which can help users better master the usage of affixes. When seeing unfamiliar words in the future, the method of analogy can be used to infer the part of speech and even the approximate semantics of the unfamiliar words based on the affixes. This can not only improve learning efficiency, but also reduce the difficulty of memorizing words.
[0099] In an optional embodiment of the present invention, the above-mentioned affix may correspond to multiple interpretations; the above-mentioned method may also include: using tabs to display information of the multiple interpretations respectively, so that the user can view the information of a single interpretation by triggering the tab.
[0100] The embodiment of the present invention realizes the joint display of information of multiple definitions through multiple tab pages, and can meet the browsing needs of users for information of multiple definitions.
[0101] For example, the above affix corresponds to n (n can be a natural number greater than 1) definitions, so n tabs can be set, and one tab is selected at a time. Assume that the tab in the selected state is called the target tab, and the target tab corresponds to the target definition.
[0102] In an optional embodiment of the present invention, the above-mentioned displaying the information of the multiple interpretations separately specifically includes: displaying the information of the target interpretation in a tab page corresponding to the target interpretation; the target interpretation may be the interpretation corresponding to the affix in the word.
[0103] In the case of displaying tab pages, the embodiment of the present invention may first display the tab page corresponding to the target interpretation, and the target interpretation may be the interpretation corresponding to the affix in the word input by the user. In this way, the target interpretation that is the same as the affix in the word input by the user and the corresponding words with the same affix may be presented to enhance the user's learning of the target interpretation. In addition, the embodiment of the present invention may also present the options of tab pages of other interpretations, and the usage of the affix may be expanded.
[0104] For example, in conjunction with the above example, the affix may be the affix corresponding to the word "aggressiveness", and specifically may be the suffix "-ive".
[0105] The suffix "-ive" contains two meanings: the meaning of an adjective suffix and the meaning of a noun suffix. The meaning of the adjective suffix is the same as the meaning of the suffix contained in the word "aggressiveness".
[0106] Therefore, after receiving the user's trigger operation for the suffix "-ive", a window may pop up and display two tabs in the pop-up window, wherein the tab corresponding to the first meaning of "-ive" as an adjective suffix may be selected so that the user may give priority to learning the first meaning as an adjective suffix, which means "tending to...".
[0107] The embodiment of the present invention also provides a second interpretation corresponding to the suffix "-ive", which means "people, things". In this way, users can know that not all words with "-ive" as the suffix are adjectives, and "-ive" can also be used as a suffix of nouns.
[0108] When the user needs to browse the second interpretation, the user can click the tab page corresponding to the second interpretation to jump to the tab page corresponding to the second interpretation and display the information corresponding to the second interpretation 2.
[0109] In summary, the vocabulary processing method of the embodiment of the present invention splits words and displays the words and their corresponding split results in layers. The above-mentioned layered display can provide the splitting process of the word, which can help users understand the composition of the word.
[0110] On the one hand, the splitting of the embodiment of the present invention can decompose a long word into an affix and a shorter sub-word, and the user can memorize the affix and the sub-word respectively, thereby reducing the difficulty of memorizing the word. On the other hand, the splitting of the embodiment of the present invention can help the user understand the composition rules of the word, and learn the word based on the composition rules, which can improve the learning efficiency of the word.
[0111] For example, the hierarchical display of the embodiment of the present invention can present the process of combining roots and affixes step by step to obtain the word input by the user, that is, it can present the evolution process from roots and affixes to words. Therefore, it can not only help users understand the composition rules of words, but also reduce the difficulty of memorizing words based on the memory of the split results.
[0112] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0113] Device Embodiment
[0114] Reference Figure 3 , shows a structural block diagram of an embodiment of a vocabulary processing device of the present invention, which may specifically include: a word splitting module 301 and a layered display module 302.
[0115] The word splitting module 301 is used to split the word input by the user, and the splitting result obtained includes: at least one sub-word and at least one affix;
[0116] The layered display module 302 is used to display the above words and the above split results in layers.
[0117] Optionally, the above splitting may include: splitting at least one level, and splitting results at different levels correspond to different display layers.
[0118] Optionally, the above splitting may include: at least one level of splitting, and the splitting result of one level may include: roots and affixes.
[0119] Optionally, the word splitting module 301 may include:
[0120] A first splitting module, used to perform a first splitting on the word input by the user, and the first level splitting result obtained may include: a first subword and a first affix;
[0121] The second splitting module is used to perform a second splitting on the first subword, and the obtained second level splitting result may include: a second subword and a second affix.
[0122] Optionally, the word splitting module 301 may include:
[0123] The third splitting module is used to perform the i-th level splitting on the word input by the user or the (i-1)-th level split sub-word, and the obtained splitting result may include: the i-th level sub-word and the i-th level affix; i is a natural number greater than 0;
[0124] The judgment module is used to judge whether the sub-word of the i-th level can be split. If so, the splitting of the (i+1)-th level is performed, otherwise the splitting is terminated.
[0125] Optionally, the layered display module 302 may include:
[0126] The tree display module is used to display the above words and the above split results in layers using a tree structure.
[0127] Optionally, the above device may further include:
[0128] A meaning display module, used to display the meaning information corresponding to the above affixes; and / or
[0129] The word display module with the same affix is used to display multiple words corresponding to the above affixes.
[0130] Optionally, the above affix corresponds to multiple interpretations;
[0131] The above device may also include:
[0132] The tab display module is used to display the information of the above multiple definitions respectively in the form of tabs, so that the user can view the information of a single definition by triggering the above tabs.
[0133] Optionally, the tab page display module may include:
[0134] The target interpretation display module is used to display the information of the target interpretation in the tab page corresponding to the target interpretation; the target interpretation is the corresponding interpretation of the affix in the word.
[0135] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0136] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0137] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0138] An embodiment of the present invention provides a device for vocabulary processing, including a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: splitting a word input by a user, and obtaining a split result including: at least one sub-word and at least one affix; and displaying the word and the split result in layers.
[0139] Figure 4 8 is a block diagram of an apparatus 800 for vocabulary processing according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0140] Reference Figure 4 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0141] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0142] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0143] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0144] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0145] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice vocabulary processing mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0146] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0147] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0148] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency vocabulary processing (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0149] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0150] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0151] Figure 51 is a schematic diagram of the structure of the server in some embodiments of the present invention. The server 1900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1922 (for example, one or more processors) and memory 1932, and one or more storage media 1930 (for example, one or more mass storage devices) storing application programs 1942 or data 1944. Among them, the memory 1932 and the storage medium 1930 can be short-term storage or permanent storage. The program stored in the storage medium 1930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1922 can be configured to communicate with the storage medium 1930 and execute a series of instruction operations in the storage medium 1930 on the server 1900.
[0152] The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and / or one or more operating systems 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0153] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a device (server or terminal), enables the device to perform Figure 2 The vocabulary processing method shown.
[0154] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a device (server or terminal), enables the device to perform a vocabulary processing method, the method comprising: splitting a word input by a user, and obtaining a split result including: at least one sub-word and at least one affix; and displaying the word and the split result in layers.
[0155] The embodiment of the present invention discloses A1, a vocabulary processing method, comprising:
[0156] Splitting the word input by the user, the splitting result obtained includes: at least one subword and at least one affix;
[0157] The words and the split results are displayed in layers.
[0158] A2. The method according to A1, wherein the splitting includes: at least one level of splitting, and splitting results at different levels correspond to different display layers.
[0159] A3. According to the method described in A1, the splitting includes: at least one level of splitting, and the splitting results of one level include: roots and affixes.
[0160] A4, according to the method described in A1, the word input by the user is split, comprising:
[0161] The word input by the user is first split, and the first level split result obtained includes: a first subword and a first affix; the first subword is second split, and the second level split result obtained includes: a second subword and a second affix.
[0162] A5. The method according to A1, wherein the word input by the user is split, comprising:
[0163] For the word input by the user or the (i-1)th level split subword, perform the i-th level splitting, and the splitting result obtained includes: the i-th level subword and the i-th level affix; i is a natural number greater than 0;
[0164] Determine whether the subword at the i-th level can be split. If so, perform the split at the (i+1)th level, otherwise terminate the split.
[0165] A6. According to the method described in A1, the hierarchical display of the words and the split results includes:
[0166] The words and the split results are displayed in layers using a tree structure.
[0167] A7. The method according to any one of A1 to A6, further comprising:
[0168] Displaying the interpretation information corresponding to the affix; and / or
[0169] Multiple words corresponding to the affix are displayed.
[0170] A8. According to any one of the methods described in A1 to A6, the affix corresponds to multiple definitions;
[0171] The method further comprises:
[0172] The information of the multiple interpretations is displayed separately in the form of tab pages, so that the user can view the information of a single interpretation by triggering the tab page.
[0173] A9. According to the method of A8, the presenting of the plurality of interpretation information respectively comprises:
[0174] On the tab page corresponding to the target definition, information of the target definition is displayed; the target definition is the definition corresponding to the affix in the word.
[0175] The embodiment of the present invention discloses B10, a vocabulary processing device, including:
[0176] A word splitting module is used to split the word input by the user, and the splitting result obtained includes: at least one sub-word and at least one affix; and
[0177] The layered display module is used to display the words and the split results in layers.
[0178] B11. According to the device described in B10, the splitting includes: at least one level of splitting, and the splitting results of different levels correspond to different display layers.
[0179] B12. According to the device described in B10, the splitting includes: at least one level of splitting, and the splitting results of one level include: roots and affixes.
[0180] B13, according to the device described in B10, the word splitting module comprises:
[0181] A first splitting module, used for performing a first splitting on the word input by the user, and obtaining a first level of splitting results including: a first subword and a first affix;
[0182] The second splitting module is used to perform a second splitting on the first subword, and the obtained second level splitting result includes: a second subword and a second affix.
[0183] B14, according to the device described in B10, the word splitting module includes:
[0184] The third splitting module is used to perform the i-th level splitting on the word input by the user or the (i-1)-th level split sub-word, and the obtained splitting result includes: the i-th level sub-word and the i-th level affix; i is a natural number greater than 0;
[0185] The judgment module is used to judge whether the sub-word of the i-th level can be split. If so, the splitting of the (i+1)-th level is performed, otherwise the splitting is terminated.
[0186] B15. According to the device described in B10, the layered display module includes:
[0187] The tree display module is used to display the words and the split results in layers using a tree structure.
[0188] B16. The device according to any one of B10 to B15, further comprising:
[0189] A meaning display module, used to display the meaning information corresponding to the affix; and / or
[0190] The word display module with the same affix is used to display multiple words corresponding to the affix.
[0191] B17. According to any one of B10 to B15, the affix corresponds to multiple interpretations;
[0192] The device also includes:
[0193] The tab page display module is used to display the information of the multiple definitions respectively in the form of tab pages, so that the user can view the information of a single definition by triggering the tab page.
[0194] B18. According to the device described in B17, the tab page display module includes:
[0195] The target interpretation display module is used to display the information of the target interpretation in the tab page corresponding to the target interpretation; the target interpretation is the corresponding interpretation of the affix in the word.
[0196] The embodiment of the present invention discloses C19, a device for vocabulary processing, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations:
[0197] Splitting the word input by the user, the splitting result obtained includes: at least one subword and at least one affix;
[0198] The words and the split results are displayed in layers.
[0199] C20. According to the device described in C19, the splitting includes: at least one level of splitting, and the splitting results of different levels correspond to different display layers.
[0200] C21. According to the device described in C19, the splitting includes: at least one level of splitting, and the splitting results of one level include: roots and affixes.
[0201] C22. The device according to C19, wherein the word input by the user is split, comprising:
[0202] The word input by the user is first split, and the first level split result obtained includes: a first subword and a first affix; the first subword is second split, and the second level split result obtained includes: a second subword and a second affix.
[0203] C23. According to the device described in C19, the word input by the user is split, comprising:
[0204] For the word input by the user or the (i-1)th level split subword, perform the i-th level splitting, and the splitting result obtained includes: the i-th level subword and the i-th level affix; i is a natural number greater than 0;
[0205] Determine whether the subword at the i-th level can be split. If so, perform the split at the (i+1)th level, otherwise terminate the split.
[0206] C24. According to the device described in C19, the layered display of the words and the split results includes:
[0207] The words and the split results are displayed in layers using a tree structure.
[0208] C25. The device according to any one of C19 to C24, wherein the device is further configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations:
[0209] Displaying the interpretation information corresponding to the affix; and / or
[0210] Multiple words corresponding to the affix are displayed.
[0211] C26. According to any one of C19 to C24, the affix corresponds to multiple interpretations;
[0212] The device is also configured to execute, by one or more processors, the one or more programs including instructions for:
[0213] The information of the multiple interpretations is displayed separately in the form of tab pages, so that the user can view the information of a single interpretation by triggering the tab page.
[0214] C27. According to the device described in C26, the presenting of the plurality of interpretation information respectively comprises:
[0215] On the tab page corresponding to the target definition, information of the target definition is displayed; the target definition is the definition corresponding to the affix in the word.
[0216] The embodiment of the present invention discloses D28, a machine-readable medium having instructions stored thereon, which, when executed by one or more processors, enables the device to perform the vocabulary processing method as described in one or more of A1 to A9.
[0217] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0218] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
[0219] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0220] The above is a detailed introduction to a vocabulary processing method, a vocabulary processing device and a device for vocabulary processing provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A vocabulary processing method, characterized in that: The method comprises: Splitting the word input by the user, the splitting result obtained includes: at least one subword and at least one affix; Displaying the words and the split results in layers; The step of splitting the words input by the user comprises: For the word input by the user or the (i-1)th level split subword, perform the i-th level splitting, and the splitting result obtained includes: the i-th level subword and the i-th level affix; i is a natural number greater than 0; Determine whether the subword at level i can be split. If so, perform the split at level (i+1), otherwise terminate the split; The layered display of the words and the split results includes: Using a tree structure, the words and the split results are displayed in layers; The affix corresponds to multiple interpretations; the method further includes: The information of the plurality of interpretations is displayed respectively in the form of tab pages, so that the user can view the information of a single interpretation by triggering the tab page; The presenting of the plurality of interpretation information respectively includes: On the tab page corresponding to the target definition, information of the target definition is displayed; the target definition is the definition corresponding to the affix in the word; The splitting includes: splitting at least one level, and the splitting results at different levels correspond to different display layers; displaying the splitting results at different levels at different display layers, presenting the splitting processes at different levels and the combination processes at different levels; wherein the combination process includes the merging process of roots and affixes; In the combining process, the inflection of the root word is combined with the affix; The word before splitting includes: a character string corresponding to the root deformation.
2. The method according to claim 1, characterized in that The splitting includes: at least one level of splitting, and the splitting result of one level includes: a root and the affix.
3. The method according to claim 1, characterized in that The step of splitting the words input by the user comprises: The word input by the user is first split, and the first level split result obtained includes: a first subword and a first affix; the first subword is second split, and the second level split result obtained includes: a second subword and a second affix.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Displaying the interpretation information corresponding to the affix; and / or Multiple words corresponding to the affix are displayed.
5. A vocabulary processing device, characterized in that: include: A word splitting module is used to split the word input by the user, and the splitting result obtained includes: at least one sub-word and at least one affix; and A layered display module, used for displaying the words and the split results in layers; The word splitting module comprises: The third splitting module is used to perform the i-th level splitting on the word input by the user or the (i-1)-th level split sub-word, and the obtained splitting result includes: the i-th level sub-word and the i-th level affix; i is a natural number greater than 0; A judgment module is used to judge whether the subword of the i-th level can be split. If so, the splitting of the (i+1)th level is performed, otherwise the splitting is terminated; The layered display module includes: A tree display module, used to display the words and the split results in layers using a tree structure; The affix corresponds to multiple interpretations; the device also includes: A tab page display module, used to display the information of the multiple interpretations respectively in the form of tab pages, so that the user can view the information of a single interpretation by triggering the tab page; The tab page display module includes: A target interpretation display module, used to display information of the target interpretation in a tab page corresponding to the target interpretation; the target interpretation is the interpretation corresponding to the affix in the word; The splitting includes: splitting at least one level, and the splitting results at different levels correspond to different display layers; displaying the splitting results at different levels at different display layers, presenting the splitting processes at different levels and the combination processes at different levels; wherein the combination process includes the merging process of roots and affixes; In the combining process, the inflection of the root word is combined with the affix; The word before splitting includes: a character string corresponding to the root deformation.
6. The device according to claim 5, characterized in that The splitting includes: splitting at least one level, and the splitting result of one level includes: root and affix.
7. The device according to claim 5, characterized in that The word splitting module comprises: A first splitting module, used for performing a first splitting on the word input by the user, and obtaining a first level of splitting results including: a first subword and a first affix; The second splitting module is used to perform a second splitting on the first subword, and the obtained second level splitting result includes: a second subword and a second affix.
8. The device according to any one of claims 5 to 7, characterized in that The device also includes: A meaning display module, used to display the meaning information corresponding to the affix; and / or The word display module with the same affix is used to display multiple words corresponding to the affix.
9. A device for vocabulary processing, characterized in that The invention comprises a memory and one or more programs, wherein the one or more programs are stored in the memory, and when the programs are executed by one or more processors, the steps of the method described in any one of claims 1 to 4 are implemented.
10. A machine-readable medium having instructions stored thereon, which, when executed by one or more processors, causes a device to perform the vocabulary processing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Vocabulary learning system and method
CN103680261A
Foreign language word intensive training method based on font association
CN109493656A
Text expansion method and device, electronic equipment and readable storage medium
CN111027312A
