CN112083844A - Interactive system and interactive method for searching corpus - Google Patents
Interactive system and interactive method for searching corpus Download PDFInfo
- Publication number
- CN112083844A CN112083844A CN202010934483.8A CN202010934483A CN112083844A CN 112083844 A CN112083844 A CN 112083844A CN 202010934483 A CN202010934483 A CN 202010934483A CN 112083844 A CN112083844 A CN 112083844A
- Authority
- CN
- China
- Prior art keywords
- icon
- icons
- search
- corpus
- operator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 55
- 238000000034 method Methods 0.000 title claims abstract description 40
- 239000002131 composite material Substances 0.000 claims abstract description 57
- 230000003993 interaction Effects 0.000 claims abstract description 34
- 238000013500 data storage Methods 0.000 claims abstract description 20
- 238000013507 mapping Methods 0.000 claims description 15
- 230000003213 activating effect Effects 0.000 claims description 7
- 230000009471 action Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 9
- 238000010276 construction Methods 0.000 description 7
- 150000001875 compounds Chemical class 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 241000735552 Erythroxylum Species 0.000 description 5
- 235000008957 cocaer Nutrition 0.000 description 5
- ZPUCINDJVBIVPJ-LJISPDSOSA-N cocaine Chemical compound O([C@H]1C[C@@H]2CC[C@@H](N2C)[C@H]1C(=O)OC)C(=O)C1=CC=CC=C1 ZPUCINDJVBIVPJ-LJISPDSOSA-N 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000052 comparative effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- PZBPHYLKIMOZPR-FIYGWYQWSA-K 2-[4-[2-[[(2r)-1-[[(4r,7s,10s,13r,16s,19r)-10-(4-aminobutyl)-4-[[(2r,3r)-1,3-dihydroxybutan-2-yl]carbamoyl]-7-[(1r)-1-hydroxyethyl]-16-[(4-hydroxyphenyl)methyl]-13-(1h-indol-3-ylmethyl)-6,9,12,15,18-pentaoxo-1,2-dithia-5,8,11,14,17-pentazacycloicos-19-yl] Chemical compound [68Ga+3].C([C@H](C(=O)N[C@H]1CSSC[C@H](NC(=O)[C@H]([C@@H](C)O)NC(=O)[C@H](CCCCN)NC(=O)[C@@H](CC=2C3=CC=CC=C3NC=2)NC(=O)[C@H](CC=2C=CC(O)=CC=2)NC1=O)C(=O)N[C@H](CO)[C@H](O)C)NC(=O)CN1CCN(CC([O-])=O)CCN(CC([O-])=O)CCN(CC([O-])=O)CC1)C1=CC=CC=C1 PZBPHYLKIMOZPR-FIYGWYQWSA-K 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an interactive system and an interactive method for searching a corpus, which belong to the technical field of corpus search, wherein a data storage module in the system comprises: an operation command data submodule for storing an operation command and an icon data submodule for storing an icon; the search interface module comprises a search frame sub-module for inputting search words, pop-up icons and graphic interaction; and the icon composite command line generation module exchanges data with the search interface module. By dragging and dropping an operator onto an empty icon, etc., the system assigns the corresponding operator instruction to the icon, making it an active icon. The active icons and the words together form an icon composite command line that is executed by the corpus server. Generally, only the meanings of 4-5 icons are needed to be known, complicated rules which must be followed when an operator is used for a text command line are not needed to be known, the icon composite command line can be constructed through 1-3 clicks after a query word is input, and the searching efficiency can be obviously improved.
Description
Technical Field
The invention belongs to the technical field of corpus search, and particularly relates to an interactive system and an interactive method for searching a corpus.
Background
The corpus is a language material database, which is used in the fields of language learning, research and language education, as well as the fields of word work, intelligent language identification, machine translation and the like. There are many shared corpora around The world, such as The American Contemporary English Corpus (COCA), The British National Corpus (BNC), The corins English Corpus (The Bank of English, BOE), The beijing university CCL Corpus, and The National language commission modern chinese universal balanced Corpus. Large corpora often have billions or even billions of vocabularies, which are valuable resources for language learners and language instructors. Unfortunately, the reasons for this are manifold, where the method of human-computer interaction with the database is inconvenient and error-prone, because few people other than language researchers and language technology developers use the database and the potential value of the database cannot be fully exploited.
The use of searching a corpus for words and phrases is one of the main ways for users to utilize a corpus. At present, the man-machine interaction of corpus search is realized by inputting a plain text command line in a search box through a keyboard, specified operational characters need to be inserted at specified positions of specified words according to different query requirements, the number of the operational characters is often more than ten, and a series of complex application rules are involved. It is not easy for the user to accurately remember and skillfully apply these operators and rules. Especially when the user uses the corpus at intervals, the probability of error is high, which significantly degrades the user experience of the corpus.
COCA is the world's largest balanced corpus of english that involves up to 20 operators and a series of cumbersome operational rules requiring the user to be fully and skillfully informed of the method of use and ensuring the ability to always accurately remember these symbols and rules, which is too difficult for non-professionals. The usage of english language corpus Linggle is simpler than COCA, but 12 operators and a series of operation rules are involved, and the usage description words of the first page of the english language corpus Linggle exceed 2500 characters. Careful reading, accurate memory, and skillful application of these operators are necessary conditions for efficient corpus utilization, but survey results show that over 80% of people cannot do so completely when using corpora.
In addition, the inventor also finds that the definition and the operation rule of the same operator in different application systems are often very different, even though the corpora with similar functions are different, the types and the operation rules of the operators used by the corpora are completely inconsistent due to different developers, and the additional confusion is brought to users to a great extent. For example, in COCA, underlining _ is used in conjunction with a part-of-speech related abbreviation to define the part-of-speech of the query word, and there is no space before and after _, e.g., end _ v indicates that the query is an end of a verb, whereas in Linggle _isused to query what word can be added there, and there must be a space before and after _, e.g., a take _ important role; the close meaning word of a word in a phrase is searched by COCA, the word is enclosed by brackets, and an equal sign is added before the word, the word in the brackets and each symbol must have no space, but the brackets and the outer word must have a space, such as: and (2) the similar word of a word in the Linggle query phrase is added with an English symbol before the word, and no space is required between the word and the word, such as: giant supermarket, however, in another corpus netspot, brackets are used to query for differences between different words, such as it's [ great well ], and both brackets and inside and outside words must have spaces. In summary, the query operators and the application rules of the three similar corpora are very different, but the same is that the user cannot make any errors in the input process. The difficulty that the user has to overcome is multiplied if he also needs to switch searches between different corpora.
Also, users who are accustomed to cross use of Chinese and English may suffer from additional problems due to the combination of Chinese characters and English characters, and full-angle and half-angle spaces.
In summary, although the current corpora are potentially valuable and almost free, they are not so popular among ordinary users due to the limitation of poor interaction methods, which is certainly a huge waste of resources.
Disclosure of Invention
The invention provides an interactive system and an interactive method for searching a corpus, which aim to solve the technical problems in the prior art and avoid the process of inputting search operational characters by a keyboard, which is easy to make mistakes, based on graphic interaction, so that an operation command can be embedded into a command line in a search box in the form of an icon to form an icon composite command line together with a search word, the icon composite command line replaces the original plain text command line, and a user obtains a search result after the search command is executed.
The search box in the present invention refers to an area for generating an icon composite command line, which may be otherwise referred to as: a search bar, a search area, etc.
A first object of the present invention is to provide an interactive system for searching a corpus, comprising at least:
a data storage module comprising: an operation command data submodule for storing an operation command and an icon data submodule for storing an icon;
the search interface module exchanges data with the data storage module and comprises a search frame sub-module which is used for inputting search words, popping up icons around the words and carrying out graphic interaction;
and the icon composite command line generation module exchanges data with the search interface module.
Preferably, the pop-up icons are all preset with operation commands, and the operation commands and the icons have one-to-one mapping relation; and according to the triggering of the icon, activating an operation command in the icon to enable the icon to become an active icon, and generating an icon composite command line.
Preferably, the data storage module further comprises an operator data submodule, and a one-to-one mapping relationship exists between operators and operation commands; the search box sub-module further comprises an operator column.
Preferably, the pop-up icons do not preset operation commands, that is, the idle icons, and according to the interactive operation, the operation commands are placed into the idle icons and the icons are activated to become active icons, and a one-to-one mapping relationship exists between the active icons and the operation commands.
Preferably, the interaction of placing the operation command in the vacant icon is to place the corresponding operation command in the vacant icon according to the movement of the operator in the operator column and the placing action on the vacant icon.
Preferably, the interaction of placing the operation command in the vacant icon is to pop up an operator option menu according to triggering of the vacant icon, and place the corresponding operation command in the vacant icon according to selection of the operator option menu.
Preferably, the popped-up icons are non-part-of-speech limiting icons, and a menu containing operator option for part-of-speech limitation pops up according to triggering of the activated icons suitable for limiting part-of-speech, and corresponding part-of-speech limiting operation commands are given to the icons according to selection.
The second purpose of the present invention is to provide an interactive method for searching a corpus, the interactive system adopted in the method assigns an operation command for searching the corpus to an icon, and there is a one-to-one mapping relationship between the operation command and the icon. The method comprises the following steps:
s101, entering a word into a search box, and popping up and displaying the icon around the word; at this time, the icon is in an inactive state;
s102, according to requirements, sequentially clicking N corresponding icons, wherein N is a natural number greater than 0, and at the moment, the clicked icons are in an activated state and form an icon composite command line together with words;
and S103, acquiring a corresponding search result according to the icon composite command line.
The third purpose of the present invention is to provide an interactive method for searching a corpus, the data storage module of the interactive system adopted in the method further comprises an operator data sub-module, and a one-to-one mapping relationship exists between the operator and the operation command; the search box sub-module also includes an operator column. The method comprises the following steps:
s201, displaying an operator column in a search interface module;
s202, entering a word into the search box, and popping up and displaying a vacant icon without an operation command at a vacant position around the word;
s203, sequentially selecting and dragging N operational characters according to requirements, respectively placing the operational characters on N vacant icons, wherein N is a natural number larger than 0, and at the moment, according to the operation, respectively giving corresponding operation commands to the icons, enabling the icons to become movable icons, and forming an icon composite command line together with the words;
and S204, acquiring a corresponding search result according to the icon composite command line.
The fourth purpose of the present invention is to provide an interactive method for searching a corpus, in which the data storage module of the interactive system adopted in the method further comprises an operator data sub-module, and a one-to-one mapping relationship exists between operators and operation commands. The method comprises the following steps:
s301, entering a word into the search box, and popping up an empty icon without an operation command at an empty position around the word;
s302, sequentially triggering N vacant icons according to requirements, wherein N is a natural number greater than 0, popping up an operator option menu each time of triggering, endowing a corresponding operation command to the icon according to selection, enabling the icon to become an active icon, and forming an icon composite command line together with a word;
and S303, acquiring a corresponding search result according to the icon composite command line.
For the three above-mentioned interaction methods for searching a corpus:
preferably, the popped-up icons are non-part-of-speech restriction icons, an operator option menu for part-of-speech restriction is popped up according to triggering of the activated icon suitable for restricting part-of-speech, and a corresponding part-of-speech restriction operation command is given to the icon according to selection.
Preferably, the icons for query synonyms among the pop-up icons are displayed in a vacant space above or below the tokens, which has the advantage that if synonyms of a query phrase are required, the icons for query synonyms can be displayed above or below each token of the phrase.
The invention has the advantages and positive effects that:
by adopting the technical scheme, a user does not need to memorize complicated and disordered operating character application rules, only needs to remember the meanings of the operating characters and icons, firstly inputs query words or phrases during searching, then clicks the icon with the preset operating command at a specific position, or drags and drops a certain operating character to the selected vacant icon, or selects the operating command item from a popup menu after clicking the selected vacant icon, so that an active icon is formed, and an icon composite command line is constructed.
The solution of the invention is applied to corpus search interaction, users who never contact the solution can generally use the corpus in 10-12 seconds, only 1-3 clicks are needed after inputting words or phrases to be searched, the selection and activation operation can be completed within 0.5-2 seconds, an icon composite command line is constructed, the time consumption is lower or equal compared with the time consumption of inputting a pure text command line, and the error probability is almost reduced to zero; for the users who use the scheme, the users can quickly and accurately search immediately without secondary learning due to the prompting and guiding functions of the graphical interface. Therefore, the scheme of the invention can create an easy-to-use corpus, can greatly optimize the experience and efficiency of a user for querying the corpus, and can well exert the potential value of the corpus.
Drawings
FIG. 1, a plain text command line diagram in a comparative example of the present invention, shows that it is better to search for which of study and learn is better, and there must be a half-angle space between before and after brackets [ ], and between study and learn.
FIG. 2, an embodiment of the present invention, can pop up light gray icons before, after, and above a word when the word is entered, with the icons both in an inactive state.
FIG. 3, clicking on the button between study and leran in FIG. 2After the icon is activated, the icon is changed to the active icon of black, and the operation command can be executed.
FIG. 4, before clicking on USA in FIG. 2After the icon is activated, the icon becomes an active icon in black and the operation command can be executed.
FIG. 5, clicking on the top of lern in FIG. 2After the icon is activated, the icon is changed to the active icon of black, and the operation command can be executed.
FIG. 6, clicking on the active icon in FIG. 4Followed by a menu of operator options for part-of-speech definitions.
Fig. 7 is a schematic diagram of a graphical compound command line according to embodiment 2 of the present invention, in which a light gray empty icon pops up before, after, and above a word is input, and an operator column is located above a phrase, and operators in the empty icon can be dragged and dropped by a mouse.
The operator/drag in FIGS. 8 and 7 is over the empty icon □ between study and spare, the light colored □ icon is changed to a dark coloredThe operation command may be executed as an active icon.
FIG. 9 is a diagram illustrating a popup state of an operator menu according to an embodiment of the present invention.
Fig. 10 is a schematic block diagram of an interactive system for searching a corpus in embodiment 1 of the present invention.
FIG. 11 is a flowchart of an interaction method of the invention operating embodiment 1.
FIG. 12 is a flowchart of an interaction method of the invention operating embodiment 2.
FIG. 13 is a flowchart of an interaction method of the invention operating embodiment 3.
Detailed Description
In order to further understand the contents, features and effects of the present invention, the following embodiments are illustrated and described in detail with reference to the accompanying drawings:
as shown in fig. 1 to 13, the technical solution of the present invention is:
first preferred embodiment: an interactive system for searching a corpus, comprising at least:
the data storage module comprises an operation command data submodule for storing an operation command and an icon data submodule for storing an icon;
and the search interface module exchanges data with the data storage module and comprises a search frame sub-module which is used for inputting search words, popping up icons around the words and carrying out graphic interaction.
The icon composite command line generation module performs data exchange with the search interface module and has the functions of: defining corpus operation commands, operational characters and icons and establishing the association among the elements; entering a word in the search box in response to a user input; vacant positions around the words pop up icons; and responding to the operation of the user on the icon, and embedding the active operation command icon into the text line to form an icon composite command line.
The pop-up icons are preset icons in which operation commands are preset, and the operation commands and the icons are in one-to-one correspondence mapping relation; and according to the triggering of the icon, activating an operation command in the icon to generate an icon composite command line.
The search request command submitting module submits the icon composite command line instruction to the corpus search server.
And the search result display module receives and displays the search result returned by the search server at the user side.
The interaction method of the preferred embodiment comprises the following steps:
s1, a word is input into the search box, and the preset icon pops up and is displayed around the word; at this time, the icon is in an inactive state;
s2, sequentially clicking N corresponding icons according to requirements, wherein N is a natural number greater than 0, and at the moment, the clicked icons are in an activated state and form an icon composite command line together with the search words;
and S3, acquiring a corresponding search result according to the icon composite command line.
The specific interaction flow of the preferred embodiment is as follows:
a. displaying a search box for constructing an icon composite command line;
b. a user inputs a word in a search box;
c. preset icons which can be used for interaction are popped up and displayed at the vacant positions around the words, each icon is preset with a specific operation command, and a one-to-one mapping relation exists between the operation command and the icon, and at the moment, the operation command and the icon are in an inactivated state. FIG. 2 shows a row of phrases with embedded inactive icons in an embodiment of the present invention;
d. and clicking the icon by the user, responding to the clicking and activating of the icon by the interactive system, and putting the corresponding operation command into the command line in the form of the icon to form an icon composite command line. FIG. 3 shows a row of built icon compound command rows in an embodiment of the invention;
e. the user confirms the search, and the interactive system responds to the confirmation operation and submits a search request command;
f. the corpus search server responds to the request, executes the search and obtains a search result;
g. and receiving and displaying the search result.
Second preferred embodiment: an interactive system for searching a corpus, comprising at least:
the data storage module comprises an operator data submodule for storing an operator, an operation command data submodule for storing an operation command and an icon data submodule for storing an icon;
the search interface module exchanges data with the data storage module and comprises a search frame sub-module, an operator column sub-module and a search method demonstration sub-module, wherein the search frame sub-module is used for inputting search words, popping up icons around the words and carrying out graphic interaction;
the icon composite command line generation module performs data exchange with the search interface module and has the functions of: defining corpus operation commands, operational characters and icons and establishing the association among the elements; entering a word in the search box in response to a user input; vacant positions around the words pop up icons; and responding to the operation of the user on the icon, and embedding the active operation command icon into the text line to form an icon composite command line.
The pop-up icons are not preset with operation commands, namely the vacant icons, the operation commands represented by the operation characters are placed into the vacant icons according to the movement of the operation characters in the operation character column and the placing actions on the vacant icons, so that the icons become active operation command icons, and the one-to-one mapping relation is established between the icons and the operation commands.
The search request command submitting module submits the icon composite command line instruction to the corpus search server.
And the search result display module receives and displays the search result returned by the search server at the user side.
The interaction method of the preferred embodiment comprises the following steps:
s1, displaying an operator column in the search interface module;
s2, entering a word into the search box, and popping up and displaying a vacant icon without an operation command at a vacant position around the word;
s3, sequentially selecting and dragging N operational characters according to requirements, respectively placing the operational characters on N vacant icons, wherein N is a natural number greater than 0, and at the moment, respectively endowing corresponding operation commands to the icons according to operation, so that the icons become active icons and form an icon composite command line together with the search words;
and S4, acquiring a corresponding search result according to the icon composite command line.
The specific interactive flow of the preferred embodiment is as follows:
a. displaying a search box for constructing an icon composite command line, and simultaneously displaying an operator column, wherein an operator is preset in the operator column, and the operator and a corpus operation command have a one-to-one mapping relation;
b. a user inputs words in a corpus search box;
c. popping up and displaying icons which can be used for interaction at vacant positions around the words, wherein each icon is not preset with an operation command and is a vacant icon;
d. the user selects an operator and drags and drops the operator to the target icon;
e. and responding to the drag and drop operation of the user by the interactive system, putting the operation command represented by the operator into the corresponding icon, and activating the icon at the same time to complete the construction of the icon composite command line. FIG. 8 shows a row of built icon compound command rows in an embodiment of the present invention;
f. the user confirms the search, and the interactive system responds to the confirmation operation and submits a search request command;
g. the corpus search server responds to the request, executes the search and obtains a search result;
h. and accepting and displaying the search result.
Third preferred embodiment: an interactive system for searching a corpus, comprising at least:
the data storage module comprises an operator data submodule for storing an operator, an operation command data submodule for storing an operation command and an icon data submodule for storing an icon;
the search interface module exchanges data with the data storage module and comprises a search frame sub-module and a search method demonstration sub-module, wherein the search frame sub-module is used for inputting search words, popping up icons around the words and carrying out graphic interaction;
the icon composite command line generation module performs data exchange with the search interface module and has the functions of: defining corpus operation commands, operational characters and icons and establishing the association among the elements; entering a word in the search box in response to a user input; vacant positions around the words pop up icons; and responding to the operation of the user on the icon, and embedding the active operation command icon into the text line to form an icon composite command line.
The pop-up icons do not preset operation commands, namely the idle icons, pop-up operator option menus according to triggering of the idle icons, place the operation commands represented by the operators into the icons according to selection of the operator option menus, enable the icons to become active operation command icons, and establish one-to-one mapping relation between the icons and the operation commands.
The search request command submitting module submits the icon composite command line instruction to the corpus search server.
And the search result display module receives and displays the search result returned by the search server at the user side.
The interaction method of the preferred embodiment comprises the following steps:
s1, entering a word into the search box, and popping up an empty icon without an operation command at an empty position around the word;
s2, sequentially triggering N vacant icons according to requirements, wherein N is a natural number greater than 0, an operator option menu pops up each time of triggering, and corresponding operation commands are given to the icons according to selection, so that the icons become active icons and form an icon composite command line together with words;
and S3, acquiring a corresponding search result according to the icon composite command line.
The specific interaction flow of the preferred embodiment is as follows:
a. displaying a search box for constructing an icon composite command line on a user side;
b. a user inputs words in a corpus search box;
c. popping up and displaying icons which can be used for interaction at vacant positions around the words, wherein each icon is not preset with an operation command and is a vacant icon;
d. the user clicks the vacant icon, the interactive system responds to the click, and an operator option menu is popped up; FIG. 9 shows a situation where the user clicks a pop-up menu after clicking a box icon behind study in the embodiment of the present invention;
e. a user selects an operational character in a menu, the system responds to the selection of the user, an operation command represented by the operational character is placed into a corresponding icon, the icon is activated at the same time, and the icon composite command line is constructed;
f. the user confirms the search, and the interactive system submits a search request command;
g. the corpus search server responds to the request, executes the search and obtains a search result;
h. and accepting and displaying the search result.
Because the operation command used by the interactive design of the invention does not need to be input by a keyboard, any symbol which is most easy to understand and memorize can be selected to represent the operation command. For example? Indicating what word is added; use? Is there a Representing what words are added; the word is represented by/or | which one of the two words before and after the word is selected is searched; the phrase is searched for which one is selected by the two phrases before and after the phrase is expressed by//; using-or approximately-equal to represent the similar words for searching the subsequent words; additionally operators used to define the part-of-speech of query words may be tagged with abbreviations or whole words, preferably the latter, such as Verb, Noun, Adjectives, Adverbs, Prepositions, Pronouns, Objections, Conjunctions. These operators have obvious morphological associations that are clear to the user.
In order to further reduce the learning and memory amount of the user, the invention provides the following preferable scheme aiming at the construction of the icon composite command line: dividing the corpus operation characters into A, B types, wherein B type is operation characters for part of speech limitation, generally about 8, A type is operation characters for non-part of speech limitation, generally only 4-5; and simultaneously setting: the operation commands preset by the preset icons are all A-type operation commands, the operational characters in the operational character column are all A-type operational characters, the operational characters in the pop-up operational character option menu after the idle icons are clicked are all A-type operational characters, and the B-type operational characters appear in a menu form only after the user clicks the active A-type operational character icons, and are selected by the user; in the A-type operator, only the operator capable of limiting the part of speech can limit the part of speech, and the B-type operator option menu can pop up after clicking the active icon capable of limiting the part of speech. FIG. 4 shows a pop-up type B operator menu. The interactive design brings two remarkable benefits, namely that the necessary learning and memory amount of the user can be reduced to the minimum, and the whole icon composite command line is simpler and clearer, so that the interaction becomes very simple and smooth.
The size of the operator icons is suitable for icon arrangement, can be clearly distinguished, and is convenient to interact with each other; the total number of icons before or after a word will generally not exceed 4, and they may be arranged in one or two columns, preferably in one column; the symbols of the near word are preferably displayed above or below the word, more preferably above; the appearance of the inactive icons is preferably light and the appearance of the active icons is dark, should be significantly different. Fig. 4 and 5 show the icon composite command line.
Working example 1:
FIG. 10 is a schematic block diagram of an interactive system for searching an X2 corpus in accordance with the present invention. The system comprises a data storage module, a search interface module, an icon composite command line generation module, a search request command submission module and a search result display module.
And the data storage module comprises an operator data submodule for storing an operator, an operation command data submodule for storing an operation command and an icon data submodule for storing an icon.
The search interface module for data exchange with the data storage module comprises a search frame sub-module and a search method demonstration sub-module, wherein the search frame sub-module is used for inputting search words, popping up icons around the words and carrying out graphic interaction.
The icon composite command line construction module for data exchange with the search interface module is used for: defining each operation command, operator and icon required by searching an X2 corpus, and establishing a one-to-one mapping relation between the operation commands and the operator; entering a word in the search box in response to a user input; vacant positions around the words pop up icons; and responding to the operation of the user on the icon or the menu option, and embedding the active operation command icon into the text command line to form an icon composite command line.
The search request command submitting module is used for submitting the icon composite command line instruction to the corpus search server.
And the search result display module is used for receiving and displaying the search results returned from the search server at the user side.
The X2 corpus relates to 12 query operators of vocabulary usage, which represent the operation commands: is there a Indicating what word is added at the position; is there a Is there a Indicating what words are added at the position; the word is used for searching which one of the two words before and after the word is selected; -a close word representing a word after the search; in addition, there are 8 operators which define the part of speech of the query word and directly use the word as a recognition mark, and they are: verb, Noun, Adjectives, Adverbs, Prepositions, Pronouns, Objections, Conjuntions. The commands represented by the above operators are easily understood and memorized.
FIG. 11 is a flow diagram of an interactive method of searching an X2 corpus.
102, a user inputs query words in a search box in sequence;
and 104, after the user clicks the target icon once by using the left mouse button, activating the gray icon by the interactive system to form a black movable icon. FIG. 3 shows a light gray color between study and leranActivated state, originally light greyHas turned black, at which point the icon composite command line comparing study and spare is successfully constructed and can be executed.
Similarly, FIG. 4 shows the front USAThe activated interface is constructed by inquiring the icon composite command line of what word is added before the USAAnd (4) success. FIG. 5 is above lernAnd the activated interface inquires the icon composite command line of what synonym is contained in the spare, so that the construction is successful and the execution can be carried out.
and step 107, the browser receives and displays the search result.
After the step 104, the user may choose not to search immediately, and further perform the following interactive operations:
the next interactive steps are the previous steps 105, 106 and 107, respectively.
The user adopts the interaction method, after inputting a search target word or phrase, the construction of the compound command line can be completed by clicking once, if the part of speech is necessary to be limited, the construction of the compound command line can be completed within 2-3 seconds by additionally adding 2 clicks, and after confirmation, the user executes search to obtain a normal search result.
In the interaction, a user can operate the operation by knowing the meanings of 4 operational characters without knowing the complicated operation rules of various operational characters, and all the links which are easy to make mistakes in corpus search are perfectly avoided, so that the application of the corpus is very simple and efficient.
Working example 2:
an X3 corpus contains 13 operators related to query vocabulary usage, 12 of which are the same as in example 1, and the added operator is//, and the corresponding operation command is the difference between the preceding and following phrases of the query. An operator column submodule of a built-in operator is included in a search interface module of the system.
FIG. 12 is a flow diagram of an interactive method of searching an X3 corpus.
in step 205, the system activates the originally empty box icon in response to the drag and drop operation of the user. It takes only 0.5-1 second to complete the 204 and 205 steps and the icon compound command line is constructed. For example, by dragging/dropping onto a box icon between the least and the study, the light gray □ becomes blackBecomes an active icon, and the corresponding operation command can be executed;
and step 208, the browser receives and displays the search result.
In the interaction method, the user can operate the language database by knowing the meanings of the 5 operational characters without knowing the complicated operation rules of various operational characters, so that all the links which are easy to make mistakes in the language database search are almost avoided, and the application of the language database is very simple and efficient.
Working example 3:
an X3 corpus, operators related to query vocabulary usage, is consistent with example 2.
FIG. 13 is a flow diagram of another interactive method of searching an X3 corpus.
step 303, popping up 1 square blank icon respectively in front, back and upper blank spaces of the word, wherein each icon is not preset with an operation command and is a blank icon;
304, clicking the vacant icon by the user, responding to the click of the user by the system, popping up an operator option menu, wherein different operators represent different operation commands; FIG. 9 is a diagram illustrating an operator menu popup state according to an embodiment of the present invention;
305, selecting an operator in a menu by a user, responding to the selection of the user by the system, giving an operation command to a corresponding icon, immediately activating an originally vacant light-colored icon to become a black movable icon, and completing the construction of an icon composite command;
and 308, receiving and displaying the search result by the browser.
In the interaction method, the user can operate the language database by knowing the meanings of the 5 operational characters without knowing the complicated operation rules of various operational characters, so that all the links which are easy to make mistakes in the language database search are almost avoided, and the application of the language database is very simple and efficient.
Comparative example
FIG. 1 is a plain text command line search interactive interface for the English corpus Netscpeak, which queries the brackets [ ] as operators for which of the two words, lean and study, is better if the user writes the command line [ study lean ] english in USA in FIG. 1 as: irregular patterns such as [ study lean ] english in USA or [ study lean ] english in USA will report errors, and search results cannot be obtained. In actual operation, the probability of user error is high, so that the potential value of the corpus cannot be fully exerted.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When used in whole or in part, can be implemented in a computer program product that includes one or more computer instructions. When loaded or executed on a computer, cause the flow or functions according to embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.)). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and all simple modifications, equivalent changes and modifications made to the above embodiment according to the technical spirit of the present invention are within the scope of the technical solution of the present invention.
Claims (11)
1. An interactive system for searching a corpus, comprising at least:
a data storage module comprising: an operation command data submodule for storing an operation command and an icon data submodule for storing an icon;
the search interface module exchanges data with the data storage module and comprises a search frame sub-module which is used for inputting search words, popping up icons around the words and carrying out graphic interaction;
and the icon composite command line generation module exchanges data with the search interface module.
2. The interactive system for searching a corpus according to claim 1, wherein the pop-up icon is preset with an operation command, and a one-to-one mapping relationship exists between the operation command and the icon; and activating an operation command in the icon by triggering the icon to enable the icon to become an active icon, and generating an icon composite command line.
3. The interactive system for searching a corpus according to claim 1, wherein the pop-up icon is a blank icon without a preset operation command, the data storage module further comprises an operator data sub-module, a one-to-one mapping relationship exists between operators and operation commands, the search box sub-module comprises an operator column sub-module, and the icon is made to be an active icon by placing the corresponding operation command into the blank icon according to the movement of the operator in the operator column and the placing action on the blank icon.
4. The interactive system for searching a corpus according to claim 1, wherein the pop-up icon is a blank icon without a preset operation command, the data storage module further comprises an operator data sub-module, a one-to-one mapping relationship exists between the operator and the operation command, an operator option menu is popped up according to triggering of the blank icon, and a corresponding operation command is placed into the icon according to a selection action of the operator option menu, so that the icon becomes an active icon.
5. An interactive system for searching a corpus as claimed in any one of claims 2 to 4, wherein said popped-up icons are non-part-of-speech restricted icons, and upon triggering of an active icon suitable for restricting part of speech, a menu containing operator options for part of speech restriction is popped up and upon selection, a corresponding part of speech restriction operation command is assigned to the icon.
6. An interactive system for searching a corpus as claimed in any one of claims 2 to 4, characterized in that: icons for querying synonyms are displayed on the upper or lower portion of the token.
7. An interactive method for an interactive system for searching a corpus as claimed in claim 2, characterized in that it comprises the following steps:
s101, entering a word into a search box, and popping up and displaying the icon around the word; at this time, the icon is in an inactive state;
s102, according to requirements, sequentially clicking N corresponding icons, wherein N is a natural number greater than 0, and at the moment, the clicked icons are in an activated state, are movable icons and form an icon composite command line together with words;
and S103, acquiring a corresponding search result according to the icon composite command line.
8. An interactive method for an interactive system for searching a corpus as claimed in claim 3, characterized in that it comprises the following steps:
s201, displaying an operator column in a search interface module;
s202, entering a word into the search box, and popping up an empty icon without an operation command at an empty position around the word;
s203, sequentially selecting and dragging N operational characters according to requirements, respectively placing the operational characters on N vacant icons, wherein N is a natural number larger than 0, and at the moment, respectively endowing corresponding operation commands to the icons according to operation, so that the icons become active icons and form an icon composite command line together with words;
and S204, acquiring a corresponding search result according to the icon composite command line.
9. An interactive method for an interactive system for searching a corpus as claimed in claim 4, characterized in that it comprises the following steps:
s301, entering a word into the search box, and popping up an empty icon without an operation command at an empty position around the word;
s302, sequentially triggering N vacant icons according to requirements, wherein N is a natural number greater than 0, popping up an operator option menu each time of triggering, endowing a corresponding operation command to the icon according to selection, enabling the icon to become an active icon, and forming an icon composite command line together with a word;
and S303, acquiring a corresponding search result according to the icon composite command line.
10. An interactive method for an interactive system for searching a corpus as claimed in claim 7 or 8, characterized in that said popped-up icons are all non-part-of-speech restricted icons, and in that upon triggering an active icon suitable for restricting part-of-speech, a menu containing operator options for part-of-speech restriction is popped up, and upon selection, a corresponding part-of-speech restricted operation command is assigned to the icon.
11. Method of interacting with an interactive system for searching a corpus according to any of the claims 7-9, characterized in that: icons for querying synonyms are displayed on the upper or lower portion of the token.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010934483.8A CN112083844B (en) | 2020-09-08 | 2020-09-08 | Interactive system and interactive method for searching corpus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010934483.8A CN112083844B (en) | 2020-09-08 | 2020-09-08 | Interactive system and interactive method for searching corpus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112083844A true CN112083844A (en) | 2020-12-15 |
CN112083844B CN112083844B (en) | 2024-04-09 |
Family
ID=73731567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010934483.8A Active CN112083844B (en) | 2020-09-08 | 2020-09-08 | Interactive system and interactive method for searching corpus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112083844B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064911A (en) * | 2012-12-13 | 2013-04-24 | 魏新成 | Click left mouse button in browser address search boxes for activating and displaying search share columns |
CN103077176A (en) * | 2012-01-13 | 2013-05-01 | 北京飞漫软件技术有限公司 | Method of carrying out quick search in browser according to type of key words |
US20140149403A1 (en) * | 2012-11-29 | 2014-05-29 | Lexisnexis, A Division Of Reed Elsevier Inc. | Systems and methods for identifying and visualizing elements of query results |
US20150227523A1 (en) * | 2009-05-27 | 2015-08-13 | Google Inc. | Computer Application Data In Search Results |
CN105159892A (en) * | 2015-08-28 | 2015-12-16 | 长安大学 | Corpus extractor and corpus extraction method |
CN105159993A (en) * | 2015-09-02 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Search method and device |
CN106959765A (en) * | 2017-01-13 | 2017-07-18 | 魏新成 | The method system and equipment of WDS are carried out by desktop complete alphanumeric keyboard |
CN107273457A (en) * | 2017-06-01 | 2017-10-20 | 珠海市魅族科技有限公司 | A kind of searching method and device, computer installation and computer-readable recording medium |
CN107463619A (en) * | 2017-07-04 | 2017-12-12 | 广州神马移动信息科技有限公司 | Searching method, search equipment and terminal device |
CN109917979A (en) * | 2019-02-22 | 2019-06-21 | 维沃移动通信有限公司 | A kind of searching method and mobile terminal |
-
2020
- 2020-09-08 CN CN202010934483.8A patent/CN112083844B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150227523A1 (en) * | 2009-05-27 | 2015-08-13 | Google Inc. | Computer Application Data In Search Results |
CN103077176A (en) * | 2012-01-13 | 2013-05-01 | 北京飞漫软件技术有限公司 | Method of carrying out quick search in browser according to type of key words |
US20140149403A1 (en) * | 2012-11-29 | 2014-05-29 | Lexisnexis, A Division Of Reed Elsevier Inc. | Systems and methods for identifying and visualizing elements of query results |
CN103064911A (en) * | 2012-12-13 | 2013-04-24 | 魏新成 | Click left mouse button in browser address search boxes for activating and displaying search share columns |
CN105159892A (en) * | 2015-08-28 | 2015-12-16 | 长安大学 | Corpus extractor and corpus extraction method |
CN105159993A (en) * | 2015-09-02 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Search method and device |
CN106959765A (en) * | 2017-01-13 | 2017-07-18 | 魏新成 | The method system and equipment of WDS are carried out by desktop complete alphanumeric keyboard |
CN107273457A (en) * | 2017-06-01 | 2017-10-20 | 珠海市魅族科技有限公司 | A kind of searching method and device, computer installation and computer-readable recording medium |
CN107463619A (en) * | 2017-07-04 | 2017-12-12 | 广州神马移动信息科技有限公司 | Searching method, search equipment and terminal device |
CN109917979A (en) * | 2019-02-22 | 2019-06-21 | 维沃移动通信有限公司 | A kind of searching method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112083844B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10698604B2 (en) | Typing assistance for editing | |
US9009030B2 (en) | Method and system for facilitating text input | |
US6690390B1 (en) | Interactive on-line help for completing a task | |
US9946773B2 (en) | Graphical keyboard with integrated search features | |
CN101057239B (en) | Highlighting items for search results | |
US20140032584A1 (en) | Apparatus, method and computer readable medium for selectively editing polysemous symbol sequences in a multifunctional interactive dictionary database | |
US20090193352A1 (en) | Interface for assisting in the construction of search queries | |
US8077974B2 (en) | Compact stylus-based input technique for indic scripts | |
US20150121291A1 (en) | Input Method Editor | |
US20090048020A1 (en) | Efficient text input for game controllers and handheld devices | |
US20120227009A1 (en) | Navigable text user interface | |
US20070214122A1 (en) | Searching command enhancements | |
JP2001509290A (en) | Reduced keyboard disambiguation system | |
JPH0869461A (en) | Text conversion method for computer system | |
US11853689B1 (en) | Computer-implemented presentation of synonyms based on syntactic dependency | |
EP1376394A1 (en) | Methods and systems for processing text elements | |
CN112083844A (en) | Interactive system and interactive method for searching corpus | |
WO2022143523A1 (en) | Vocabulary display method and apparatus, and electronic device | |
US9274609B2 (en) | Inputting radical on touch screen device | |
EP2680118B1 (en) | User interface utilizing generic field for multiple input types | |
CN103309595B (en) | A kind of display screen soft keyboard input method with wrong word input Chinese character | |
CN103577393A (en) | Correction processing method and correction processing device | |
KR101304352B1 (en) | Korean syllable input method by continuous directional drag on screen keyboard | |
CN117666797A (en) | Method and device for inputting space-apart gestures based on thumb relative position recognition | |
Bhatti et al. | Mistype resistant keyboard (NexKey) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |