Disclosure of Invention
In order to solve the technical problems, the invention provides a form construction scheme based on semantics, which applies a semantic analysis technology, so that the wrong selection control can be effectively corrected, and the control can be automatically recommended in a high-efficiency manner.
According to an embodiment of the present invention, there is provided a semantic-based form construction method including: receiving a form comprising elements to be analyzed and corresponding original controls; performing semantic analysis on the element to be analyzed and determining whether the element to be analyzed comprises at least one preset field; if the element to be analyzed comprises at least one preset field, querying a preset table for each preset field, wherein the preset table lists a plurality of fields and proper controls of the fields; comparing the corresponding original control of each preset field with the proper control queried in the preset table for each preset field; if the original control of the preset field is different from the proper control, the original control is adjusted to the proper control in the form.
In one embodiment of the invention, the element to be analyzed comprises text.
In another embodiment of the invention, the element to be analyzed comprises an image.
In yet another embodiment of the invention, the element to be analyzed comprises audio.
In another embodiment of the invention, the element to be analyzed comprises video.
In an embodiment of the present invention, performing semantic analysis on the element to be analyzed includes converting the element to be analyzed into text if the element to be analyzed is not text, and performing semantic analysis.
In another embodiment of the present invention, performing semantic analysis on the element to be analyzed includes performing semantic analysis on the element to be analyzed using an artificial intelligence algorithm if the element to be analyzed is not text.
In one embodiment of the invention, adjusting the original control to the appropriate control in the form is automatically replacing the original control with the appropriate control.
In another embodiment of the invention, adjusting the original control to the appropriate control in the form includes displaying the appropriate control side-by-side with the original control.
In yet another embodiment of the present invention, adjusting the original control to the appropriate control in the form includes popup displaying the appropriate control for user selection replacement.
According to another embodiment of the present invention, there is provided a semantic-based form construction method including receiving a form including elements to be analyzed; performing semantic analysis on the element to be analyzed and determining whether the element to be analyzed comprises at least one preset field; if the element to be analyzed comprises at least one preset field, querying a preset table for each preset field, wherein the preset table lists a plurality of fields and proper controls of the fields; acquiring an appropriate control of each preset field; appropriate controls are automatically presented in the form.
In one embodiment of the invention, the element to be analyzed comprises text.
In another embodiment of the invention, the element to be analyzed comprises an image.
In yet another embodiment of the invention, the element to be analyzed comprises audio.
In another embodiment of the invention, the element to be analyzed comprises video.
In an embodiment of the present invention, performing semantic analysis on the element to be analyzed includes converting the element to be analyzed into text if the element to be analyzed is not text, and performing semantic analysis.
In another embodiment of the invention, performing semantic analysis on the element to be analyzed includes performing semantic analysis on the element to be analyzed using an artificial intelligence algorithm if the element to be analyzed is not text.
In one embodiment of the invention, if there are multiple appropriate controls, the multiple appropriate controls are displayed side-by-side.
In another embodiment of the invention, if there are multiple appropriate controls, the multiple appropriate controls are pop-up displayed for selection and arrangement by the user.
According to an embodiment of the present invention, there is provided a semantic-based form construction system including: the receiving module is used for receiving a form comprising elements to be analyzed and corresponding original controls; the analysis module performs semantic analysis on the element to be analyzed and determines whether the element to be analyzed comprises at least one preset field; and an adjustment module: if the element to be analyzed comprises at least one preset field, querying a preset table for each preset field, wherein the preset table lists a plurality of fields and proper controls of the fields; if the original control is different from the appropriate control queried in the pre-configured table for each pre-set field, the original control is adjusted to the appropriate control in the table.
In one embodiment of the invention, the element to be analyzed comprises text.
In another embodiment of the invention, the element to be analyzed comprises an image.
In yet another embodiment of the invention, the element to be analyzed comprises audio.
In another embodiment of the invention, the element to be analyzed comprises video.
In an embodiment of the present invention, the analyzing module performs semantic analysis on the element to be analyzed, including converting the element to be analyzed into text by the analyzing module if the element to be analyzed is not text, and performing semantic analysis.
In another embodiment of the invention, performing semantic analysis on the element to be analyzed includes performing semantic analysis on the element to be analyzed using an artificial intelligence algorithm if the element to be analyzed is not text.
In one embodiment of the invention, the adjustment module adjusting the original control to the appropriate control in the form includes the adjustment module automatically replacing the original control with the appropriate control.
In another embodiment of the invention, the adjustment module adjusting the original control to the appropriate control in the form includes the adjustment module displaying the appropriate control side-by-side with the original control.
In yet another embodiment of the present invention, the adjustment module adjusting the original control to the appropriate control in the form includes the adjustment module popup displaying the appropriate control for user selection replacement.
According to another embodiment of the present invention, there is provided a semantic-based form construction system including: the receiving module is used for receiving a form comprising elements to be analyzed; the analysis module performs semantic analysis on the element to be analyzed and determines whether the element to be analyzed comprises at least one preset field; the acquisition module is used for: if the element to be analyzed comprises at least one preset field, querying a preset table for each preset field, wherein the preset table lists a plurality of fields and proper controls of the fields; acquiring an appropriate control of each preset field; appropriate controls are automatically presented in the form.
In one embodiment of the invention, the element to be analyzed comprises text.
In another embodiment of the invention, the element to be analyzed comprises an image.
In yet another embodiment of the invention, the element to be analyzed comprises audio.
In another embodiment of the invention, the element to be analyzed comprises video.
In an embodiment of the present invention, the analyzing module performs semantic analysis on the element to be analyzed, including converting the element to be analyzed into text by the analyzing module if the element to be analyzed is not text, and performing semantic analysis.
In another embodiment of the present invention, the analyzing module performing semantic analysis on the element to be analyzed includes performing semantic analysis on the element to be analyzed using an artificial intelligence algorithm if the element to be analyzed is not text.
In one embodiment of the invention, if there are multiple appropriate controls, the acquisition module displays the multiple appropriate controls side by side.
In another embodiment of the present invention, if there are multiple appropriate controls, the acquisition module pops up and displays the multiple appropriate controls for selection and arrangement by the user.
The embodiment of the invention can actively help a user to correct the wrong selection by analyzing the semantics of the constituent elements, thereby improving the working efficiency and the productivity. In fact, the semantic analysis technology is incorporated into form construction and analysis by the technical scheme, so that fault tolerance construction of the form is allowed, user experience is improved, and data accuracy is improved.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Detailed Description
In order to make the above objects, features and advantages of the present invention more comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than as described herein, and therefore the present invention is not limited to the specific embodiments disclosed below.
The invention provides a form construction method and a form construction system based on semantics. Data collection for elements in a form will be described in this specification as a questionnaire, but those skilled in the art will appreciate that embodiments of the invention are applicable to forms of various forms.
Further, elements in the form may include text, images, audio, video, and so forth. In this description, text will be mainly given as an example, but it will be understood by those skilled in the art that embodiments of the present invention are applicable to various forms of elements.
Embodiments of the semantic-based form construction method and system of the present invention will be implemented in conjunction with semantic analysis. Semantic analysis refers to the mining and learning of text, pictures, etc. using various machine learning methods. The segmentation, phrase extraction, etc., involved in semantic analysis of text are known to those skilled in the art and only relevant conclusions are drawn here. Likewise, convolution training, deep learning, information extraction, and natural language conversion involved in semantic analysis of images are also known to those skilled in the art, and only relevant conclusions are drawn here. Similarly, the extraction of information and natural language conversion involved in semantic analysis for audio and video are not described in detail herein.
Form construction interface
Forms may be used in a variety of environments and in a variety of forms, such as spreadsheets, web forms attached to a browser, forms attached to an APP or applet, cloud forms, and the like.
FIG. 1 illustrates one example of a questionnaire construction tool interface. In the questionnaire construction tool interface shown in fig. 1, options can be added to the questionnaire by using various form elements. Examples of form elements are radio boxes (single choice), check boxes (multiple choice), drop down (choice) boxes, single line text boxes, multiple line text boxes, linear scale boxes, matrix radio boxes, matrix gap filling boxes, time/date boxes, and the like. In the questionnaire shown, initially added are "apples", "bananas" and "kiwi" with a single box.
FIG. 2 illustrates one example of an interface for semantic-based form fault tolerant construction according to one embodiment of the present invention. Semantic analysis may be provided through a variety of service forms, such as semantic analysis platforms, semantic analysis cloud services, and these service forms may be more specifically, for example, browsers, APPs, applets, clouds, and the like.
In the initial questionnaire shown in fig. 1, a question is entered: "please select at least one fruit you like. "at least" due to the existence of multi-choice semantics in the question, the results produced by the originally selected control box of FIG. 1 will no longer be accurate, as shown in FIG. 2 (a). In the interface example of the semantic-based form fault tolerant build of FIG. 2, the radio boxes will be able to be automatically replaced with check boxes, as shown in FIG. 2 (b). Thus, the original misplacement or inapplicable control in the form will be replaced, i.e. the form construction interface in this embodiment allows fault tolerant construction.
Likewise, when there are other multi-choice semantics, such as "at least one choice", "which places, factors, categories/types, links", "multiple/locations", "diversity/diversification", "diversification" (which are only a partial non-exhaustive example here), the misconvergence control may be automatically replaced with a corresponding appropriate control. Such replacement is not limited to the replacement of a radio box with a check box, but may be the replacement of a radio box with a drop-down box, the replacement of a drop-down box with a single line of text boxes or multiple lines of text boxes, or the replacement of a matrix radio box with a matrix filled box.
In addition, in other contexts other than Chinese (e.g., english), when there is multi-choice semantics, such as "at least", "a plurality of", "multiple", etc., the wrong choice control can be automatically replaced with a corresponding appropriate control as well. Those skilled in the art will appreciate that embodiments of the present invention are equally applicable in the context of French, german, spanish, russian, and other Europe-based languages, japanese, korean, and other Altai-based languages.
FIG. 3 illustrates one example of an interface for semantic-based form recommendation construction according to one embodiment of the present invention. In the questionnaire shown in fig. 3, the questions entered are: "does the lecture meet your needs? "in this context, the control may answer yes or no with a radio box (301). However, where satisfaction needs to be subdivided to determine fine-grained audience, a linear scale (302) may be selected. The linear scale table (302) subdivides satisfaction into 7 categories: satisfaction (smiling face), 5, 4, 3, 2, 1, dissatisfaction (crying face).
In this case, the original control can be adjusted when the judgment semantics of yes/no are detected. In this embodiment, the yes or no with single box and the linear scale will be displayed side by side for the user to select by themselves. Alternatively, the linear scale table may directly replace the radio box. Alternatively, the linear scale table may pop up for the user to confirm whether to replace the radio frame.
In another embodiment of the invention, there are a number of suitable controls available. There are a variety of ways in which these controls may be displayed. For example, they may be displayed side-by-side, in a list, in an ellipsis, etc. Alternatively, other display means may be employed to alert the user to the presence of various selections.
FIG. 4 illustrates another example of an interface for semantic-based form recommendation construction according to an embodiment of the present invention. The interface for the semantic-based form recommendation construction is similar to that of FIG. 1, except that: the form initially contains only the questions "please select at least one fruit you like" and "apple", "banana" and "kiwi" options (see fig. 4 (a)). Since there is a multi-choice semantic "at least" in this question, the appropriate control "check item" can be automatically presented (see fig. 4 (b)).
The form construction interface in the embodiment allows form construction recommendation based on semantics, and can improve user experience in a certain context environment and improve data accuracy.
Form construction method based on semantics
FIG. 5 shows a flow diagram of a semantic based form construction method according to an embodiment of the present invention.
At block 502, a form is received that includes elements to be analyzed and corresponding original controls. The elements to be analyzed may be text, images, audio, video, and so on. The received form may be a form entered by the user in real time, or may be a form previously established by the user.
At block 504, semantic analysis is performed for the element to be analyzed and it is determined whether the element to be analyzed includes at least one preset field.
In embodiments in which the element to be analyzed is text, performing semantic analysis on the text includes performing text processing on the text. In the prior art, examples of text processing techniques are: segmentation, term weighting, keyword/phrase extraction, syntactic analysis, and so forth. Specifically, the word segmentation method includes a word segmentation method based on character string matching, a full segmentation method based on a language model, a word segmentation method based on a deep learning method, and the like. Term weighting methods include unsupervised computing methods and supervised machine learning methods, among others. The keyword extraction method includes TF-IDF keyword extraction method, topic-model keyword extraction method, RAKE keyword extraction method, etc. The syntax analysis method is classified into phrase syntax analysis and dependency syntax analysis according to the syntax system, and has a rule-based method and a statistical-based method, respectively, and the like.
In the interface example of the semantic based form fault tolerant build of fig. 2, the question is "please select at least one fruit you like". Acquiring the semantic analysis results may include setting the extracted phrase or term to "at least" to acquire multi-choice semantics.
In the interface example of the semantic-based form recommendation construction of FIG. 3, the problem is: "does the lecture meet your needs? ". Acquiring the semantic analysis results may include setting the extracted phrase or word to "whether or not" to acquire decision semantics.
In an embodiment of the present invention, performing semantic analysis on the element to be analyzed includes converting the element to be analyzed into text and performing semantic analysis if the element to be analyzed is not text.
Further, in embodiments in which the element to be analyzed is an image, performing semantic analysis on the image includes performing image-to-text conversion on the image. Image text conversion is essentially a textual description of an image, i.e. descriptive text is automatically generated from an image. The textual description of the images facilitates data mining, analysis and retrieval by people from a vast array of images, combining techniques in the computer vision field and the natural language processing field. The image has the characteristics of multiple channels and high dimensionality and is affected by illumination, resolution, environment and noise. Natural language has structure, grammar is various and standard, vocabulary is flexible and changeable, and the establishment of corresponding relation between images and texts is very challenging. Textual descriptions of images often employ both search-based methods and language model-based methods. The method based on the search is to carry out semantic segmentation on the image and the text respectively, project the image and the text into the same space, establish a corresponding relation and find the text which is most matched with the image from a database. The language model-based method can generate a brand new sentence, namely, extracting objects, scenes and relations in the image, and then generating the sentence by adopting a template.
When descriptive characters of the image are obtained, text semantic analysis can be performed on the descriptive characters, and semantic analysis results can be obtained. For example, for a photograph of a star engaged in an activity, the descriptive text obtained is "star xxx engaged in xx charitable activity in xxxx year x month, dressing. Then in investigating the star support rate or heat, photos of different stars may be used as options, in conjunction with appropriate controls, in order to collect corresponding data. The application scene is also suitable for different commodities, different movie dramas, different hotels and the like.
Also, in embodiments in which the element to be analyzed is audio, performing semantic analysis on the audio includes performing audio-to-text conversion on the audio. When the corresponding text of the audio is obtained, text semantic analysis can be performed on the text, and a semantic analysis result can be obtained.
Still further, in embodiments in which the element to be analyzed is video, semantic analysis of the video includes text conversion of the video frames and audio, respectively. When the corresponding text is obtained, text semantic analysis can be performed on the text, and semantic analysis results can be obtained.
In another embodiment of the present invention, for embodiments where the element to be analyzed is an image, audio or video, the image, audio or video may be semantically analyzed by artificial intelligence algorithms without first performing text conversion on the image, audio or video. Taking an image as an example, the image semantic feature extraction can be realized through fusion of fuzzy logic, genetic algorithm and artificial neural network. Those skilled in the art will appreciate that, as artificial intelligence algorithms continue to evolve and optimize, semantic analysis of different elements to be analyzed and obtaining semantic analysis results may be efficiently performed by a variety of artificial intelligence algorithms.
At block 506, if the element to be analyzed includes at least one preset field, a preconfigured table listing a plurality of fields and appropriate controls for each field is queried for each of the at least one preset field.
In different application scenarios, the preset fields and corresponding controls may be different. For example, for multi-choice semantics of chinese environments, the preset fields may be selected as "at least", "at least one item", "which places, factors, categories/types, links", "multiple/locations", "diversity/diversification", "diversification", etc., and the corresponding controls may be check boxes, drop-down boxes, multi-line text boxes, matrix blank boxes, etc. The preset fields and corresponding controls may be placed in a preset table, which may be one-to-one, one-to-many, many-to-one, or even many-to-many.
For example, for the decision semantics of the chinese environment, the preset fields may be selected as "yes", "no", "like", "dislike", "satisfactory", "dissatisfied", "positive", "negative", etc., and the corresponding controls may be a single box, a linear scale, a matrix single box, etc. Also, when the preset fields and corresponding controls are placed in the preset table, their correspondence may be one-to-one, one-to-many, many-to-one, or even many-to-many.
The pre-configured table may be stored in a computer readable storage medium such as RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, a removable disk, a CD-ROM, a cloud storage, etc.
At block 508, the corresponding original control for each preset field is compared to the appropriate controls queried in the preset table for each preset field.
At block 510, if the original control of the preset field is different from the appropriate control, the original control is adjusted to the appropriate control in the form.
In an embodiment of the invention, adjusting the original control to the appropriate control in the form includes automatically replacing the original control with the appropriate control. For example, in the example interface of the semantic-based form fault tolerant build of FIG. 2, the preset field is "at least," the original control is a single box, and the appropriate control of the preset field "at least" in the pre-configured form is a check box, which is automatically replaced with a check box upon determining the multi-choice semantic.
In another embodiment of the invention, adjusting the original control to the appropriate control in the form includes displaying the appropriate control alongside the original control or in other manners of display. For example, in the example interface of the semantic-based form recommendation construction of fig. 3, the preset field is "no", the original control is a single box, and the proper control of the preset field "no" in the preset form is a single box or a linear scale, then the control single box is displayed side-by-side with the linear scale upon determining the decision semantic.
In yet another embodiment of the present invention, adjusting the original control to the appropriate control in the form includes popup displaying the appropriate control for user selection replacement. For example, in the example interface of the semantic-based form recommendation construction of fig. 3, when the proper control of the preset field "whether" in the preconfigured form is a single box or a linear scale, the linear scale may be pop-up displayed upon determining the decision semantics and prompt the user to select whether to replace the original control single box.
FIG. 6 shows a flow chart of a semantic based form construction method according to another embodiment of the present invention.
At block 601, a form including elements to be analyzed is received. The elements to be analyzed may include text, images, audio, video, and so forth. The received form may be a form entered by the user in real time, or may be a form previously established by the user.
At block 603, semantic analysis is performed for the element to be analyzed and it is determined whether the element to be analyzed includes at least one preset field.
In embodiments in which the element to be analyzed is text, performing semantic analysis on the text includes performing text processing on the text.
In an embodiment of the present invention, performing semantic analysis on the element to be analyzed includes converting the element to be analyzed into text and performing semantic analysis if the element to be analyzed is not text. If the element to be analyzed is not text, the element to be analyzed may be an image, audio or video, or the like.
In another embodiment of the present invention, for embodiments in which the element to be analyzed is an image, audio or video, etc., the image, audio or video may be semantically analyzed by an artificial intelligence algorithm without first performing text conversion on the image, audio or video.
At block 605, if the element to be analyzed includes at least one preset field, a preset table is queried for each preset field, wherein the preset table lists a plurality of fields and appropriate controls for the respective fields.
At block 607, the appropriate controls for each preset field are obtained.
At block 609, the appropriate controls are automatically presented in the form.
In one embodiment of the invention, when there are multiple appropriate controls, the controls may be displayed side-by-side. Alternatively, a plurality of appropriate controls may be pop-up displayed for selection and arrangement by the user.
The method embodiment of the invention can actively help a user to correct the wrong selection by analyzing the semantics of the constituent elements, thereby improving the working efficiency and the productivity. The method embodiment of the invention can automatically recommend proper selection to the user by analyzing the semantics of the constituent elements, thereby further improving the working efficiency and the productivity. In fact, the technical scheme of the invention brings the technologies of text semantic analysis, image semantic analysis, audio semantic analysis, video semantic analysis and the like into form construction and analysis, thereby allowing the form to carry out fault-tolerant construction or automatic recommendation construction, improving user experience and simultaneously improving data accuracy.
Form construction system based on semantics
FIG. 7 shows a block diagram of a semantic based form building system according to an embodiment of the present invention.
As shown in fig. 7, the semantic-based form construction system 700 may include: a receiving module 702, an analyzing module 704 and an adjusting module 706.
The receiving module 702 receives a form that includes elements to be analyzed and corresponding original controls. The elements to be analyzed may include text, images, audio, video, and so forth. The received form may be a form entered by the user in real time, or may be a form previously established by the user.
The analysis module 704 performs semantic analysis on the element to be analyzed and determines whether the element to be analyzed includes at least one preset field.
In embodiments in which the element to be analyzed is text, the analysis module 704 performs semantic analysis on the text including text processing of the text.
In one embodiment of the invention, the analysis module 704 performs semantic analysis on the element to be analyzed, including converting the element to be analyzed into text by the analysis module 704 and performing semantic analysis if the element to be analyzed is not text.
Further, in embodiments in which the element to be analyzed is an image, the analysis module 704 performs semantic analysis on the image including image-to-text conversion of the image. When descriptive text of an image is obtained, the analysis module 704 may perform text semantic analysis on the descriptive text and obtain a semantic analysis result.
Also, in embodiments in which the element to be analyzed is audio, the analysis module 704 performs semantic analysis on the audio including audio-to-text conversion of the audio. When the corresponding text of the audio is obtained, the analysis module 704 may perform text semantic analysis on the text and obtain a semantic analysis result.
Still further, in embodiments in which the element to be analyzed is video, the analysis module 704 performs semantic analysis on the video including text conversion of the video frames and audio, respectively. When a corresponding word is obtained, the analysis module 704 may perform text semantic analysis on the word and obtain a semantic analysis result.
In another embodiment of the invention, for embodiments in which the element to be analyzed comprises an image, audio, or video, the analysis module 704 may perform semantic analysis on the image, audio, or video by artificial intelligence algorithms without first performing text conversion on the image, audio, or video. Taking an image as an example, the image semantic feature extraction can be realized through fusion of fuzzy logic, genetic algorithm and artificial neural network. As will be appreciated by those skilled in the art, with the continued development and optimization of artificial intelligence algorithms, the analysis module performs semantic analysis on different elements to be analyzed and obtains semantic analysis results efficiently through various artificial intelligence algorithms.
If it is determined that the element to be analyzed includes at least one preset field, the adjustment module 706 queries a preset table listing a plurality of fields and appropriate controls for the respective fields for each preset field. In different application scenarios, the fields and corresponding appropriate controls may be different. The correspondence of fields placed in the preconfigured table and the corresponding appropriate controls may be one-to-one, one-to-many, many-to-one, or even many-to-many. The pre-configured table may be stored in a computer readable storage medium.
If the original control is different from the appropriate control queried in the preconfigured table for each preset field, the adjustment module 706 further adjusts the original control to the appropriate control in the table.
In one embodiment of the invention, the adjustment module 706 adjusting the original control to the appropriate control in the form includes the adjustment module 706 automatically replacing the original control with the appropriate control.
In another embodiment of the invention, the adjustment module 706 adjusting the original control to the appropriate control in the form includes the adjustment module 706 displaying the appropriate control side-by-side with the original control.
In yet another embodiment of the invention, the adjustment module 706 adjusting the original control to the appropriate control in the form includes the adjustment module 706 popup displaying the appropriate control for user selection replacement.
FIG. 8 illustrates a block diagram of a semantic-based form construction system according to another embodiment of the present invention.
As shown in fig. 8, a semantic-based form construction system 800 may include: a receiving module 802, an analyzing module 804, and an acquiring module 806.
The receiving module 802 receives a form including elements to be analyzed. The elements to be analyzed may include text, images, audio, video, and so forth. The received form may be a form entered by the user in real time, or may be a form previously established by the user.
The analysis module 804 performs semantic analysis on the element to be analyzed and determines whether the element to be analyzed includes at least one preset field.
In embodiments in which the element to be analyzed is text, the analysis module 804 performs semantic analysis on the text including text processing of the text.
In one embodiment of the present invention, the analyzing module 804 performs semantic analysis on the element to be analyzed, including converting the element to be analyzed into text by the analyzing module 804 and performing semantic analysis if the element to be analyzed is not text. If the element to be analyzed is not text, the element to be analyzed may be an image, audio or video, or the like.
In another embodiment of the invention, for embodiments in which the element to be analyzed is an image, audio, video, or the like, the analysis module 804 may perform semantic analysis on the image, audio, or video by artificial intelligence algorithms without first performing text conversion on the image, audio, or video.
If the element to be analyzed includes at least one preset field, the acquisition module 806 queries a preset table listing a plurality of fields and appropriate controls for the respective fields for each preset field.
The acquisition module 806 acquires the appropriate controls for each preset field and automatically presents the appropriate controls in the form.
In one embodiment of the invention, when there are multiple appropriate controls, the controls may be displayed side-by-side. Alternatively, a plurality of appropriate controls may be pop-up displayed for selection and arrangement by the user.
The system embodiment of the invention can actively help a user to correct wrong selection or automatically recommend proper selection to the user by analyzing the semantics of the constituent elements by each module forming the semantic-based form construction system, thereby improving the working efficiency and the productivity. In fact, the technical scheme of the invention brings the technologies of text semantic analysis, image semantic analysis, audio semantic analysis, video semantic analysis and the like into a form construction and analysis system, thereby allowing the form to carry out fault-tolerant construction or automatic recommendation construction, improving user experience and simultaneously improving data accuracy.
The various steps and modules of the above-described semantic-based form construction method and system may be implemented in hardware, software, or a combination thereof. If implemented in hardware, the various illustrative steps, modules, and circuits described in connection with the invention may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic component, a hardware component, or any combination thereof. A general purpose processor may be a processor, microprocessor, controller, microcontroller, state machine, or the like. If implemented in software, the various illustrative steps, modules, described in connection with the invention may be stored on or transmitted as one or more instructions or code on a computer readable medium. Software modules implementing various operations of the invention may reside in storage media such as RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, a removable disk, a CD-ROM, cloud storage, etc. A storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium, as well as execute corresponding program modules to implement the various steps of the present invention. Moreover, software-based embodiments may be uploaded, downloaded, or accessed remotely via suitable communication means. Such suitable communication means include, for example, the internet, world wide web, intranet, software applications, cable (including fiber optic cable), magnetic communications, electromagnetic communications (including RF, microwave and infrared communications), electronic communications, or other such communication means.
It is also noted that the embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. Additionally, the order of the operations may be rearranged.
The disclosed methods, apparatus, and systems should not be limited in any way. Rather, the invention encompasses all novel and non-obvious features and aspects of the various disclosed embodiments (both alone and in various combinations and subcombinations with one another). The disclosed methods, apparatus and systems are not limited to any specific aspect or feature or combination thereof, nor do any of the disclosed embodiments require that any one or more specific advantages be present or that certain or all technical problems be solved.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many modifications may be made by those of ordinary skill in the art without departing from the spirit of the present invention and the scope of the appended claims, which fall within the scope of the present invention.