CN110633461A - Document detection and processing method, device, electronic device and storage medium - Google Patents
Document detection and processing method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN110633461A CN110633461A CN201910851135.1A CN201910851135A CN110633461A CN 110633461 A CN110633461 A CN 110633461A CN 201910851135 A CN201910851135 A CN 201910851135A CN 110633461 A CN110633461 A CN 110633461A
- Authority
- CN
- China
- Prior art keywords
- text
- processing
- paragraph
- identifier
- interface
- 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
Images
Landscapes
- Document Processing Apparatus (AREA)
- Machine Translation (AREA)
Abstract
Description
技术领域technical field
本申请涉及互联网技术领域,尤其涉及一种文档检测处理方法、装置、电子设备和存储介质。The present application relates to the technical field of the Internet, and in particular to a document detection and processing method, device, electronic equipment and storage medium.
背景技术Background technique
通常,在通过编辑器进行文本编辑的过程中会出现多种格式低质问题比如:错别字、错误标点、段落内容过长等问题。Usually, in the process of text editing through an editor, there will be various low-quality formatting problems such as typos, wrong punctuation, and too long paragraph content.
相关技术中,需要用户自己查找和定位上述问题,并且需要手动修改,操作繁琐,导致文本编辑的准确性和效率比较低。In related technologies, users need to find and locate the above-mentioned problems by themselves, and manual modification is required, and the operation is cumbersome, resulting in relatively low accuracy and efficiency of text editing.
发明内容Contents of the invention
本申请旨在至少在一定程度上解决上述相关技术中的技术问题之一。The present application aims to solve one of the above-mentioned technical problems in the related art at least to a certain extent.
为此,本申请的第一个目的在于提出一种文档检测处理方法,解决了现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。For this reason, the first purpose of this application is to propose a method for document detection and processing, which solves the technical problem of cumbersome document error positioning and processing operations in the prior art, resulting in relatively low accuracy and efficiency of text editing. The form displays the detection results and modification suggestions one by one, and the user can trigger the corresponding text format processing flag as needed to directly call the editor control to process the text, ensuring the accuracy of processing and improving the efficiency of text detection and processing.
本申请的第二个目的在于提出一种文档检测处理装置。The second purpose of the present application is to propose a document detection and processing device.
本申请的第三个目的在于提出一种计算机设备。The third object of the present application is to propose a computer device.
本申请的第四个目的在于提出一种非临时性计算机可读存储介质。The fourth objective of the present application is to provide a non-transitory computer-readable storage medium.
为达上述目的,本申请第一方面实施例提出了一种文档检测处理方法,包括:获取待检测文本段落的检测结果;获取与所述检测结果对应的修改建议,在诊断卡片上以预设显示方式显示所述检测结果和所述修改建议的一一对应关系;接收用户触发的文本格式处理标识;根据所述文本格式处理标识调用编辑器控件,在所述编辑器控件的界面中根据所述文本格式处理标识对文本进行处理。In order to achieve the above purpose, the embodiment of the first aspect of the present application proposes a document detection and processing method, including: obtaining the detection result of the text paragraph to be detected; obtaining the modification suggestion corresponding to the detection result, and displaying the preset The display mode displays the one-to-one correspondence between the detection result and the modification suggestion; receives the text format processing identifier triggered by the user; calls the editor control according to the text format processing identifier, and in the interface of the editor control according to the The above text format processing flag is used to process the text.
另外,本申请实施例的文档检测处理方法,还具有如下附加的技术特征:可选地,所述在所述编辑器控件的界面中根据所述文本格式处理标识对文本进行处理,包括:在所述编辑器控件的界面中根据所述文本格式处理标识确定目标段落位置,并通过预设处理方式对所述目标段落位置对应的目标文本进行样式变换;和/或,在所述编辑器控件的界面中删除所述文本格式处理标识对应的目标文件;和/或,根据所述文本格式处理标识获取待修改文本,并获取所述待修改文本对应的正确文本,并在所述编辑器控件的界面中根据所述正确文本对所述待修改文本进行替换处理;和/或,根据所述文本格式处理标识获取目标错别字和目标位置标签,在所述编辑器控件的界面中根据所述目标位置标签确定所述目标错别字的目标位置。In addition, the document detection and processing method in the embodiment of the present application also has the following additional technical features: Optionally, processing the text according to the text format processing identifier in the interface of the editor control includes: In the interface of the editor control, the target paragraph position is determined according to the text format processing identifier, and the style transformation is performed on the target text corresponding to the target paragraph position through a preset processing method; and/or, in the editor control Delete the target file corresponding to the text format processing identifier in the interface; and/or, obtain the text to be modified according to the text format processing identifier, and obtain the correct text corresponding to the text to be modified, and display it in the editor control In the interface of the editor control, the text to be modified is replaced according to the correct text; and/or, the target typo and the target position label are obtained according to the text format processing identifier, and in the interface of the editor control, according to the target The position tag identifies the target position of the target typo.
可选地,所述在诊断卡片上以预设显示方式显示所述检测结果和所述修改建议的一一对应关系,包括:对所述检测结果进行分类:按照分类结果在所述诊断卡片上以列表形式显示所述检测结果和所述修改建议的一一对应关系。Optionally, displaying the one-to-one correspondence between the test results and the modification suggestions in a preset display manner on the diagnosis card includes: classifying the test results: displaying on the diagnosis card according to the classification results A one-to-one correspondence between the detection results and the modification suggestions is displayed in a list form.
可选地,所述的方法,还包括:接收用户触发的诊断卡片收起操作请求;控制所述诊断卡片以悬浮窗的形式在所述编辑器控件的界面的预设位置显示。Optionally, the method further includes: receiving a user-triggered operation request for folding the diagnostic card; controlling the diagnostic card to be displayed at a preset position on the interface of the editor control in the form of a floating window.
可选地,在所述将待检测文本段落发送给服务器之前,还包括:在监测到所述编辑器控件的界面增加文本内容时,获取所述增加文本内容对应的文本段落标识;若没有获取到所述增加文本内容对应的文本段落标识,则生成与所述增加文本内容对应的文本段落标识;接收用户触发的文档检测处理请求确定待检测文本段落标识,并根据所述待检测文本段落标识确定待检测文本段落。Optionally, before sending the text paragraph to be detected to the server, it also includes: when it is detected that the interface of the editor control adds text content, acquiring the text paragraph identifier corresponding to the added text content; if not When the text paragraph identification corresponding to the added text content is found, the text paragraph identification corresponding to the added text content is generated; the document detection processing request triggered by the user is received to determine the text paragraph identification to be detected, and according to the text paragraph identification to be detected Determine the text paragraph to be detected.
可选地,所述检测结果,包括:段落过长、广告、空行、缩进错误、小标题使用不规范、图片使用不规范、标点符号错误和错别字中的一种或者多种。Optionally, the detection results include: one or more of paragraphs that are too long, advertisements, blank lines, indentation errors, irregular use of subtitles, irregular use of pictures, incorrect punctuation marks, and typos.
为达上述目的,本申请第二方面实施例提出了一种文档检测处理装置,包括:发送接收模块,用于获取待检测文本段落的检测结果;第一获取模块,用于获取与所述检测结果对应的修改建议;显示模块,用于在诊断卡片上以预设显示方式显示所述检测结果和所述修改建议的一一对应关系;第一接收模块,用于接收用户触发的文本格式处理标识;处理模块,用于根据所述文本格式处理标识调用编辑器,在所述编辑器中根据所述文本格式处理标识对文本进行处理。In order to achieve the above purpose, the embodiment of the second aspect of the present application proposes a document detection and processing device, including: a sending and receiving module, used to obtain the detection result of the text paragraph to be detected; a first acquisition module, used to obtain the The modification suggestion corresponding to the result; the display module is used to display the one-to-one correspondence between the test result and the modification suggestion in a preset display mode on the diagnostic card; the first receiving module is used to receive the text format processing triggered by the user An identifier; a processing module, configured to call an editor according to the text format processing identifier, and process the text in the editor according to the text format processing identifier.
另外,本申请实施例的文档检测处理装置,还具有如下附加的技术特征:In addition, the document detection and processing device in the embodiment of the present application also has the following additional technical features:
可选地,所述处理模块,具体用于:在所述编辑器控件的界面中根据所述文本格式处理标识确定目标段落位置,并通过预设处理方式对所述目标段落位置对应的目标文本进行样式变换;和/或,在所述编辑器控件的界面中删除所述文本格式处理标识对应的目标文件;和/或,根据所述文本格式处理标识获取待修改文本,并获取所述待修改文本对应的正确文本,以及在所述编辑器控件的界面中根据所述正确文本对所述待修改文本进行替换处理;和/或,根据所述文本格式处理标识获取目标错别字和目标位置标签,在所述编辑器控件的界面中根据所述目标位置标签确定所述目标错别字的目标位置。Optionally, the processing module is specifically configured to: determine the target paragraph position according to the text format processing identifier in the interface of the editor control, and perform a preset processing method on the target text corresponding to the target paragraph position Perform style transformation; and/or, delete the target file corresponding to the text format processing identifier in the interface of the editor control; and/or, obtain the text to be modified according to the text format processing identifier, and obtain the to-be-modified Modifying the correct text corresponding to the text, and performing replacement processing on the text to be modified according to the correct text in the interface of the editor control; and/or obtaining target typos and target position labels according to the text format processing identification , determining the target position of the target typo according to the target position label in the interface of the editor control.
可选地,所述显示模块,具体用于:对所述检测结果进行分类:按照分类结果在所述诊断卡片上以列表形式显示所述检测结果和所述修改建议的一一对应关系。Optionally, the display module is specifically configured to: classify the detection results: display the one-to-one correspondence between the detection results and the modification suggestions in a list form on the diagnosis card according to the classification results.
可选地,所述装置,还包括:第二接收模块,用于接收用户触发的诊断卡片收起操作请求;控制模块,用于控制所述诊断卡片以悬浮窗的形式在所述编辑器控件的界面的预设位置显示。Optionally, the device further includes: a second receiving module, configured to receive a user-triggered request for a retraction operation of the diagnostic card; a control module, configured to control the diagnostic card to display in the form of a floating window in the editor control The preset position of the interface is displayed.
可选地,所述的装置,还包括:第二获取模块,用于在监测到所述编辑器控件的界面增加文本内容时,获取所述增加文本内容对应的文本段落标识;生成模块,用于若没有获取到所述增加文本内容对应的文本段落标识,则生成与所述增加文本内容对应的文本段落标识;确定模块,用于接收用户触发的文档检测处理请求确定待检测文本段落标识,并根据所述待检测文本段落标识确定待检测文本段落。Optionally, the device further includes: a second acquiring module, configured to acquire a text paragraph identifier corresponding to the added text content when it is detected that the interface of the editor control adds text content; the generating module uses If the text paragraph identification corresponding to the added text content is not obtained, then generate the text paragraph identification corresponding to the added text content; the determination module is used to receive the document detection processing request triggered by the user to determine the text paragraph identification to be detected, And determine the text paragraph to be detected according to the identification of the text paragraph to be detected.
为达上述目的,本申请第三方面实施例提出了一种计算机设备,包括:处理器和存储器;其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如第一方面实施例所述的文档检测处理方法。In order to achieve the above purpose, the embodiment of the third aspect of the present application proposes a computer device, including: a processor and a memory; wherein, the processor reads the executable program code stored in the memory to run and the The program corresponding to the executable program code is used to implement the document detection and processing method described in the embodiment of the first aspect.
为达上述目的,本申请第四方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面实施例所述的文档检测处理方法。To achieve the above purpose, the embodiment of the fourth aspect of the present application proposes a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the document as described in the embodiment of the first aspect is realized. Detection method.
为达上述目的,本申请第五方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,实现如第一方面实施例所述的文档检测处理方法。To achieve the above purpose, the embodiment of the fifth aspect of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor, the document detection and processing method as described in the embodiment of the first aspect is implemented.
本申请实施例提供的技术方案可以包含如下的有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
获取待检测文本段落的检测结果;获取与检测结果对应的修改建议,在诊断卡片上以预设显示方式显示检测结果和修改建议的一一对应关系;接收用户触发的文本格式处理标识;根据文本格式处理标识调用编辑器控件,在编辑器控件的界面中根据文本格式处理标识对文本进行处理。解决了现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。Obtain the detection result of the text paragraph to be detected; obtain the modification suggestion corresponding to the detection result, and display the one-to-one correspondence between the detection result and the modification suggestion in the preset display mode on the diagnostic card; receive the text format processing logo triggered by the user; according to the text The format processing flag calls the editor control, and the text is processed according to the text format processing flag in the interface of the editor control. It solves the technical problem of cumbersome document error positioning and processing operations in the existing technology, which leads to relatively low accuracy and efficiency of text editing, and displays the detection results and modification suggestions one by one in the form of a diagnostic card, and the user can trigger the corresponding response as needed The text format processing flag directly calls the editor control to process the text, ensuring the accuracy of processing and improving the efficiency of text detection and processing.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
附图说明Description of drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:
图1是根据本申请一个实施例的文档检测处理方法的流程图;Fig. 1 is a flowchart of a document detection processing method according to an embodiment of the present application;
图2是根据本申请一个实施例的诊断卡片的示例图;Fig. 2 is an example diagram of a diagnostic card according to an embodiment of the present application;
图3是根据本申请另一个实施例的文档检测处理方法的流程图;Fig. 3 is a flowchart of a document detection processing method according to another embodiment of the present application;
图4是根据本申请又一个实施例的文档检测处理方法的流程图;FIG. 4 is a flowchart of a document detection and processing method according to yet another embodiment of the present application;
图5是根据本申请再一个实施例的文档检测处理方法的流程图;5 is a flow chart of a document detection and processing method according to yet another embodiment of the present application;
图6是根据本申请一个实施例的文档检测处理装置的结构示意图;FIG. 6 is a schematic structural diagram of a document detection and processing device according to an embodiment of the present application;
图7是根据本申请另一个实施例的文档检测处理装置的结构示意图;FIG. 7 is a schematic structural diagram of a document detection and processing device according to another embodiment of the present application;
图8是根据本申请又一个实施例的文档检测处理装置的结构示意图;FIG. 8 is a schematic structural diagram of a document detection and processing device according to yet another embodiment of the present application;
图9是根据本申请一个实施例的电子设备的结构示意图。Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.
下面参考附图描述本申请实施例的文档检测处理方法、装置、电子设备和存储介质。The following describes the document detection and processing method, device, electronic device, and storage medium in the embodiments of the present application with reference to the accompanying drawings.
针对背景技术中提到的,现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题。针对上述问题,本申请提出了一种文档检测处理的方法,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。As mentioned in the background art, the document error location processing operation in the prior art is cumbersome, which leads to the technical problem of relatively low accuracy and efficiency of text editing. In view of the above problems, this application proposes a method for document detection and processing, which displays the detection results and modification suggestions one by one in the form of a diagnostic card, and the user can trigger the corresponding text format processing flag as needed to directly call the editor control to pair The text is processed to ensure the accuracy of the processing and improve the efficiency of text detection and processing.
具体地,本申请中编辑器控件只负责处理编辑器控件的界面中的错误提示,包括:错误段落区域飘红,错别字飘红等,诊断卡片则需要负责通知编辑器控件取出编辑器控件界面中的全文内容、段落内容等,并接收编辑器控件返回的内容,并将返回的内容发送请求进行检测,可以发送给服务器,接收服务器返回的检测结果,也可以在本地进行检测,返回检测结果。Specifically, the editor control in this application is only responsible for handling the error prompts in the interface of the editor control, including: error paragraph areas are floating red, typos are floating red, etc., and the diagnostic card needs to be responsible for notifying the editor control to take out the full text in the editor control interface Content, paragraph content, etc., and receive the content returned by the editor control, and send the returned content to the request for detection, which can be sent to the server to receive the detection result returned by the server, or it can be detected locally and return the detection result.
具体而言,图1是根据本申请一个实施例的文档检测处理方法的流程图,如图1所示,该方法包括:Specifically, FIG. 1 is a flowchart of a document detection and processing method according to an embodiment of the present application. As shown in FIG. 1, the method includes:
步骤101,获取待检测文本段落的检测结果。
在实际应用中,对于文档检测处理可以是针对整个文档或者部分文档,还可以是在编辑过程中实时检测,可以根据实际应用需要进行选择。In practical applications, the document detection process can be for the whole document or a part of the document, and can also be detected in real time during the editing process, which can be selected according to the needs of practical applications.
具体地,本申请中以文本段落为最小颗粒来处理文章的格式错误,在加载编辑器内容时,都会扫描所有的段落,检查是否有对应的文本段落标识,如果没有则给对应的文本段落标识生成一个文本段落标识,之后对文本内容的识别和修改都是基于段落来修改。Specifically, in this application, text paragraphs are used as the smallest particle to deal with the format error of the article. When loading the content of the editor, all paragraphs will be scanned to check whether there is a corresponding text paragraph identification, and if not, give the corresponding text paragraph identification A text paragraph mark is generated, and the identification and modification of the text content are all modified based on the paragraph.
作为一种示例,根据一个或者多个文本段落标识确定待检测文本段落,并将其发送给服务器,可以理解的是,服务器可以通过预设模板或者是预设算法等方式对待检测文本段进行检测并生成对应的检测结果,由此,可以接收到服务器反馈的检测结果。其中,检测结果可以是错别字、标点符号和图片分辨率不符合要求等。As an example, the text paragraph to be detected is determined according to one or more text paragraph identifiers and sent to the server. It can be understood that the server can detect the text paragraph to be detected by means of a preset template or a preset algorithm. And generate a corresponding detection result, so that the detection result fed back by the server can be received. Among them, the detection results may be typos, punctuation marks, and image resolution that do not meet the requirements.
作为另一种示例,根据一个或者多个文本段落标识确定待检测文本段落在本地进行检测,可以理解的是,在本地也可以通过预设模板或者是预设算法等方式对待检测文本段进行检测并生成对应的检测结果,由此,可以接收到本地反馈的检测结果。其中,检测结果可以是段落过长、广告、空行、缩进错误、小标题使用不规范、图片使用不规范(比如图片分辨率不符合要求)、标点符号错误和错别字中的一种或者多种。As another example, according to one or more text paragraph identifiers, it is determined that the text paragraph to be detected is detected locally. It can be understood that the text paragraph to be detected can also be detected locally by means of a preset template or a preset algorithm. And generate a corresponding detection result, so that the local feedback detection result can be received. Among them, the detection results can be one or more of paragraphs that are too long, advertisements, blank lines, indentation errors, irregular use of subtitles, irregular use of images (such as image resolution that does not meet the requirements), punctuation errors, and typos kind.
步骤102,获取与检测结果对应的修改建议,在诊断卡片上以预设显示方式显示检测结果和修改建议的一一对应关系。In
具体地,服务器反馈的是有错误的检测结果,从而获取与检测结果对应的修改建议,并在诊断卡片上根据需要选择预设显示方式显示检测结果和修改建议的一一对应关系。Specifically, the server feeds back the detection results with errors, so as to obtain modification suggestions corresponding to the detection results, and select a preset display mode to display the one-to-one correspondence between the detection results and modification suggestions on the diagnostic card as required.
其中,不同的检测结果对应不同的修改建议,比如检测结果为错别文本,可以获取对应的正确文本,显示错别文本和正确文本一一对应关系,再比如比如检测结果为没有错误,修改建议可以为继续编辑,显示没有错误和继续编辑一一对应关系等。Among them, different detection results correspond to different modification suggestions. For example, if the detection result is wrong text, the corresponding correct text can be obtained, and the one-to-one correspondence between the wrong text and the correct text can be displayed. For example, if the detection result is no error, the modification suggestion It can be one-to-one correspondence for continuing editing, displaying no errors and continuing editing.
其中,在诊断卡片上根据需要选择预设显示方式显示检测结果和修改建议的一一对应关系有很多种,作为一种示例,对检测结果进行分类,按照分类结果在诊断卡片上以列表形式显示检测结果和修改建议的一一对应关系,对于同一类的错误问题归类成一类并显示,方便用户查看和操作,提升用户使用体验。Among them, there are many kinds of one-to-one correspondence between the test results and the modification suggestions selected in the preset display mode as needed on the diagnosis card. As an example, the test results are classified and displayed in a list form on the diagnosis card according to the classification results The one-to-one correspondence between detection results and modification suggestions, for the same type of error problems are classified into one category and displayed, which is convenient for users to view and operate, and improves user experience.
其中,本申请中使用React(React是一个声明式,高效且灵活的用于构建用户界面的JavaScript库,React可以将一些简短、独立的组件组合成复杂的UI界面,高效的完成UI界面的开发)来开发诊断卡片,React是以数据驱动,组件化为设计理念,数据驱动实现了操作逻辑与页面节点的解耦,组件化意味着复用性,实现组件的高度抽象,从而,React可以很大的提高开发效率,并且支撑业务的快速迭代。Among them, React is used in this application (React is a declarative, efficient and flexible JavaScript library for building user interfaces, React can combine some short and independent components into complex UI interfaces, and efficiently complete the development of UI interfaces ) to develop diagnostic cards, React is based on data-driven, component-based design concepts, data-driven to achieve the decoupling of operation logic and page nodes, componentization means reusability, and realizes high abstraction of components, so React can be very Greatly improve development efficiency and support rapid iteration of business.
举例而言,如图2A所示,诊断卡片以悬浮窗的形式在编辑器控件界面的任意位置,通过对诊断卡片进行点击或者双击等操作可以显示更多诊断内容,比如图2B所示,显示检测结果和修改建议的一一对应关系,比如入目三分-入木三分。For example, as shown in Figure 2A, the diagnostic card is in the form of a floating window at any position on the editor control interface, and more diagnostic content can be displayed by clicking or double-clicking on the diagnostic card, as shown in Figure 2B. One-to-one correspondence between test results and modification suggestions, such as three points into the eyes - three points into the wood.
步骤103,接收用户触发的文本格式处理标识。
步骤104,根据文本格式处理标识调用编辑器控件,在编辑器控件的界面中根据文本格式处理标识对文本进行处理。
可以理解的是,在显示检测结果和修改建议的一一对应关系之后,用户可以根据需要进行选择处理,比如上述图2B中的采纳按钮触发文本格式处理标识,举例说明如下:It can be understood that after displaying the one-to-one correspondence between the detection results and the modification suggestions, the user can select and process according to needs, for example, the adopt button in the above-mentioned Figure 2B triggers the text format processing logo, and the examples are as follows:
第一种示例,在编辑器控件的界面中根据文本格式处理标识确定目标段落位置,并通过预设处理方式对目标段落位置对应的目标文本进行样式变换。In the first example, the target paragraph position is determined according to the text format processing identifier in the interface of the editor control, and the style transformation is performed on the target text corresponding to the target paragraph position through a preset processing method.
第一种示例,在编辑器控件的界面中删除所述文本格式处理标识对应的目标文件,和根据文本格式处理标识获取待修改文本,将待修改文本发送给服务器,并接收服务器反馈的正确文本,并在编辑器控件的界面中根据正确文本对待修改文本进行替换处理。The first example is to delete the target file corresponding to the text format processing identifier in the interface of the editor control, and obtain the text to be modified according to the text format processing identifier, send the text to be modified to the server, and receive the correct text fed back by the server , and replace the text to be modified according to the correct text in the interface of the editor control.
第三种示例,根据文本格式处理标识获取目标错别字和目标位置标签,在编辑器控件的界面中根据目标位置标签确定目标错别字的目标位置。In the third example, the target typo and the target position label are obtained according to the text format processing identifier, and the target position of the target typo is determined according to the target position label in the interface of the editor control.
综上,本申请实施例的文档检测处理方法,获取待检测文本段落的检测结果;获取与检测结果对应的修改建议,在诊断卡片上以预设显示方式显示检测结果和修改建议的一一对应关系;接收用户触发的文本格式处理标识;根据文本格式处理标识调用编辑器控件,在编辑器控件的界面中根据文本格式处理标识对文本进行处理。解决了现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。To sum up, the document detection and processing method of the embodiment of the present application obtains the detection result of the text paragraph to be detected; obtains the modification suggestion corresponding to the detection result, and displays the one-to-one correspondence between the detection result and the modification suggestion in a preset display mode on the diagnosis card Relationship; receive the text format processing identifier triggered by the user; call the editor control according to the text format processing identifier, and process the text according to the text format processing identifier in the interface of the editor control. It solves the technical problem of cumbersome document error positioning and processing operations in the existing technology, which leads to relatively low accuracy and efficiency of text editing, and displays the detection results and modification suggestions one by one in the form of a diagnostic card, and the user can trigger the corresponding response as needed The text format processing flag directly calls the editor control to process the text, ensuring the accuracy of processing and improving the efficiency of text detection and processing.
图3是根据本申请另一个实施例的文档检测处理方法的流程图,如图2所示,在步骤101之前,该方法还包括:Fig. 3 is a flow chart of a document detection processing method according to another embodiment of the present application. As shown in Fig. 2, before
步骤201,在监测到编辑器控件的界面增加文本内容时,获取增加文本内容对应的文本段落标识。
步骤202,若没有获取到增加文本内容对应的文本段落标识,则生成与增加文本内容对应的文本段落标识。
步骤203,接收用户触发的文档检测处理请求确定待检测文本段落标识,并根据待检测文本段落标识确定待检测文本段落。
具体地,本申请中以文本段落为最小颗粒来处理文章的格式错误,在加载编辑器控件界面中的内容时,都会扫描所有的段落,检查是否有对应的文本段落标识,如果没有则给对应的文本段落标识生成一个文本段落标识,之后对文本内容的识别和修改都是基于段落来修改。Specifically, in this application, text paragraphs are used as the smallest particle to deal with the formatting errors of articles. When loading the content in the editor control interface, all paragraphs will be scanned to check whether there is a corresponding text paragraph identifier, and if not, give the corresponding The text paragraph mark generates a text paragraph mark, and then the recognition and modification of the text content are all modified based on the paragraph.
从而,用户可以通过选定部分或者全部内容来触发一个或多个文本段落标识来确定待检测文本段落,由此,可以进一步提高文档检测处理效率。Therefore, the user can trigger one or more text paragraph identifiers by selecting part or all of the content to determine the text paragraph to be detected, thereby further improving the document detection processing efficiency.
图4是根据本申请又一个实施例的文档检测处理方法的流程图,如图3所示,该方法包括:Fig. 4 is a flowchart of a document detection and processing method according to yet another embodiment of the present application. As shown in Fig. 3, the method includes:
步骤301,将待检测文本段落发送给服务器,并接收服务器反馈的检测结果。
在实际应用中,对于文档检测处理可以是针对整个文档或者部分文档,还可以是在编辑过程中实时检测,可以根据实际应用需要进行选择。In practical applications, the document detection process can be for the whole document or a part of the document, and can also be detected in real time during the editing process, which can be selected according to the needs of practical applications.
具体地,本申请中以文本段落为最小颗粒来处理文章的格式错误,在加载编辑器控件界面中内容时,都会扫描所有的段落,检查是否有对应的文本段落标识,如果没有则给对应的文本段落标识生成一个文本段落标识,之后对文本内容的识别和修改都是基于段落来修改。Specifically, in this application, text paragraphs are used as the smallest particle to deal with the formatting errors of articles. When loading the content in the editor control interface, all paragraphs will be scanned to check whether there is a corresponding text paragraph identifier, and if not, give the corresponding The text paragraph mark generates a text paragraph mark, and then the recognition and modification of the text content are all based on the paragraph.
作为一种示例,根据一个或者多个文本段落标识确定待检测文本段落,并将其发送给服务器,可以理解的是,服务器可以通过预设模板或者是预设算法等方式对待检测文本段进行检测并生成对应的检测结果,由此,可以接收到服务器反馈的检测结果。其中,检测结果可以是错别字、标点符号和图片分辨率不符合要求等。As an example, the text paragraph to be detected is determined according to one or more text paragraph identifiers and sent to the server. It can be understood that the server can detect the text paragraph to be detected by means of a preset template or a preset algorithm. And generate a corresponding detection result, so that the detection result fed back by the server can be received. Among them, the detection results may be typos, punctuation marks, and image resolution that do not meet the requirements.
步骤302,获取与检测结果对应的修改建议,对检测结果进行分类,按照分类结果在诊断卡片上以列表形式显示检测结果和修改建议的一一对应关系。
具体地,检测结果可以中存在多种格式低质问题,如:错别字、错误标点、段落内容过长等问题,可以给出相应的改写建议,获取与检测结果对应的修改建议,即提供错别字和错误标点的改写功能,减少文章低质问题、提高文章质量;完善辅助写作功能、提升作者使用体验。Specifically, there may be many low-quality problems in the detection results, such as typos, wrong punctuation, and too long paragraphs, etc., corresponding rewriting suggestions can be given, and modification suggestions corresponding to the detection results can be obtained, that is, typos and The rewriting function of wrong punctuation reduces the problem of low-quality articles and improves the quality of articles; improves the auxiliary writing function and improves the author's experience.
进一步地,按照分类结果在诊断卡片上以列表形式显示检测结果和修改建议的一一对应关系,对于同一类的问题归类成一类列表显示,方便用户查看和操作Further, according to the classification results, the one-to-one correspondence between the detection results and the modification suggestions is displayed in the form of a list on the diagnosis card, and the problems of the same type are classified into one type of list display, which is convenient for users to view and operate
步骤303,接收用户触发的文本格式处理标识。
步骤304,在编辑器控件的界面中根据文本格式处理标识确定目标段落位置,并通过预设处理方式对目标段落位置对应的目标文本进行样式变换。Step 304: Determine the target paragraph position according to the text format processing identifier in the interface of the editor control, and perform style transformation on the target text corresponding to the target paragraph position through a preset processing method.
步骤305,在编辑器控件的界面中删除文本格式处理标识对应的目标文件。
需要说明的是,本申请中,诊断卡片和编辑器基于postMessage方式可以安全地实现跨源通信,通常,对于两个不同页面的脚本,只有当执行它们的页面位于具有相同的协议(通常为https),端口号(比如443为https的默认值),以及主机(两个页面的模数Document.domain设置为相同的值)时,这两个脚本才能相互通信,通信协议中,可以包含3个字段,type(标明来源)、action(编辑器或者诊断卡片需要做的)、data(所有的数据)。It should be noted that in this application, the diagnostic card and the editor can safely implement cross-source communication based on postMessage. Usually, for scripts on two different pages, only when the pages that execute them are located on the same protocol (usually https ), the port number (for example, 443 is the default value of https), and the host (the modulo Document.domain of the two pages is set to the same value), the two scripts can communicate with each other. The communication protocol can contain 3 Fields, type (indicating the source), action (what the editor or diagnostic card needs to do), data (all data).
具体地,用户点击对应的错误,即可以接收用户触发的文本格式处理标识,诊断卡片将文本段落标识通过postMessage方式传给编辑器,编辑器找到文本段落标识对应的目标段落位置,比如通过scrollIntoView方法将当前的元素滚动到浏览器窗口的可视区域内,并添加对应的css样式,并改变段落背景颜色为红色,也就是说错误段落滚动到当前视口区域,并且错误的段落背景色会飘红,用户可以方便且快速的定位到错误内容。Specifically, when the user clicks on the corresponding error, the text format processing identifier triggered by the user can be received. The diagnostic card sends the text paragraph identifier to the editor through postMessage, and the editor finds the target paragraph position corresponding to the text paragraph identifier, for example, through the scrollIntoView method. Scroll the current element into the visible area of the browser window, add the corresponding css style, and change the background color of the paragraph to red, that is to say, scroll the wrong paragraph to the current viewport area, and the background color of the wrong paragraph will be red , users can easily and quickly locate the wrong content.
具体地,对于可以直接删除掉的错误,比如空行、模糊图片,编辑器根据文本格式处理标识找到相应目标文件直接删除。Specifically, for errors that can be deleted directly, such as blank lines and blurred pictures, the editor finds the corresponding target file and deletes it directly according to the text format processing flag.
综上,本申请实施例的文档检测处理方法,通过将待检测文本段落发送给服务器,并接收服务器反馈的检测结果,获取与检测结果对应的修改建议,对检测结果进行分类,按照分类结果在诊断卡片上以列表形式显示检测结果和修改建议的一一对应关系,接收用户触发的文本格式处理标识,在编辑器控件的界面中根据文本格式处理标识确定目标段落位置,并通过预设处理方式对目标段落位置对应的目标文本进行样式变换,在编辑器控件的界面中删除文本格式处理标识对应的目标文件。解决了现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。To sum up, the document detection and processing method of the embodiment of the present application sends the text paragraphs to be detected to the server, receives the detection results fed back by the server, obtains modification suggestions corresponding to the detection results, and classifies the detection results. The diagnosis card displays the one-to-one correspondence between the detection results and the modification suggestions in the form of a list, receives the text format processing mark triggered by the user, determines the position of the target paragraph according to the text format processing mark in the interface of the editor control, and uses the preset processing method Perform style transformation on the target text corresponding to the target paragraph position, and delete the target file corresponding to the text format processing identifier in the interface of the editor control. It solves the technical problem of cumbersome document error positioning and processing operations in the existing technology, which leads to relatively low accuracy and efficiency of text editing, and displays the detection results and modification suggestions one by one in the form of a diagnostic card, and the user can trigger the corresponding response as needed The text format processing flag directly calls the editor control to process the text, ensuring the accuracy of processing and improving the efficiency of text detection and processing.
图5是根据本申请再一个实施例的文档检测处理方法的流程图,如图4所示,该方法包括:Fig. 5 is a flowchart of a document detection and processing method according to yet another embodiment of the present application. As shown in Fig. 4, the method includes:
步骤401,将待检测文本段落发送给服务器,并接收服务器反馈的检测结果。
在实际应用中,对于文档检测处理可以是针对整个文档或者部分文档,还可以是在编辑过程中实时检测,可以根据实际应用需要进行选择。In practical applications, the document detection process can be for the whole document or a part of the document, and can also be detected in real time during the editing process, which can be selected according to the needs of practical applications.
具体地,本申请中以文本段落为最小颗粒来处理文章的格式错误,在加载编辑器控件界面中的内容时,都会扫描所有的段落,检查是否有对应的文本段落标识,如果没有则给对应的文本段落标识生成一个文本段落标识,之后对文本内容的识别和修改都是基于段落来处理。Specifically, in this application, text paragraphs are used as the smallest particle to deal with the formatting errors of articles. When loading the content in the editor control interface, all paragraphs will be scanned to check whether there is a corresponding text paragraph identifier, and if not, give the corresponding The text paragraph mark generates a text paragraph mark, and then the identification and modification of the text content are all processed based on the paragraph.
作为一种示例,根据一个或者多个文本段落标识确定待检测文本段落,并将其发送给服务器,可以理解的是,服务器可以通过预设模板或者是预设算法等方式对待检测文本段进行检测并生成对应的检测结果,由此,可以接收到服务器反馈的检测结果。其中,检测结果可以是错别字、标点符号和图片分辨率不符合要求等。As an example, the text paragraph to be detected is determined according to one or more text paragraph identifiers and sent to the server. It can be understood that the server can detect the text paragraph to be detected by means of a preset template or a preset algorithm. And generate a corresponding detection result, so that the detection result fed back by the server can be received. Among them, the detection results may be typos, punctuation marks, and image resolution that do not meet the requirements.
步骤402,获取与检测结果对应的修改建议,在诊断卡片上以预设显示方式显示检测结果和修改建议的一一对应关系。
具体地,服务器反馈的是有错误的检测结果,从而获取与检测结果对应的修改建议,并在诊断卡片上根据需要选择预设显示方式显示检测结果和修改建议的一一对应关系。Specifically, the server feeds back the detection results with errors, so as to obtain modification suggestions corresponding to the detection results, and select a preset display mode to display the one-to-one correspondence between the detection results and modification suggestions on the diagnostic card as required.
其中,在诊断卡片上根据需要选择预设显示方式显示检测结果和修改建议的一一对应关系有很多种,作为一种示例,对检测结果进行分类,按照分类结果在诊断卡片上以列表形式显示检测结果和修改建议的一一对应关系,对于同一类的错误问题归类成一类并显示,方便用户查看和操作,提升用户使用体验。Among them, there are many kinds of one-to-one correspondence between the test results and the modification suggestions selected in the preset display mode as needed on the diagnosis card. As an example, the test results are classified and displayed in a list form on the diagnosis card according to the classification results The one-to-one correspondence between detection results and modification suggestions, for the same type of error problems are classified into one category and displayed, which is convenient for users to view and operate, and improves user experience.
其中,本申请中使用React(React是一个声明式,高效且灵活的用于构建用户界面的JavaScript库,React可以将一些简短、独立的组件组合成复杂的UI界面,高效的完成UI界面的开发)来开发诊断卡片,React是以数据驱动,组件化为设计理念,数据驱动实现了操作逻辑与页面节点的解耦,组件化意味着复用性,实现组件的高度抽象,从而,React可以很大的提高开发效率,并且支撑业务的快速迭代。Among them, React is used in this application (React is a declarative, efficient and flexible JavaScript library for building user interfaces, React can combine some short and independent components into complex UI interfaces, and efficiently complete the development of UI interfaces ) to develop diagnostic cards, React is based on data-driven, component-based design concepts, data-driven to achieve the decoupling of operation logic and page nodes, componentization means reusability, and realizes high abstraction of components, so React can be very Greatly improve development efficiency and support rapid iteration of business.
步骤403,接收用户触发的文本格式处理标识。
步骤404,根据文本格式处理标识获取待修改文本,获取待修改文本对应的正确文本,以及在编辑器控件的界面中根据正确文本对待修改文本进行替换处理。Step 404: Acquire the text to be modified according to the text format processing identifier, obtain the correct text corresponding to the text to be modified, and perform replacement processing on the text to be modified according to the correct text in the interface of the editor control.
步骤405,根据文本格式处理标识获取目标错别字和目标位置标签,在编辑器控件的界面中根据目标位置标签确定目标错别字的目标位置。Step 405: Obtain the target typo and the target position label according to the text format processing identifier, and determine the target position of the target typo according to the target position label in the interface of the editor control.
本申请中,对于诊断请求,诊断卡片需要根据返回的内容渲染诊断卡片,并将需要替换的段落数组通知编辑器,编辑器需要根据数组,将编辑器中对应的错别字或者错误标点段落进行替换;对于采纳处理请求,诊断卡片需要通知编辑器返回对应的错误段落,并接受返回的错误段落,将内容发送给服务器,服务器对错误段落进行处理,将处理好的结果返回给诊断卡片,诊断卡片通知编辑器将对应的内容进行替换或者处理。In this application, for a diagnostic request, the diagnostic card needs to render the diagnostic card according to the returned content, and notify the editor of the paragraph array that needs to be replaced, and the editor needs to replace the corresponding typo or wrong punctuation paragraph in the editor according to the array; For the acceptance processing request, the diagnosis card needs to notify the editor to return the corresponding error paragraph, accept the returned error paragraph, send the content to the server, the server processes the error paragraph, and returns the processed result to the diagnosis card, and the diagnosis card notifies The editor will replace or process the corresponding content.
具体地,用户点击诊断卡片的采纳触发的文本格式处理标识,会调用策略能力将对应的错误内容改写,将处理好的修改建议返回,编辑器直接替换。Specifically, when the user clicks the text format processing logo triggered by the adoption of the diagnosis card, the policy capability will be invoked to rewrite the corresponding error content, and the processed modification suggestion will be returned, and the editor will directly replace it.
具体地,现有技术中返回错别字及其对应的偏移量,错别字识别率非常低,只有30%,因为策略只对纯文本进行错别字识别,然而编辑器内部的内容是html结构,html结构包含很多html标签,导致的结果就是定位不准,并且对于相同标签下的相同文字时,无法确定哪个是错别字,本申请的错别字和错误标点识别解决方案是策略在对应错别字的位置添加一个目标位置标签即span标签,并将要更改的错别字绑定到span标签的属性中,错别字的识别率提高到了100%。由此,提供了多种文章格式错误的识别,同时也提高了错别字和错误标点的识别率。Specifically, typos and their corresponding offsets are returned in the prior art, and the recognition rate of typos is very low, only 30%, because the strategy only recognizes typos in plain text, but the content inside the editor is an html structure, and the html structure contains Many html tags lead to inaccurate positioning, and for the same text under the same tag, it is impossible to determine which is a typo. The solution for identifying typos and wrong punctuations in this application is to add a target position label at the position corresponding to the typo That is, the span tag, and the typo to be changed is bound to the attribute of the span tag, and the recognition rate of the typo is increased to 100%. As a result, the recognition of various article format errors is provided, and the recognition rate of typos and wrong punctuations is also improved.
需要说明的是,错误提示可以不可采纳,用户可以触发点击关闭,关闭后,对应类型的错误在本次编辑过程中都不会再提醒。也就是说,提供了改写能力,用户选择采纳之后,自动替用户改写,且提供多个问题一起采纳的能力;用户可以关闭卡片,关闭之后,相应的错误卡片就不再提醒。It should be noted that the error prompt can not be adopted, and the user can trigger the click to close. After closing, the corresponding type of error will not be reminded again during this editing process. That is to say, it provides the ability to rewrite. After the user chooses to accept, it will automatically rewrite for the user, and provides the ability to accept multiple questions together; the user can close the card. After closing, the corresponding error card will no longer remind.
步骤406,接收用户触发的诊断卡片收起操作请求。
步骤407,控制诊断卡片以悬浮窗的形式在编辑器控件的界面的预设位置显示。
具体地,用户可以根据需要触发的诊断卡片收起操作请求,从而控制诊断卡片以悬浮窗的形式在编辑器的预设位置显示,方便用户编辑,提升用户体验。Specifically, the user can trigger the diagnostic card retraction operation request according to the needs, so as to control the diagnostic card to be displayed in the preset position of the editor in the form of a floating window, which is convenient for users to edit and improves user experience.
综上,本申请实施例的文档检测处理方法,通过将待检测文本段落发送给服务器,并接收服务器反馈的检测结果,获取与检测结果对应的修改建议,在诊断卡片上以预设显示方式显示检测结果和修改建议的一一对应关系,接收用户触发的文本格式处理标识,根据文本格式处理标识获取待修改文本,将待修改文本发送给服务器,并接收服务器反馈的修改建议,并在编辑器控件的界面中根据修改建议对待修改文本进行替换处理,根据文本格式处理标识获取目标错别字和目标位置标签,在编辑器控件的界面中根据目标位置标签确定目标错别字的目标位置。解决了现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。To sum up, the document detection and processing method of the embodiment of the present application sends the text paragraphs to be detected to the server, and receives the detection results fed back by the server, obtains modification suggestions corresponding to the detection results, and displays them on the diagnostic card in a preset display mode One-to-one correspondence between detection results and modification suggestions, receiving the text format processing identifier triggered by the user, obtaining the text to be modified according to the text format processing identifier, sending the text to be modified to the server, and receiving the modification suggestion fed back by the server, and uploading it in the editor In the interface of the control, the text to be modified is replaced according to the modification suggestion, the target typo and the target position label are obtained according to the text format processing identifier, and the target position of the target typo is determined according to the target position label in the interface of the editor control. It solves the technical problem of cumbersome document error positioning and processing operations in the existing technology, which leads to relatively low accuracy and efficiency of text editing, and displays the detection results and modification suggestions one by one in the form of a diagnostic card, and the user can trigger the corresponding response as needed The text format processing flag directly calls the editor control to process the text, ensuring the accuracy of processing and improving the efficiency of text detection and processing.
为了实现上述实施例,本申请还提出了一种文档检测处理装置。图6是根据本申请一个实施例的文档检测处理装置的结构示意图,如图6所示,该文档检测处理装置包括:发送接收模块501、第一获取模块502、显示模块503、第一接收模块504和处理模块505,其中,In order to realize the above embodiments, the present application also proposes a device for detecting and processing documents. Fig. 6 is a schematic structural diagram of a document detection and processing device according to an embodiment of the present application. As shown in Fig. 6, the document detection and processing device includes: a sending and receiving
发送接收模块501,用于获取待检测文本段落的检测结果。The sending and receiving
第一获取模块502,用于获取与所述检测结果对应的修改建议。The first obtaining
显示模块503,用于在诊断卡片上以预设显示方式显示所述检测结果和所述修改建议的一一对应关系。The
第一接收模块504,用于接收用户触发的文本格式处理标识。The
处理模块505,用于根据所述文本格式处理标识调用编辑器控件,在所述编辑器控件的界面中根据所述文本格式处理标识对文本进行处理。The
在本申请的一个实施例中,处理模块505,具体用于:在所述编辑器控件的界面中根据所述文本格式处理标识确定目标段落位置,并通过预设处理方式对所述目标段落位置对应的目标文本进行样式变换;和/或,在所述编辑器控件的界面中删除所述文本格式处理标识对应的目标文件;和/或,根据所述文本格式处理标识获取待修改文本,将所述待修改文本发送给服务器,并接收服务器反馈的正确文本,并在所述编辑器控件的界面中根据所述正确文本对所述待修改文本进行替换处理;和/或,根据所述文本格式处理标识获取目标错别字和目标位置标签,在所述编辑器控件的界面中根据所述目标位置标签确定所述目标错别字的目标位置。In an embodiment of the present application, the
在本申请的一个实施例中,显示模块503,具体用于:对所述检测结果进行分类:按照分类结果在所述诊断卡片上以列表形式显示所述检测结果和所述修改建议的一一对应关系。In an embodiment of the present application, the
在本申请的一个实施例中,如图7所示,在如图6所示的基础上,还包括:In one embodiment of the present application, as shown in Figure 7, on the basis of Figure 6, it also includes:
第二接收模块506和控制模块507。The
第二接收模块506,用于接收用户触发的诊断卡片收起操作请求。The
控制模块507,用于控制所述诊断卡片以悬浮窗的形式在所述编辑器控件的界面的预设位置显示。The
在本申请的一个实施例中,如图8所示,在如图6所示的基础上,还包括:第二获取模块508、生成模块509和确定模块510。In an embodiment of the present application, as shown in FIG. 8 , on the basis of that shown in FIG. 6 , further includes: a second acquiring module 508 , a generating module 509 and a determining module 510 .
第二获取模块508,用于在监测到所述编辑器控件的界面增加文本内容时,获取所述增加文本内容对应的文本段落标识。The second acquiring module 508 is configured to acquire a text paragraph identifier corresponding to the added text content when it is detected that the interface of the editor control adds text content.
生成模块509,用于若没有获取到所述增加文本内容对应的文本段落标识,则生成与所述增加文本内容对应的文本段落标识。The generating module 509 is configured to generate a text paragraph identifier corresponding to the added text content if the text paragraph identifier corresponding to the added text content is not acquired.
确定模块510,用于接收用户触发的文档检测处理请求确定待检测文本段落标识,并根据所述待检测文本段落标识确定待检测文本段落。The determining module 510 is configured to receive a document detection processing request triggered by a user to determine an identification of a text paragraph to be detected, and determine a text paragraph to be detected according to the identification of a text paragraph to be detected.
需要说明的是,前述对文档检测处理方法实施例的解释说明也适用于该实施例的文档检测处理装置,此处不再赘述。It should be noted that the foregoing explanations of the document detection and processing method embodiment are also applicable to the document detection and processing device of this embodiment, and will not be repeated here.
综上,本申请实施例的文档检测处理装置,通过获取待检测文本段落的检测结果;获取与检测结果对应的修改建议,在诊断卡片上以预设显示方式显示检测结果和修改建议的一一对应关系;接收用户触发的文本格式处理标识;根据文本格式处理标识调用编辑器控件,在编辑器控件的界面中根据文本格式处理标识对文本进行处理。解决了现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。To sum up, the document detection and processing device according to the embodiment of the present application obtains the detection result of the text paragraph to be detected; obtains the modification suggestion corresponding to the detection result, and displays the detection result and the modification suggestion on the diagnosis card in a preset display mode. Corresponding relationship; receive the text format processing identifier triggered by the user; call the editor control according to the text format processing identifier, and process the text according to the text format processing identifier in the interface of the editor control. It solves the technical problem of cumbersome document error positioning and processing operations in the existing technology, which leads to relatively low accuracy and efficiency of text editing, and displays the detection results and modification suggestions one by one in the form of a diagnostic card, and the user can trigger the corresponding response as needed The text format processing flag directly calls the editor control to process the text, ensuring the accuracy of processing and improving the efficiency of text detection and processing.
根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。According to the embodiments of the present application, the present application also provides an electronic device and a readable storage medium.
如图9所示,是根据本申请实施例的文档检测处理的方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。As shown in FIG. 9 , it is a block diagram of an electronic device according to a method for document detection and processing according to an embodiment of the present application. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the applications described and/or claimed herein.
如图9所示,该电子设备包括:一个或多个处理器901、存储器902,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图9中以一个处理器901为例。As shown in FIG. 9, the electronic device includes: one or
存储器902即为本申请所提供的非瞬时计算机可读存储介质。其中,所述存储器存储有可由至少一个处理器执行的指令,以使所述至少一个处理器执行本申请所提供的文档检测处理的方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的文档检测处理的方法。The
存储器902作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的文档检测处理的方法对应的程序指令/模块(例如,附图6所示的发送接收模块501、第一获取模块502、显示模块503、第一接收模块504和处理模块505)。处理器901通过运行存储在存储器902中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的文档检测处理的方法。The
存储器902可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据文档检测处理的电子设备的使用所创建的数据等。此外,存储器902可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器902可选包括相对于处理器901远程设置的存储器,这些远程存储器可以通过网络连接至文档检测处理的电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
文档检测处理的方法的电子设备还可以包括:输入装置903和输出装置904。处理器901、存储器902、输入装置903和输出装置904可以通过总线或者其他方式连接,图9中以通过总线连接为例。The electronic device of the document detection and processing method may further include: an
输入装置903可接收输入的数字或字符信息,以及产生与文档检测处理的电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置904可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The
此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computing programs (also referred to as programs, software, software applications, or codes) include machine instructions for a programmable processor and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine language calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or means for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLDs), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
综上,本申请实施例的电子设备,通过获取待检测文本段落的检测结果;获取与检测结果对应的修改建议,在诊断卡片上以预设显示方式显示检测结果和修改建议的一一对应关系;接收用户触发的文本格式处理标识;根据文本格式处理标识调用编辑器控件,在编辑器控件的界面中根据文本格式处理标识对文本进行处理。解决了现有技术中文档错误定位处理操作繁琐,导致文本编辑的准确性和效率比较低的技术问题,通过诊断卡片的形式将检测结果和修改建议一一对应显示,用户可以根据需要触发相对应的文本格式处理标识直接调用编辑器控件对文本进行处理,保证处理的准确性的同时提高文本检测处理效率。To sum up, the electronic device in the embodiment of the present application obtains the detection result of the text paragraph to be detected; obtains the modification suggestion corresponding to the detection result, and displays the one-to-one correspondence between the detection result and the modification suggestion in a preset display mode on the diagnosis card ; Receive the text format processing identifier triggered by the user; call the editor control according to the text format processing identifier, and process the text according to the text format processing identifier in the interface of the editor control. It solves the technical problem of cumbersome document error positioning and processing operations in the existing technology, which leads to relatively low accuracy and efficiency of text editing, and displays the detection results and modification suggestions one by one in the form of a diagnostic card, and the user can trigger the corresponding response as needed The text format processing flag directly calls the editor control to process the text, ensuring the accuracy of processing and improving the efficiency of text detection and processing.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of a process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment for use. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. processing to obtain the program electronically and store it in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the above described embodiments, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: a discrete Logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910851135.1A CN110633461B (en) | 2019-09-10 | 2019-09-10 | Document detection processing method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910851135.1A CN110633461B (en) | 2019-09-10 | 2019-09-10 | Document detection processing method, device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110633461A true CN110633461A (en) | 2019-12-31 |
| CN110633461B CN110633461B (en) | 2024-01-16 |
Family
ID=68970861
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910851135.1A Active CN110633461B (en) | 2019-09-10 | 2019-09-10 | Document detection processing method, device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110633461B (en) |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111507267A (en) * | 2020-04-17 | 2020-08-07 | 北京百度网讯科技有限公司 | Document orientation detection method, apparatus, device, and storage medium |
| CN111680634A (en) * | 2020-06-10 | 2020-09-18 | 平安科技(深圳)有限公司 | Document file processing method and device, computer equipment and storage medium |
| CN113297140A (en) * | 2020-11-20 | 2021-08-24 | 阿里巴巴集团控股有限公司 | File processing method, information display method, device and equipment |
| CN113837580A (en) * | 2021-09-16 | 2021-12-24 | 上海塞司鹰科技有限公司 | Experimental equipment management system, method and computer device thereof |
| CN113837413A (en) * | 2021-09-16 | 2021-12-24 | 上海塞司鹰科技有限公司 | Intelligent terminal-based laboratory equipment reservation system and method and electronic equipment |
| CN114492331A (en) * | 2022-01-19 | 2022-05-13 | 北京百度网讯科技有限公司 | Rich text editing method and device, electronic equipment, storage medium and product |
| CN114518835A (en) * | 2020-11-19 | 2022-05-20 | 瑞昱半导体股份有限公司 | Archive reading method and non-transitory computer-readable storage medium |
| CN114818667A (en) * | 2022-04-14 | 2022-07-29 | 支付宝(杭州)信息技术有限公司 | Text correction method and device |
| CN115249009A (en) * | 2021-04-26 | 2022-10-28 | 北京字跳网络技术有限公司 | Information editing processing method, device, equipment and medium |
| CN116384346A (en) * | 2022-12-23 | 2023-07-04 | 广东南方新媒体科技有限公司 | Text replacement method, device, terminal and medium based on HTML format |
| CN119005137A (en) * | 2024-06-28 | 2024-11-22 | 北京安锐卓越信息技术股份有限公司 | Method for modifying document error content by one key based on icontent architecture |
Citations (33)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5940847A (en) * | 1995-06-07 | 1999-08-17 | Microsoft Corporation | System and method for automatically correcting multi-word data entry errors |
| CN1387650A (en) * | 1999-11-05 | 2002-12-25 | 微软公司 | A language input architecture that converts one text form to another with tolerance for spelling, typing, and conversion errors |
| CN1542596A (en) * | 2003-04-30 | 2004-11-03 | Character and text unit input correction system | |
| CN1607522A (en) * | 2003-10-15 | 2005-04-20 | 佳能株式会社 | User interface for creation and editing of variable data documents |
| US20060041836A1 (en) * | 2002-09-12 | 2006-02-23 | Gordon T J | Information documenting system with improved speed, completeness, retriveability and granularity |
| US20060167676A1 (en) * | 2005-01-26 | 2006-07-27 | Research In Motion Limited | Method and apparatus for correction of spelling errors in text composition |
| CN101361064A (en) * | 2005-12-16 | 2009-02-04 | Emil有限公司 | A text editing apparatus and method |
| CN101403947A (en) * | 2008-11-19 | 2009-04-08 | 黄庆传 | Computer word input method, its keyboard and mouse |
| US20090319927A1 (en) * | 2008-06-21 | 2009-12-24 | Microsoft Corporation | Checking document rules and presenting contextual results |
| CN101763343A (en) * | 2008-12-23 | 2010-06-30 | 上海晨鸟信息科技有限公司 | Document editor principle supporting format comparison and plagiarism check and method |
| CN102591850A (en) * | 2011-12-28 | 2012-07-18 | 方正国际软件有限公司 | Method and system for error text statement correction based on conditional statements |
| CN102789504A (en) * | 2012-07-19 | 2012-11-21 | 姜赢 | Chinese grammar correcting method and system on basis of XLM (Extensible Markup Language) rule |
| CN103136196A (en) * | 2008-04-18 | 2013-06-05 | 上海触乐信息科技有限公司 | Methods used for inputting text into electronic device and correcting error |
| US20130219268A1 (en) * | 2012-02-17 | 2013-08-22 | Jens Straten | Document error handling |
| CN103605642A (en) * | 2013-11-12 | 2014-02-26 | 清华大学 | Automatic error correcting method and system for text input |
| CN103699632A (en) * | 2013-12-23 | 2014-04-02 | 深圳市开立科技有限公司 | UI (user interface) text detection method and device |
| CN103959283A (en) * | 2011-10-03 | 2014-07-30 | 谷歌公司 | Interactive text editing |
| US20140215302A1 (en) * | 2013-01-30 | 2014-07-31 | Microsoft Corporation | Collaboration using multiple editors or versions of a feature |
| US20150199307A1 (en) * | 2012-08-08 | 2015-07-16 | Google Inc. | Pluggable Architecture For Optimizing Versioned Rendering of Collaborative Documents |
| CN105354181A (en) * | 2015-09-24 | 2016-02-24 | 四川长虹电器股份有限公司 | XBRL document checking and error correction positioning method |
| US20170293604A1 (en) * | 2016-04-11 | 2017-10-12 | Zhuhai Kingsoft Office Software Co., Ltd | Methods and apparatus for spell checking |
| CN108112270A (en) * | 2015-09-18 | 2018-06-01 | 微软技术许可有限责任公司 | Collaboration communication instrument in document editor is provided |
| US20180157635A1 (en) * | 2015-06-11 | 2018-06-07 | Lianhui ZHOU | Method for checking spellings and grammars of text document |
| CN108241612A (en) * | 2016-12-27 | 2018-07-03 | 北京国双科技有限公司 | Punctuation mark processing method and device |
| CN108762654A (en) * | 2018-05-15 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Method, apparatus, terminal and the computer readable storage medium of text editing |
| CN109213870A (en) * | 2017-06-30 | 2019-01-15 | 埃森哲环球解决方案有限公司 | Document process |
| CN109408476A (en) * | 2018-09-19 | 2019-03-01 | 腾讯科技(深圳)有限公司 | A kind of file-sharing management method, equipment and storage medium |
| CN109635261A (en) * | 2018-11-16 | 2019-04-16 | 天津字节跳动科技有限公司 | Online document content edition method, device, storage medium and electronic equipment |
| CN109669589A (en) * | 2018-10-17 | 2019-04-23 | 天津字节跳动科技有限公司 | Document edit method and device |
| CN109815243A (en) * | 2019-02-18 | 2019-05-28 | 北京仁和汇智信息技术有限公司 | A kind of structured storage method and apparatus when document interfaceization is modified |
| CN109901968A (en) * | 2019-01-31 | 2019-06-18 | 阿里巴巴集团控股有限公司 | A kind of automation page data method of calibration and device |
| US20190243879A1 (en) * | 2018-02-07 | 2019-08-08 | Microsoft Technology Licensing, Llc | Embedded Action Card in Editable Electronic Document |
| CN110188366A (en) * | 2019-05-29 | 2019-08-30 | 北京字节跳动网络技术有限公司 | An information processing method, device and storage medium |
-
2019
- 2019-09-10 CN CN201910851135.1A patent/CN110633461B/en active Active
Patent Citations (33)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5940847A (en) * | 1995-06-07 | 1999-08-17 | Microsoft Corporation | System and method for automatically correcting multi-word data entry errors |
| CN1387650A (en) * | 1999-11-05 | 2002-12-25 | 微软公司 | A language input architecture that converts one text form to another with tolerance for spelling, typing, and conversion errors |
| US20060041836A1 (en) * | 2002-09-12 | 2006-02-23 | Gordon T J | Information documenting system with improved speed, completeness, retriveability and granularity |
| CN1542596A (en) * | 2003-04-30 | 2004-11-03 | Character and text unit input correction system | |
| CN1607522A (en) * | 2003-10-15 | 2005-04-20 | 佳能株式会社 | User interface for creation and editing of variable data documents |
| US20060167676A1 (en) * | 2005-01-26 | 2006-07-27 | Research In Motion Limited | Method and apparatus for correction of spelling errors in text composition |
| CN101361064A (en) * | 2005-12-16 | 2009-02-04 | Emil有限公司 | A text editing apparatus and method |
| CN103136196A (en) * | 2008-04-18 | 2013-06-05 | 上海触乐信息科技有限公司 | Methods used for inputting text into electronic device and correcting error |
| US20090319927A1 (en) * | 2008-06-21 | 2009-12-24 | Microsoft Corporation | Checking document rules and presenting contextual results |
| CN101403947A (en) * | 2008-11-19 | 2009-04-08 | 黄庆传 | Computer word input method, its keyboard and mouse |
| CN101763343A (en) * | 2008-12-23 | 2010-06-30 | 上海晨鸟信息科技有限公司 | Document editor principle supporting format comparison and plagiarism check and method |
| CN103959283A (en) * | 2011-10-03 | 2014-07-30 | 谷歌公司 | Interactive text editing |
| CN102591850A (en) * | 2011-12-28 | 2012-07-18 | 方正国际软件有限公司 | Method and system for error text statement correction based on conditional statements |
| US20130219268A1 (en) * | 2012-02-17 | 2013-08-22 | Jens Straten | Document error handling |
| CN102789504A (en) * | 2012-07-19 | 2012-11-21 | 姜赢 | Chinese grammar correcting method and system on basis of XLM (Extensible Markup Language) rule |
| US20150199307A1 (en) * | 2012-08-08 | 2015-07-16 | Google Inc. | Pluggable Architecture For Optimizing Versioned Rendering of Collaborative Documents |
| US20140215302A1 (en) * | 2013-01-30 | 2014-07-31 | Microsoft Corporation | Collaboration using multiple editors or versions of a feature |
| CN103605642A (en) * | 2013-11-12 | 2014-02-26 | 清华大学 | Automatic error correcting method and system for text input |
| CN103699632A (en) * | 2013-12-23 | 2014-04-02 | 深圳市开立科技有限公司 | UI (user interface) text detection method and device |
| US20180157635A1 (en) * | 2015-06-11 | 2018-06-07 | Lianhui ZHOU | Method for checking spellings and grammars of text document |
| CN108112270A (en) * | 2015-09-18 | 2018-06-01 | 微软技术许可有限责任公司 | Collaboration communication instrument in document editor is provided |
| CN105354181A (en) * | 2015-09-24 | 2016-02-24 | 四川长虹电器股份有限公司 | XBRL document checking and error correction positioning method |
| US20170293604A1 (en) * | 2016-04-11 | 2017-10-12 | Zhuhai Kingsoft Office Software Co., Ltd | Methods and apparatus for spell checking |
| CN108241612A (en) * | 2016-12-27 | 2018-07-03 | 北京国双科技有限公司 | Punctuation mark processing method and device |
| CN109213870A (en) * | 2017-06-30 | 2019-01-15 | 埃森哲环球解决方案有限公司 | Document process |
| US20190243879A1 (en) * | 2018-02-07 | 2019-08-08 | Microsoft Technology Licensing, Llc | Embedded Action Card in Editable Electronic Document |
| CN108762654A (en) * | 2018-05-15 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Method, apparatus, terminal and the computer readable storage medium of text editing |
| CN109408476A (en) * | 2018-09-19 | 2019-03-01 | 腾讯科技(深圳)有限公司 | A kind of file-sharing management method, equipment and storage medium |
| CN109669589A (en) * | 2018-10-17 | 2019-04-23 | 天津字节跳动科技有限公司 | Document edit method and device |
| CN109635261A (en) * | 2018-11-16 | 2019-04-16 | 天津字节跳动科技有限公司 | Online document content edition method, device, storage medium and electronic equipment |
| CN109901968A (en) * | 2019-01-31 | 2019-06-18 | 阿里巴巴集团控股有限公司 | A kind of automation page data method of calibration and device |
| CN109815243A (en) * | 2019-02-18 | 2019-05-28 | 北京仁和汇智信息技术有限公司 | A kind of structured storage method and apparatus when document interfaceization is modified |
| CN110188366A (en) * | 2019-05-29 | 2019-08-30 | 北京字节跳动网络技术有限公司 | An information processing method, device and storage medium |
Non-Patent Citations (5)
| Title |
|---|
| MARKUS WENINGER; PAUL GRÜNBACHER; HUIHUI ZHANG SCHOOL OF COMPUTER ENGINEERING, WEIFANG UNIVERSITY, CHINA: "Tool Support for Restricted Use Case Specification: Findings from a Controlled Experiment", 《2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC)》, pages 21 - 30 * |
| 张真;李宁;田英爱;耿思;许洁;: "语法分析与纠错相结合的文档结构重构方法", 北京信息科技大学学报(自然科学版), no. 02, pages 29 - 34 * |
| 材料基: "【技能】神器!一键搞定SCI论文语法", pages 1 - 3, Retrieved from the Internet <URL:mp.weixin.qq.com/s/3wCucDb6eZ9YKF1kvju7w> * |
| 杨璠: "浅议如何运用数字化技术提高编辑加工效率", 《科技传播》, vol. 9, no. 13, pages 34 - 35 * |
| 韩宇贞: "基于Thin Client/Web Server的办公自动化在线网络文档编辑管理系统的研究与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, no. 3, pages 138 - 147 * |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111507267A (en) * | 2020-04-17 | 2020-08-07 | 北京百度网讯科技有限公司 | Document orientation detection method, apparatus, device, and storage medium |
| CN111507267B (en) * | 2020-04-17 | 2023-05-26 | 北京百度网讯科技有限公司 | Document orientation detection method, device, equipment and storage medium |
| CN111680634A (en) * | 2020-06-10 | 2020-09-18 | 平安科技(深圳)有限公司 | Document file processing method and device, computer equipment and storage medium |
| CN111680634B (en) * | 2020-06-10 | 2023-08-01 | 平安科技(深圳)有限公司 | Document file processing method, device, computer equipment and storage medium |
| CN114518835A (en) * | 2020-11-19 | 2022-05-20 | 瑞昱半导体股份有限公司 | Archive reading method and non-transitory computer-readable storage medium |
| CN113297140A (en) * | 2020-11-20 | 2021-08-24 | 阿里巴巴集团控股有限公司 | File processing method, information display method, device and equipment |
| CN115249009A (en) * | 2021-04-26 | 2022-10-28 | 北京字跳网络技术有限公司 | Information editing processing method, device, equipment and medium |
| CN113837413A (en) * | 2021-09-16 | 2021-12-24 | 上海塞司鹰科技有限公司 | Intelligent terminal-based laboratory equipment reservation system and method and electronic equipment |
| CN113837580A (en) * | 2021-09-16 | 2021-12-24 | 上海塞司鹰科技有限公司 | Experimental equipment management system, method and computer device thereof |
| CN113837580B (en) * | 2021-09-16 | 2024-02-23 | 上海塞司鹰科技有限公司 | Experimental equipment management system, method and computer device thereof |
| CN114492331A (en) * | 2022-01-19 | 2022-05-13 | 北京百度网讯科技有限公司 | Rich text editing method and device, electronic equipment, storage medium and product |
| CN114818667A (en) * | 2022-04-14 | 2022-07-29 | 支付宝(杭州)信息技术有限公司 | Text correction method and device |
| CN116384346A (en) * | 2022-12-23 | 2023-07-04 | 广东南方新媒体科技有限公司 | Text replacement method, device, terminal and medium based on HTML format |
| CN119005137A (en) * | 2024-06-28 | 2024-11-22 | 北京安锐卓越信息技术股份有限公司 | Method for modifying document error content by one key based on icontent architecture |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110633461B (en) | 2024-01-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110633461B (en) | Document detection processing method, device, electronic equipment and storage medium | |
| US11562588B2 (en) | Enhanced supervised form understanding | |
| US8780130B2 (en) | Methods, systems, and computer program products for binding attributes between visual components | |
| US20160132301A1 (en) | Programmatic user interface generation based on display size | |
| CN111611036A (en) | Application menu configuration method, device, electronic device and storage medium | |
| US20190392023A1 (en) | Inheritance of rules across hierarchical levels | |
| CN111310793B (en) | Medical image classification method, device, mobile terminal and medium | |
| CN102043618B (en) | Method and device for controlling display style of window object | |
| JP2003303047A (en) | Image input and display system, usage of user interface as well as product including computer usable medium | |
| US20170277664A1 (en) | Graphical data presented in code editor along with code | |
| CN111611990B (en) | Method and device for identifying tables in images | |
| WO2022057535A1 (en) | Information display method and apparatus, and storage medium and electronic device | |
| CN105229606A (en) | Content-based orientation places application start | |
| CN113836877A (en) | Text labeling method, device, equipment and storage medium | |
| CN103109264A (en) | Creating a configuration file template | |
| CN107766499A (en) | Page jump method, device, equipment and storage medium | |
| JP2014222435A (en) | Information processor and information processing program | |
| US20140081967A1 (en) | Methods, Systems, and Program Products for Distinguishing Tags for a Resource | |
| CN111523292B (en) | Method and device for acquiring image information | |
| WO2019242167A1 (en) | Method for managing requirements and computer device | |
| CN112329732A (en) | Model generation method and device, electronic equipment and storage medium | |
| US10788959B2 (en) | Personalization of a web application | |
| CN108197284A (en) | Search processing method and device | |
| CN112148279A (en) | Log information processing method, device, electronic device and storage medium | |
| US8015485B2 (en) | Multidimensional web page ruler |
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 |