CN110990551B - Text content processing method, device, equipment and storage medium - Google Patents
Text content processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110990551B CN110990551B CN201911301166.6A CN201911301166A CN110990551B CN 110990551 B CN110990551 B CN 110990551B CN 201911301166 A CN201911301166 A CN 201911301166A CN 110990551 B CN110990551 B CN 110990551B
- Authority
- CN
- China
- Prior art keywords
- information
- text content
- screening result
- screening
- prompt
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title abstract description 12
- 238000000034 method Methods 0.000 claims abstract description 70
- 238000012216 screening Methods 0.000 claims description 119
- 238000012545 processing Methods 0.000 claims description 48
- 230000008569 process Effects 0.000 abstract description 21
- 230000001915 proofreading effect Effects 0.000 abstract description 16
- 238000001914 filtration Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 241000282553 Macaca Species 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 241000590419 Polygonia interrogationis Species 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 241000124873 Grus nigricollis Species 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请提供一种文本内容的处理方法、装置、设备以及存储介质。该方法包括:电子设备通过接口获取待处理的文本内容。电子设备根据附图信息和/或表格信息的特征筛选文本内容中的附图信息和/或表格信息。进而,电子设备将筛选得到的附图信息和/或表格信息显示在电子设备的显示器中。本申请中,电子设备对文本内容进行处理,使文本内容中的附图信息和/或表格信息得以在显示器中显示,进而方便用户整体查看并梳理附图信息和/或表格信息,避免文本的篇幅、排版等原因导致的遗漏或者忽视现象,提高校对的准确率。
The present application provides a text content processing method, device, equipment and storage medium. The method includes: the electronic device obtains the text content to be processed through the interface. The electronic device screens the drawing information and/or the table information in the text content according to the features of the drawing information and/or the table information. Furthermore, the electronic device displays the screened drawing information and/or table information on a display of the electronic device. In this application, the electronic device processes the text content, so that the accompanying drawing information and/or table information in the text content can be displayed on the display, and then it is convenient for the user to view and sort out the accompanying drawing information and/or table information as a whole, avoiding the confusion of the text. Omissions or negligence caused by length, typesetting and other reasons can improve the accuracy of proofreading.
Description
技术领域technical field
本申请涉及计算机领域,尤其涉及一种文本内容的处理方法、装置、设备以及存储介质。The present application relates to the computer field, and in particular to a text content processing method, device, equipment and storage medium.
背景技术Background technique
在图书、期刊、稿件等文本内容的编辑过程中,用户经常需要采用附图或者表格,对文本内容进行说明。In the process of editing text content such as books, periodicals, and manuscripts, users often need to use drawings or tables to explain the text content.
在对文本内容进行编辑的过程中,每个附图或者表格都需要进行编号和命名,以方便对图片或者表格进行说明,以及在正文中引用。用户在编辑过程中,常常需要对附图和表格进行删减或者调整等操作,不可避免地,会产生附图信息和表格信息的错误或者缺失等问题。因此,检验附图信息和表格信息是否正确,是编审和校对过程中尤为重要的内容。In the process of editing the text content, each drawing or table needs to be numbered and named to facilitate the description of the picture or table and the reference in the text. During the editing process, users often need to delete or adjust the drawings and tables, which inevitably leads to problems such as errors or lack of information in the drawings and tables. Therefore, it is particularly important in the process of editing, reviewing and proofreading to check whether the attached drawing information and table information are correct.
然而,在通过人工方式对文本编审和校对过程中,因为篇幅、排版等原因,容易出现遗漏或者忽视,存在校对的准确率参差不齐的问题。However, in the process of manually editing and proofreading texts, it is easy to omit or ignore due to reasons such as space and typesetting, and there is a problem of uneven proofreading accuracy.
发明内容Contents of the invention
本申请提供一种文本内容的处理方法、装置、设备以及存储介质,以解决现有技术中,采用人工的方式对文本进行变身和校对时,容易出现遗漏或者忽视,存在校对的准确率参差不齐问题。The present application provides a text content processing method, device, equipment and storage medium to solve the problem that in the prior art, when the text is transformed and proofread manually, it is easy to omit or ignore, and there is a difference in the accuracy of proofreading uneven problem.
第一方面,本申请提供一种文本内容的处理方法,包括:In the first aspect, the present application provides a method for processing text content, including:
获取待处理的文本内容;Get the text content to be processed;
根据第一预设规则,对所述待处理的文本内容进行筛选,得到第一筛选结果,所述第一预设规则用于筛选文本内容中的附图信息和/或表格信息;Filtering the text content to be processed according to a first preset rule to obtain a first screening result, the first preset rule is used to filter the figure information and/or table information in the text content;
将所述第一筛选结果进行显示。The first screening result is displayed.
可选地,所述方法还包括:Optionally, the method also includes:
根据第二预设规则,对所述待处理的文本内容进行筛选,得到第二筛选结果,所述第二预设规则用于筛选文本内容中的附图和/或表格。The text content to be processed is screened according to a second preset rule to obtain a second screening result, and the second preset rule is used to screen drawings and/or tables in the text content.
可选地,所述方法还包括:Optionally, the method also includes:
将所述第一筛选结果中的附图信息与所述第二筛选结果中的附图进行匹配,确定附图与附图信息是否对应;matching the accompanying drawing information in the first screening result with the accompanying drawing in the second screening result, and determining whether the accompanying drawing corresponds to the accompanying drawing information;
若存在第一附图不存在对应的附图信息和/或第一附图信息不存在对应的附图,则显示第一提示信息,所述第一提示信息用于指示附图与附图信息不匹配。If there is a first drawing but no corresponding drawing information and/or the first drawing information does not have a corresponding drawing, then display the first prompt information, the first prompt information is used to indicate the drawing and the drawing information Mismatch.
可选地,附图信息包括图序和图题,则所述方法还包括:Optionally, the accompanying drawing information includes the sequence and title of the drawings, and the method further includes:
将所述第一筛选结果中与第二筛选结果中的附图匹配成功的附图信息作为第三筛选结果;Using the drawing information in the first screening result that successfully matches the drawing in the second screening result as the third screening result;
确定所述第三筛选结果中的附图信息是否满足第一预设条件;determining whether the accompanying drawing information in the third screening result satisfies a first preset condition;
若不满足,则显示第二提示信息,所述第二提示信息用于提示附图信息有误;If it is not satisfied, then display the second prompt information, and the second prompt information is used to prompt that the attached drawing information is wrong;
其中,所述第一预设条件包括以下至少一个:图题满足图题命名规则,图序连续,图序编码规则一致。Wherein, the first preset condition includes at least one of the following: the picture title meets the picture title naming rules, the picture sequence is continuous, and the picture sequence coding rules are consistent.
可选地,所述方法还包括:Optionally, the method also includes:
将所述第一筛选结果中的表格信息与所述第二筛选结果中的表格进行匹配,确定表格与表格信息是否对应;Matching the table information in the first screening result with the table in the second screening result to determine whether the table corresponds to the table information;
若存在第一表格不存在对应的表格信息和/或第一表格信息不存在对应的表格,则显示第三提示信息,所述第三提示信息用于指示表格与表格信息不匹配。If there is no corresponding form information in the first form and/or there is no corresponding form in the first form information, third prompt information is displayed, and the third prompt information is used to indicate that the form does not match the form information.
可选地,表格信息包括表序和表题,则所述方法还包括:Optionally, the table information includes table sequence and table title, then the method also includes:
将所述第一筛选结果中与第二筛选结果中的表格匹配成功的表格信息作为第四筛选结果;Using the table information in the first screening result that successfully matches the table in the second screening result as the fourth screening result;
确定所述第四筛选结果中的表格信息是否满足第二预设条件;determining whether the tabular information in the fourth screening result satisfies a second preset condition;
若不满足,则显示第四提示信息,所述第四提示信息用于提示表格信息有误;If it is not satisfied, then display the fourth prompt information, the fourth prompt information is used to prompt that the form information is wrong;
其中,所述第二预设条件包括以下至少一个:表格满足表题命名规则,表序连续,表序编码规则一致。Wherein, the second preset condition includes at least one of the following: the table satisfies the title naming rules, the table sequence is continuous, and the table sequence coding rules are consistent.
第二方面,本申请提供一种文本内容的处理装置,包括:In a second aspect, the present application provides a device for processing text content, including:
获取模块,用于获取待处理的文本内容;The acquisition module is used to acquire the text content to be processed;
处理模块,用于根据第一预设规则,对所述待处理的文本内容进行筛选,得到第一筛选结果,所述第一预设规则用于筛选文本内容中的附图信息和/或表格信息;A processing module, configured to filter the text content to be processed according to a first preset rule to obtain a first filter result, and the first preset rule is used to filter figure information and/or tables in the text content information;
显示模块,用于将所述第一筛选结果进行显示。A display module, configured to display the first screening result.
可选地,所述处理模块还用于:Optionally, the processing module is also used for:
根据第二预设规则,对所述待处理的文本内容进行筛选,得到第二筛选结果,所述第二预设规则用于筛选文本内容中的附图和/或表格。The text content to be processed is screened according to a second preset rule to obtain a second screening result, and the second preset rule is used to screen drawings and/or tables in the text content.
可选地,所述处理模块还用于:Optionally, the processing module is also used for:
将所述第一筛选结果中的附图信息与所述第二筛选结果中的附图进行匹配,确定附图与附图信息是否对应;matching the accompanying drawing information in the first screening result with the accompanying drawing in the second screening result, and determining whether the accompanying drawing corresponds to the accompanying drawing information;
若存在第一附图不存在对应的附图信息和/或第一附图信息不存在对应的附图,则显示第一提示信息,所述第一提示信息用于指示附图与附图信息不匹配。If there is a first drawing but no corresponding drawing information and/or the first drawing information does not have a corresponding drawing, then display the first prompt information, the first prompt information is used to indicate the drawing and the drawing information Mismatch.
可选地,附图信息包括图序和图题,则所述处理模块还用于:Optionally, the attached drawing information includes a sequence and a title of a picture, and the processing module is also used for:
将所述第一筛选结果中与第二筛选结果中的附图匹配成功的附图信息作为第三筛选结果;Using the drawing information in the first screening result that successfully matches the drawing in the second screening result as the third screening result;
确定所述第三筛选结果中的附图信息是否满足第一预设条件;determining whether the accompanying drawing information in the third screening result satisfies a first preset condition;
若不满足,则显示第二提示信息,所述第二提示信息用于提示附图信息有误;If it is not satisfied, then display the second prompt information, and the second prompt information is used to prompt that the attached drawing information is wrong;
其中,所述第一预设条件包括以下至少一个:图题满足图题命名规则,图序连续,图序编码规则一致。Wherein, the first preset condition includes at least one of the following: the picture title meets the picture title naming rules, the picture sequence is continuous, and the picture sequence coding rules are consistent.
可选地,所述处理模块还用于:Optionally, the processing module is also used for:
将所述第一筛选结果中的表格信息与所述第二筛选结果中的表格进行匹配,确定表格与表格信息是否对应;Matching the table information in the first screening result with the table in the second screening result to determine whether the table corresponds to the table information;
若存在第一表格不存在对应的表格信息和/或第一表格信息不存在对应的表格,则显示第三提示信息,所述第三提示信息用于指示表格与表格信息不匹配。If there is no corresponding form information in the first form and/or there is no corresponding form in the first form information, third prompt information is displayed, and the third prompt information is used to indicate that the form does not match the form information.
可选地,表格信息包括表序和表题,则所述处理模块还用于:Optionally, the table information includes table sequence and table title, then the processing module is also used for:
将所述第一筛选结果中与第二筛选结果中的表格匹配成功的表格信息作为第四筛选结果;Using the table information in the first screening result that successfully matches the table in the second screening result as the fourth screening result;
确定所述第四筛选结果中的表格信息是否满足第二预设条件;determining whether the tabular information in the fourth screening result satisfies a second preset condition;
若不满足,则显示第四提示信息,所述第四提示信息用于提示表格信息有误;If it is not satisfied, then display the fourth prompt information, the fourth prompt information is used to prompt that the form information is wrong;
其中,所述第二预设条件包括以下至少一个:表格满足表题命名规则,表序连续,表序编码规则一致。Wherein, the second preset condition includes at least one of the following: the table satisfies the title naming rules, the table sequence is continuous, and the table sequence coding rules are consistent.
第三方面,本申请提供一种电子设备,包括:存储器,显示器,处理器;In a third aspect, the present application provides an electronic device, including: a memory, a display, and a processor;
存储器用于存储程序指令;memory for storing program instructions;
显示器用于显示处理器的处理结果;The display is used to display the processing results of the processor;
处理器用于调用存储器中的程序指令执行第一方面及第一方面任一种可能的设计中的文本内容的处理方法。The processor is used to call the program instructions in the memory to execute the processing method of the text content in the first aspect and any possible design of the first aspect.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时,用于实现第一方面及第一方面任一种可能的设计中的文本内容的处理方法。In a fourth aspect, the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the first aspect and the first aspect Any one of the possible design methods for handling text content.
本申请提供的文本内容的处理方法、装置、设备以及存储介质,通过电子设备的接口获取待处理的文本内容。电子设备根据附图信息和/或表格信息的特征筛选文本内容中的附图信息和/或表格信息。进而,电子设备将筛选得到的附图信息和/或表格信息显示在电子设备的显示器中。本申请中,电子设备对文本内容进行处理,将文本内容中的附图信息和/或表格信息显示在显示器中,进而方便用户查看并梳理附图信息和/或表格信息,避免因为文本内容的篇幅、排版等原因导致的遗漏或者忽视现象,实现提高校对的准确率的效果。The text content processing method, device, device and storage medium provided in the present application obtain the text content to be processed through the interface of the electronic device. The electronic device screens the drawing information and/or the table information in the text content according to the features of the drawing information and/or the table information. Furthermore, the electronic device displays the screened drawing information and/or table information on a display of the electronic device. In this application, the electronic device processes the text content, and displays the attached drawing information and/or table information in the text content on the display, thereby facilitating users to view and sort out the attached drawing information and/or table information, and avoiding Omissions or negligence caused by length, typesetting and other reasons can achieve the effect of improving the accuracy of proofreading.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1为本申请一实施例提供的文本内容的处理方法的流程图;FIG. 1 is a flow chart of a method for processing text content provided by an embodiment of the present application;
图2为本申请一实施例提供的文本内容的处理方法的流程图;FIG. 2 is a flowchart of a method for processing text content provided by an embodiment of the present application;
图3为本申请一实施例提供的文本内容的处理方法的流程图;FIG. 3 is a flowchart of a method for processing text content provided by an embodiment of the present application;
图4为本申请一实施例提供的文本内容的处理装置的结构示意图;FIG. 4 is a schematic structural diagram of a text content processing device provided by an embodiment of the present application;
图5为本申请一实施例提供的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in this application. Obviously, the described embodiments are part of the embodiments of this application , but not all examples. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
在现有技术中,对图书、期刊、稿件等文本内容的编审和校对过程,通常是用户在电子设备上完成的。在用户编审和校对过程中,因为电子设备的显示器大小有限,无法清楚的显示全部文本内容,并且由于文本的篇幅、排版等原因,用户需要上下翻看,以校对附图信息或者表格信息。而手动的翻看过程通常存在不稳定性,容易出现遗漏或者忽视,导致校对的准确率参差不齐。In the prior art, the process of editing, reviewing and proofreading text contents such as books, periodicals, and manuscripts is usually completed by users on electronic devices. In the process of user editing and proofreading, due to the limited size of the display of the electronic device, it is impossible to clearly display all the text content, and due to the length of the text, typesetting and other reasons, the user needs to look up and down to proofread the attached information or table information. However, the manual browsing process is usually unstable, and it is prone to omissions or neglect, resulting in uneven proofreading accuracy.
为了解决上述问题,本申请提供一种文本内容的处理方法、装置、设备以及存储介质。本申请中,电子设备通过使用预设规则,对文本内容中的附图信息和/或表格信息进行筛选,并对筛选内容进行显示。用户可以通过电子设备查看筛选得到的附图信息和/或表格信息,进而可以从整体上对附图信息和/或表格信息进行梳理,便于文本内容的编审和校对,实现提高校对的准确率的效果。In order to solve the above problems, the present application provides a text content processing method, device, device and storage medium. In this application, the electronic device screens the drawing information and/or table information in the text content by using preset rules, and displays the screened content. Users can view the screened drawing information and/or form information through electronic devices, and then sort out the drawing information and/or form information as a whole, which facilitates the editing and proofreading of text content, and realizes the goal of improving the accuracy of proofreading Effect.
本申请的执行主体为电子设备,该电子设备可以为手机、平板电脑、笔记本电脑、服务器等可以集成显示器或者可以外接显示器的电子设备,本申请对此不做限制。The executor of this application is an electronic device, which may be a mobile phone, a tablet computer, a notebook computer, a server, and other electronic devices that can integrate a display or be connected to an external display, and this application does not limit this.
图1示出了本申请一实施例提供的文本内容的处理方法的流程图。如图1所示,以电子设备为执行主体,本实施例的方法可以包括:Fig. 1 shows a flowchart of a method for processing text content provided by an embodiment of the present application. As shown in Figure 1, with the electronic device as the execution subject, the method of this embodiment may include:
S101、电子设备获取待处理的文本内容。S101. The electronic device acquires text content to be processed.
本方案主要是为了对文本内容中的图和/或表格等内容进行校验,首先电子设备需要获取待处理的文本内容。一般来说,电子设备可通过接口获取待处理的文本内容。This solution is mainly for verifying content such as diagrams and/or tables in the text content. First, the electronic device needs to obtain the text content to be processed. Generally speaking, an electronic device can acquire text content to be processed through an interface.
其中,用于获取待处理的文本内容的接口的表现形式包括但不限于窗口或者网页。该接口可以与处理器显示在同一个电子设备上,也可以与处理器显示在不同电子设备上。用户通过接口,选择待处理的文本内容,进而将文本内容传输到电子设备,由电子设备的处理器进行处理。Wherein, the form of the interface for acquiring the text content to be processed includes but is not limited to a window or a webpage. The interface can be displayed on the same electronic device as the processor, or can be displayed on different electronic devices from the processor. The user selects the text content to be processed through the interface, and then transmits the text content to the electronic device for processing by the processor of the electronic device.
其中,上述获取到的待处理的文本内容可以是图书、期刊、稿件等。Wherein, the acquired text content to be processed may be books, periodicals, manuscripts, and the like.
S102、电子设备根据第一预设规则,对待处理的文本内容进行筛选,得到第一筛选结果,第一预设规则用于筛选文本内容中的附图信息和/或表格信息。S102. The electronic device screens the text content to be processed according to a first preset rule to obtain a first screening result, and the first preset rule is used to screen the text content for drawing information and/or table information.
在本实施例中,为了能够使用户方便快速的确认附图信息和/或表格信息是否正确,而不需要反复翻阅文本内容,电子设备需要从文本内容中获取所有的附图信息和/或表格信息。在具体实现中,电子设备根据第一预设规则对文本内容进行筛选。In this embodiment, in order to enable the user to conveniently and quickly confirm whether the drawing information and/or form information is correct without repeatedly flipping through the text content, the electronic device needs to obtain all the drawing information and/or form information from the text content information. In a specific implementation, the electronic device filters the text content according to a first preset rule.
其中,第一预设规则的筛选条件,可以是附图信息和/或表格信息的特征,例如,段首为图序或者表序。图序或者表序是指附图信息或者表格信息的头部,例如,附图信息或者表格信息中,图+数字部分的信息,该部分信息还可以是图示+数字、Fig+数字、表+数字、Table+数字等。Wherein, the filter condition of the first preset rule may be a feature of the drawing information and/or table information, for example, the paragraph header is a figure sequence or a table sequence. Figure sequence or table sequence refers to the header of the attached drawing information or table information, for example, in the attached drawing information or table information, the information of the figure + figure part, this part of information can also be the figure + figure, Fig + figure, table + Number, Table+number, etc.
电子设备通过对文本内容,采用上述的规则进行筛选得到第一筛选结果。The electronic device obtains the first screening result by screening the text content using the above rules.
其中,第一筛选结果包括文本内容中的附图信息和/或表格信息。其中,可能包括正确的附图信息和/或表格信息,或者已经删除附图和/或表格但是忘记对应删除的附图信息和/或表格信息等。Wherein, the first screening result includes drawing information and/or table information in the text content. Among them, correct drawing information and/or table information may be included, or the drawing and/or table has been deleted but the corresponding deleted drawing information and/or table information is forgotten.
S103、电子设备将第一筛选结果进行显示。S103. The electronic device displays the first screening result.
在本实施例中,S102中筛选得到了附图信息和/或表格信息,电子设备在显示器上显示该第一筛选结果。In this embodiment, the drawing information and/or table information are obtained through screening in S102, and the electronic device displays the first screening result on the display.
其中,该附图信息和/或表格信息可以通过列表或者表格的方式进行显示,该列表或者表格可以显示在电子设备的窗口或者网页上。Wherein, the drawing information and/or table information may be displayed in a list or a table, and the list or table may be displayed on a window or a webpage of an electronic device.
优选地,电子设备可以关联第一筛选结果和文本内容。用户在上述窗口或者网页上,点击显示一条附图信息或者表格信息,文本内容对应跳转到该附图信息或者表格信息的对应位置。该跳转功能的使用,可以方便用户在查看附图信息和/或表格信息后,对一条附图信息或者表格信息进行处理。Preferably, the electronic device can associate the first screening result with the text content. When the user clicks on the above-mentioned window or webpage to display a piece of attached drawing information or table information, the text content correspondingly jumps to the corresponding position of the attached drawing information or table information. The use of the jump function can facilitate the user to process a piece of attached drawing information or form information after viewing the attached drawing information and/or form information.
本申请提供的文本内容的处理方法,通过电子设备的接口获取待处理的文本内容。电子设备根据附图信息和/或表格信息的特征,筛选文本内容中的附图信息和/或表格信息。进而,电子设备将筛选得到的附图信息和/或表格信息显示在电子设备的显示器中。电子设备还可以通过点击一条附图信息或者表格信息的方式,使文本内容跳转到对应的附图信息或者表格信息所在的位置。本申请中,电子设备对文本内容进行处理,并将处理结果显示在显示器中,进而方便用户查看并梳理附图信息和/或表格信息,避免因为文本内容的篇幅、排版等原因导致的遗漏或者忽视现象,实现提高校对的准确率的效果。电子设备还可以通过关联附图信息和/或表格信息与文本内容,方便用户对附图信息或者表格信息进行处理,使文本内容在编审和校对过程中,可以更加准确的定位修改的内容和修改的位置,进而,实现提高校对的准确率的效果。The text content processing method provided in this application obtains the text content to be processed through the interface of the electronic device. The electronic device filters the figure information and/or the form information in the text content according to the features of the figure information and/or the form information. Furthermore, the electronic device displays the screened drawing information and/or table information on a display of the electronic device. The electronic device can also click on a piece of attached drawing information or form information to make the text content jump to the position where the corresponding attached drawing information or form information is located. In this application, the electronic device processes the text content, and displays the processing results on the display, which is convenient for users to view and sort out the information in the drawings and/or tables, and avoid omissions or Ignore the phenomenon and achieve the effect of improving the accuracy of proofreading. The electronic device can also facilitate users to process the attached drawing information or table information by associating the attached drawing information and/or table information with the text content, so that the text content can be more accurately located and modified during the process of editing, reviewing and proofreading. The position, and then, achieve the effect of improving the accuracy of proofreading.
在上述图1所示实施例的基础上,结合图2,对图1中S102根据第一预设规则,对待处理的文本内容进行筛选,得到第一筛选结果,第一预设规则用于筛选文本内容中的附图信息和/或表格信息的具体实现方式进行详细的说明。On the basis of the above-mentioned embodiment shown in FIG. 1, in combination with FIG. 2, S102 in FIG. 1 screens the text content to be processed according to the first preset rule to obtain the first screening result, and the first preset rule is used for screening The specific implementation of the drawing information and/or table information in the text content will be described in detail.
图2示出了本申请一实施例提供的文本内容的处理方法的流程图。如图2所示,本实施例的方法可以包括:Fig. 2 shows a flowchart of a method for processing text content provided by an embodiment of the present application. As shown in Figure 2, the method of this embodiment may include:
S201、电子设备获取待处理的文本内容。S201. The electronic device acquires text content to be processed.
其中,S201与图1实施例中的S101实现方式类似,本实施例此处不再赘述。Wherein, S201 is implemented in a manner similar to that of S101 in the embodiment in FIG. 1 , and details are not described here in this embodiment.
S202、电子设备根据第一预设规则,对待处理的文本内容进行筛选,得到第一筛选结果,第一预设规则用于筛选文本内容中的附图信息和/或表格信息。S202. The electronic device screens the text content to be processed according to a first preset rule to obtain a first screening result, and the first preset rule is used to screen the text content for drawing information and/or table information.
其中,S202与图1实施例中的S102实现方式类似,本实施例此处不再赘述。Wherein, S202 is implemented in a manner similar to that of S102 in the embodiment in FIG. 1 , and details are not described here in this embodiment.
S203、电子设备根据第二预设规则,对待处理的文本内容进行筛选,得到第二筛选结果,第二预设规则用于筛选文本内容中的附图和/或表格。S203. The electronic device filters the text content to be processed according to a second preset rule to obtain a second filter result, and the second preset rule is used to filter drawings and/or tables in the text content.
在本实施例中,为了更准确的校对附图信息和/或表格信息,电子设备还需要从文本内容中获取附图和/或表格。In this embodiment, in order to verify the drawing information and/or table information more accurately, the electronic device also needs to obtain the drawing and/or table information from the text content.
在文本内容中,附图除了用作对正文进行说明的附图,还有用作封面的封面附图,以及用于加入公式符号等内容的行内图片。在上述附图种类中,封面附图和行内附图并没有用作对正文进行说明,因此,封面附图和行内附图不需要附图信息,不属于本次筛选结果。而表格中,因为表格的位置和篇幅原因,可能出现续表的情况。由于表格的表格信息出现在表格前,而续表前不需要再重复添加表格信息,所以,续表同样不属于本次筛选结果。In the text content, in addition to the drawings used to explain the text, there are also drawings used as the cover of the cover, and inline pictures used to add content such as formula symbols. Among the above types of drawings, the cover drawings and inline drawings are not used to explain the main text. Therefore, the cover drawings and inline drawings do not require drawing information and are not part of the screening results. In the table, due to the location and length of the table, there may be a continuation of the table. Since the form information of the form appears before the form, and there is no need to add the form information repeatedly before the continuation form, the continuation form is also not part of this screening result.
为了确保本步骤筛选出的附图和/或表格中,不包括封面附图、行内附图和/或续表,本步骤中,电子设备可以在从文本内容中,筛选出全部的附图和/或表格后,再对上述附图和/或表格进行进一步的筛选,以筛除其中的封面附图、行内附图和/或续表。In order to ensure that the drawings and/or tables screened in this step do not include cover drawings, inline drawings and/or continuation tables, in this step, the electronic device can filter out all drawings and tables from the text content. After the/or tables, the above-mentioned drawings and/or tables are further screened to filter out the cover drawings, inline drawings and/or continuation tables.
其中,封面附图的筛选规则为筛除前预设张附图,预设张数根据文本内容确定。Among them, the screening rules for the drawings on the cover are the preset drawings before screening, and the preset number of drawings is determined according to the text content.
其中,行内附图的筛选规则为筛除附图中,没有独立成段的附图,或者附图中,附图的宽度小于版面宽度的二分之一的附图。Among them, the screening rules for in-line drawings are to filter out drawings that do not have independent paragraphs, or drawings whose width is less than half of the page width.
其中,续表的筛选过程中,通过比较两个连续表格的位置进行判断是否为续表。如果第一个表格出现在第一页的末尾,第二个表格出现在第二页的开头,且两个表格之间没有除页眉和页脚以外的文字,则认为第二个表格为第一个表格的续表,进而,筛除续表。Wherein, in the screening process of the continuation table, it is judged whether it is a continuation table by comparing the positions of the two continuous tables. If the first table appears at the end of the first page, the second table appears at the beginning of the second page, and there is no text between the two tables other than the header and footer, the second table is considered to be the first A continuation of a table, which in turn, filters out continuations.
电子设备通过对文本内容,采用上述规则进行筛选,得到第二筛选结果。The electronic device screens the text content by using the above rules to obtain the second screening result.
其中,第二筛选结果中包括除封面附图和行内附图以外的附图和/或除续表以外的表格。其中,可能包括附图信息和/或表格信息正确的附图和/或表格,或者附图信息和/或表格信息丢失的附图和/或表格等。Wherein, the second screening results include figures other than the cover figure and the inline figure and/or tables other than the continuation table. Among them, it may include drawings and/or tables with correct drawing information and/or table information, or drawings and/or tables with missing drawing information and/or table information.
在本实施例中,步骤S202和S203的执行没有先后顺序。In this embodiment, steps S202 and S203 are performed in no order.
S204、电子设备将第一筛选结果中的附图信息与第二筛选结果中的附图进行匹配,确定附图与附图信息是否对应。S204. The electronic device matches the drawing information in the first screening result with the drawing information in the second screening result, and determines whether the drawing corresponds to the drawing information.
在本实施例中,以现有的图书、期刊、稿件等文本内容为例,附图信息用于对附图进行简单的说明,以及方便在正文中引用。因此,附图信息通常情况下,出现在附图下方,且位置紧挨附图。因此,在本步骤中,电子设备根据第一筛选结果中的附图信息与第二筛选结果中的附图的位置,匹配附图以及紧挨着附图的附图信息。In this embodiment, taking existing books, periodicals, manuscripts and other text content as examples, the drawing information is used to briefly explain the drawings and facilitate citing in the text. Therefore, figure information usually appears below and next to the figure. Therefore, in this step, the electronic device matches the drawings and the drawing information next to the drawings according to the drawing information in the first screening result and the position of the drawing in the second filtering result.
此外,在中文的文本内容中,附图信息中包含中文的附图信息,在中文的附图信息下方还可能出现英文的附图信息或者其他语言的附图信息。在英文的文本内容中,附图信息中包含英文的附图信息,在英文的附图信息下方还可能出现中文的附图信息或者其他语言的附图信息。In addition, in the text content in Chinese, the attached drawing information includes the attached drawing information in Chinese, and the attached drawing information in English or the attached drawing information in other languages may also appear below the attached drawing information in Chinese. In the text content in English, the accompanying drawing information includes English accompanying drawing information, and Chinese accompanying drawing information or other language accompanying drawing information may also appear below the English accompanying drawing information.
S205、若存在第一附图不存在对应的附图信息和/或第一附图信息不存在对应的附图,则电子设备显示第一提示信息,第一提示信息用于指示附图与附图信息不匹配。S205. If there is a first drawing but no corresponding drawing information and/or the first drawing information does not have a corresponding drawing, the electronic device displays first prompt information, and the first prompt information is used to indicate that the drawing is related to the attached drawing. The graph information does not match.
在本实施例中,在电子设备的匹配过程中,若附图下方紧挨着附图的位置存在附图信息,则附图与附图信息匹配成功。否则,若附图下方紧挨着附图的位置不存在附图信息,或者附图信息上方紧挨着附图信息的位置不存在附图,则匹配不成功,电子设备显示第一提示信息。In this embodiment, during the matching process of the electronic device, if there is attached drawing information immediately below the attached drawing, the matching between the attached drawing and the attached drawing information is successful. Otherwise, if there is no accompanying drawing information immediately below the accompanying drawing, or there is no accompanying drawing immediately above the accompanying drawing information, the matching is unsuccessful, and the electronic device displays the first prompt message.
其中,电子设备显示的第一提示信息用于指示附图与附图信息不匹配。该第一提示信息与附图或者附图信息同时显示,用于提示用户注意,该附图缺失附图信息,或者附图信息可能为多余的附图信息。Wherein, the first prompt information displayed by the electronic device is used to indicate that the drawing does not match the information of the drawing. The first prompt information is displayed simultaneously with the drawing or drawing information, and is used to prompt the user to notice that the drawing lacks drawing information, or the drawing information may be redundant drawing information.
S206、电子设备将第一筛选结果中与第二筛选结果中的附图匹配成功的附图信息作为第三筛选结果。S206. The electronic device takes the drawing information in the first screening result that successfully matches the drawing in the second screening result as the third screening result.
在本实施例中,在电子设备的匹配过程中,若附图与附图信息匹配成功,则将该匹配成功的附图与附图信息中的附图信息作为第三筛选结果。In this embodiment, during the matching process of the electronic device, if the matching drawing and drawing information are successfully matched, the drawing information in the successfully matching drawing and drawing information is used as the third screening result.
S207、电子设备确定第三筛选结果中的附图信息是否满足第一预设条件。若不满足,则电子设备显示第二提示信息,第二提示信息用于提示附图信息有误。S207. The electronic device determines whether the attached image information in the third screening result satisfies the first preset condition. If not satisfied, the electronic device displays second prompt information, and the second prompt information is used to prompt that the attached drawing information is incorrect.
在本实施例中,第三筛选结果的附图信息为与附图匹配成功的附图信息。为了方便用户,电子设备对该附图信息进行进一步的判断,用于分析该附图信息的图题或者图序是否有误。若图题或者图序出现错误,则显示第二提示信息。In this embodiment, the attached drawing information of the third screening result is the attached drawing information that successfully matches the attached drawing. For the convenience of the user, the electronic device further judges the attached drawing information to analyze whether the picture title or the picture sequence of the attached drawing information is wrong. If there is an error in the picture title or picture sequence, the second prompt message will be displayed.
其中,第一预设条件用于判断附图信息的图题或者图序是否正确,该第一预设条件,具体可以是图题的内容正确、图序的编号正确、图序的编码规则一致、或者上述一种或者多种的组合。Wherein, the first preset condition is used to judge whether the picture title or the picture sequence of the attached drawing information is correct, and the first preset condition may specifically be that the content of the picture title is correct, the number of the picture sequence is correct, and the coding rules of the picture sequence are consistent , or a combination of one or more of the above.
当第一预设条件用于判断图题的内容是否正确时,该第一预设条件包括但不限于如下条件:图题内容不超过50个字符,图题的结束位置不能是分号、逗号或者问号,中文文本内容必须有中文图题,以及英文文本内容必须有英文图题。When the first preset condition is used to judge whether the content of the picture title is correct, the first preset condition includes but not limited to the following conditions: the content of the picture title does not exceed 50 characters, and the end position of the picture title cannot be a semicolon or a comma Or question marks, Chinese text content must have Chinese picture captions, and English text content must have English picture captions.
如果,附图信息不符合第一预设条件,则电子设备显示第二提示信息。If the attached image information does not meet the first preset condition, the electronic device displays second prompt information.
其中,第二提示信息用于提示附图信息的图题有误。该第二提示信息与附图信息同时显示,用于提示用户注意,该附图信息的图题不符合要求,需要修改。Wherein, the second prompt information is used to prompt that the title of the figure in the accompanying drawing information is wrong. The second prompt information is displayed simultaneously with the accompanying drawing information, and is used to remind the user that the title of the accompanying drawing information does not meet the requirements and needs to be modified.
当第一预设条件用于判断附图信息中图序的编号是否正确时,该第一预设条件包括但不限于如下条件:编号方式是否一致和编号是否连续。When the first preset condition is used to judge whether the numbering of the figure sequence in the attached drawing information is correct, the first preset condition includes but not limited to the following conditions: whether the numbering method is consistent and whether the numbering is continuous.
其中,编号方式有全篇编号和分章编号两种。在全篇编号中,图序的编号从1开始,依次递增。如,图1,图2,图3,……,图n。在分章编号中,图序的编号为章节号+连接符+编号。在每一个章节中,编号从1开始,依次递增,章节号同样从1开始,依次递增。连接符包括但不限于“.”或者“-”。如,图1-1,图1-2,……,图1-n,图2-1,图2-2,……,图2-m。Among them, there are two ways of numbering: whole article numbering and chapter numbering. In the numbering of the whole article, the numbering of the figure sequence starts from 1 and increases sequentially. Such as, Fig. 1, Fig. 2, Fig. 3, ..., Fig. n. In chapter numbering, the numbering of figure sequence is chapter number + connector + number. In each chapter, the number starts from 1 and increases sequentially, and the chapter number also starts from 1 and increases sequentially. Connectors include but are not limited to "." or "-". For example, Figure 1-1, Figure 1-2, ..., Figure 1-n, Figure 2-1, Figure 2-2, ..., Figure 2-m.
如果,文本内容中同时出现全篇编号和分章编号,或者分章编号的连接符号不一致,则电子设备显示第二提示信息。If the whole article number and the chapter number appear in the text content at the same time, or the connection symbols of the chapter numbers are inconsistent, the electronic device displays a second prompt message.
其中,第二提示信息用于提示附图信息的图序编号方式有误。该第二提示信息与附图信息同时显示,用于提示用户注意,该附图信息中图序的编号方式不一致。Wherein, the second prompt information is used to prompt that the figure sequence numbering method of the attached drawing information is wrong. The second prompt information is displayed at the same time as the attached drawing information, and is used to remind the user that the numbering method of the drawing sequence in the attached drawing information is inconsistent.
如果,文本内容中图序的编号不是从1开始,且依次递增,或者在每一个章节中,编号不是从1开始,且依次递增,则电子设备显示第二提示信息。If the numbering of the picture sequence in the text content does not start from 1 and increases sequentially, or in each chapter, the numbering does not start from 1 and increases sequentially, the electronic device displays the second prompt information.
其中,第二提示信息用于提示附图信息的图序编号连续性错误。该第二提示信息与附图信息同时显示,用于提示用户注意,该附图信息中编号不连续。Wherein, the second prompt information is used to prompt that the serial number of the drawing information is wrong in continuity. The second prompt information is displayed simultaneously with the attached drawing information, and is used to prompt the user to note that the numbers in the attached attached drawing information are discontinuous.
当第一预设条件用于判断附图信息中图序的编码规则是否一致时,该第一预设条件包括但不限于如下条件:图题的文字部分不一致或者图题的数字类型不一致。When the first preset condition is used to determine whether the coding rules of the picture sequence in the attached drawing information are consistent, the first preset condition includes but not limited to the following conditions: the text part of the picture title is inconsistent or the number type of the picture title is inconsistent.
其中,编码规则一致,要求图序的文字部分的文字内容一致,以及图序的数字部分的数字类型一致。图序的文字内容一致,可以是图序的文字内容为图+数字、图示+数字或者Fig+数字等形式中的一种。图序的数字类型一致,可以是图序的数字类型为中文数字、英文数字或者罗马数字等类型中的一种,如图序的数字类型为一、贰、3或者IV等类型中的一种。Among them, the encoding rules are consistent, requiring that the text content of the text part of the picture sequence be consistent, and the number type of the digital part of the picture sequence be consistent. The text content of the figure sequence is consistent, and the text content of the figure sequence can be one of the forms of figure + number, illustration + number or Fig + number. The number types of the picture sequence are the same, and the number type of the picture sequence can be one of Chinese numbers, English numbers or Roman numerals, and the number type of the picture sequence is one of one, two, 3 or IV. .
如果,文本内容中图序的文字部分不一致或者数字类型不一致,则显示第二提示信息。If the text part of the picture sequence in the text content is inconsistent or the number type is inconsistent, a second prompt message will be displayed.
其中,第二提示信息用于提示附图信息中,图序的编码规则有误。该第二提示信息与附图信息同时显示,用于提示用户注意,该附图信息中存在编码规则不一致的图序。Wherein, the second prompt information is used to prompt that in the attached drawing information, the encoding rule of the picture sequence is wrong. The second prompt information is displayed simultaneously with the drawing information, and is used to prompt the user to notice that there are picture sequences with inconsistent coding rules in the drawing information.
当第一预设条件用于判断上诉一个或者多个条件时,第一预设条件可以是图题的内容是否正确、图序的编号是否正确、图序的编码规则是否一致。如果,文本内容中,图题或者图序不符合上诉一个或者多个条件,则电子设备显示的第一提示信息中,包括上述一个或者多个条件对应的一个或多个提示信息。When the first preset condition is used to judge one or more conditions of the appeal, the first preset condition may be whether the content of the picture title is correct, whether the number of the picture sequence is correct, and whether the coding rules of the picture sequence are consistent. If, in the text content, the picture title or the picture sequence does not meet one or more conditions of the appeal, the first prompt information displayed by the electronic device includes one or more prompt messages corresponding to the above one or more conditions.
S208、电子设备将第一筛选结果进行显示。S208. The electronic device displays the first screening result.
其中,S208与图1实施例中的S102实现方式类似,本实施例此处不再赘述。Wherein, S208 is implemented in a manner similar to that of S102 in the embodiment in FIG. 1 , and details are not described here in this embodiment.
表1Table 1
如表1所示,为第一筛选结果的一种表格形式的显示示例。下面,结合表1,电子设备以电脑为例,用户对文本内容的处理的具体步骤如下:As shown in Table 1, it is an example of displaying the first screening result in a tabular form. Below, in combination with Table 1, the electronic device takes a computer as an example, and the specific steps for the user to process the text content are as follows:
步骤1、用户通过窗口的接口导入待处理的文本内容。Step 1. The user imports the text content to be processed through the interface of the window.
步骤2、电子设备通过文本内容的处理方法处理得到第一筛选结果。表1为第一筛选结果以表格的形式进行显示的一个示例。表格中包括附图信息和附图的章节号(章节号),附图信息的图序(序号),附图信息的图题(图题),附图信息的第一提示信息和第二提示信息(错误类型),以及根据第一提示信息、第二提示信息和附图信息对应生成的修改建议(修改建议)。该表格可以显示在电子设备上的窗口中,也可以显示在网页中。Step 2. The electronic device processes the text content to obtain the first screening result. Table 1 is an example of displaying the first screening result in the form of a table. The table includes the attached drawing information and the chapter number (chapter number) of the attached drawing, the drawing sequence (serial number) of the attached drawing information, the picture title of the attached drawing information (picture title), the first prompt information and the second prompt of the accompanying drawing information information (error type), and a modification suggestion (modification suggestion) correspondingly generated according to the first prompt information, the second prompt information, and the attached drawing information. The form can be displayed in a window on the electronic device, or in a webpage.
步骤3、用户点击显示窗口中一条附图信息的序号或者图题,在文本内容中,光标对应跳转到附图信息所在的位置,以方便用户修改文本内容的该条附图信息。Step 3. The user clicks the serial number or the title of a piece of attached drawing information in the display window. In the text content, the cursor jumps to the location of the attached drawing information correspondingly, so as to facilitate the user to modify the attached drawing information in the text content.
步骤4、在修改该附图信息后,用户在显示窗口或者网页中,同步看到修改后的附图信息。进而,用户可以通过显示窗口或者网页,方便快捷的梳理全部附图信息,以及查看修改效果。Step 4. After modifying the attached drawing information, the user can simultaneously see the modified attached drawing information in the display window or web page. Furthermore, the user can conveniently and quickly sort out all the attached drawing information and check the modification effect by displaying a window or a web page.
本申请提供的文本内容的处理方法,通过电子设备获取文本内容。电子设备根据第二筛选规则,筛选文本内容中的附图,并将该附图与根据第一筛选规则筛选得到的附图信息进行匹配。电子设备根据第一预设条件对匹配成功的附图信息进行判断。电子设备根据匹配结果和判断结果分别生成第一提示信息和第二提示信息,并进行显示。本申请中,电子设备以表格的形式,显示附图信息,第一提示信息和第二提示信息,以及根据第一提示信息、第二提示信息和附图信息对应生成修改建议。电子设备显示的信息,可以辅助用户整理文本内容中的附图和附图信息,避免因为文本内容的篇幅、排版等原因导致的遗漏或者忽视现象,从而,实现提高校对的准确率的效果。In the text content processing method provided in this application, the text content is acquired through an electronic device. The electronic device filters the drawings in the text content according to the second filtering rule, and matches the drawing with the drawing information filtered according to the first filtering rule. The electronic device judges the matching drawing information according to the first preset condition. The electronic device generates first prompt information and second prompt information respectively according to the matching result and the judgment result, and displays them. In this application, the electronic device displays the accompanying information, the first prompt information and the second prompt information in the form of a table, and correspondingly generates modification suggestions according to the first prompt information, the second prompt information and the accompanying drawing information. The information displayed by the electronic device can assist the user to sort out the drawings and drawing information in the text content, avoiding omission or neglect due to the length of the text content, typesetting and other reasons, thereby achieving the effect of improving the accuracy of proofreading.
在上述图1至图2所示实施例的基础上,结合图3,对图1中S102根据第一预设规则,对待处理的文本内容进行筛选,得到第一筛选结果,第一预设规则用于筛选文本内容中的附图信息和/或表格信息的具体实现方式进行详细的说明。On the basis of the above embodiments shown in Figures 1 to 2, combined with Figure 3, S102 in Figure 1 screens the text content to be processed according to the first preset rule to obtain the first screening result, the first preset rule A detailed description will be given of a specific implementation manner for filtering the accompanying drawing information and/or table information in the text content.
图3示出了本申请一实施例提供的文本内容的处理方法的流程图。如图3所示,本实施例的方法可以包括:Fig. 3 shows a flowchart of a method for processing text content provided by an embodiment of the present application. As shown in Figure 3, the method of this embodiment may include:
S301、电子设备获取待处理的文本内容。S301. The electronic device acquires text content to be processed.
其中,S301与图1实施例中的S101实现方式类似,本实施例此处不再赘述。Wherein, S301 is implemented in a manner similar to that of S101 in the embodiment in FIG. 1 , and details are not described here in this embodiment.
S302、电子设备根据第一预设规则,对待处理的文本内容进行筛选,得到第一筛选结果,第一预设规则用于筛选文本内容中的附图信息和/或表格信息。S302. The electronic device filters the text content to be processed according to a first preset rule to obtain a first filter result, and the first preset rule is used to filter the attached image information and/or table information in the text content.
其中,S302与图1实施例中的S102实现方式类似,本实施例此处不再赘述。Wherein, S302 is implemented in a manner similar to that of S102 in the embodiment in FIG. 1 , and details will not be described here in this embodiment.
S303、电子设备根据第二预设规则,对待处理的文本内容进行筛选,得到第二筛选结果,第二预设规则用于筛选文本内容中的附图和/或表格。S303. The electronic device filters the text content to be processed according to a second preset rule to obtain a second filter result, and the second preset rule is used to filter drawings and/or tables in the text content.
其中,S303与图2实施例中的S203实现方式类似,本实施例此处不再赘述。Wherein, S303 is implemented in a manner similar to that of S203 in the embodiment in FIG. 2 , and details are not described here in this embodiment.
S304、电子设备将第一筛选结果中的表格信息与第二筛选结果中的表格进行匹配,确定表格与表格信息是否对应。S304. The electronic device matches the table information in the first screening result with the table in the second screening result, and determines whether the table corresponds to the table information.
在本实施例中,以现有的图书、期刊、稿件等文本内容为例,表格信息用于对表格进行简单的说明,以及方便在正文中引用表格。因此,表格信息通常情况下,出现在表格上方,且位置紧挨表格。因此,在本步骤中,电子设备根据第一筛选结果中的表格信息与第二筛选结果中的表格的位置,匹配表格以及紧挨着表格的表格信息。In this embodiment, taking existing text content such as books, periodicals, and manuscripts as an example, the table information is used to briefly describe the table and to facilitate citing the table in the text. Therefore, table information usually appears above the table and is positioned next to the table. Therefore, in this step, the electronic device matches the form and the form information next to the form according to the position of the form information in the first filtering result and the form in the second filtering result.
此外,在中文的文本内容中,表格信息为中文的表格信息。在英文的文本内容中,表格信息为英文的表格信息。In addition, in the text content in Chinese, the form information is the form information in Chinese. In the text content in English, the form information is the form information in English.
S305、若存在第一表格不存在对应的表格信息和/或第一表格信息不存在对应的表格,则电子设备显示第三提示信息,第三提示信息用于指示表格与表格信息不匹配。S305. If there is no corresponding form information in the first form and/or there is no corresponding form in the first form information, the electronic device displays third prompt information, where the third prompt information is used to indicate that the form does not match the form information.
在本实施例中,在电子设备的匹配过程中,若表格上方紧挨着表格的位置存在表格信息,则表格与表格信息匹配成功。否则,若表格上方紧挨着表格的位置不存在表格信息,或者表格信息下方紧挨着表格信息的位置不存在表格,则匹配不成功,电子设备显示第三提示信息。In this embodiment, during the matching process of the electronic device, if there is form information immediately above the form and next to the form, the match between the form and the form information is successful. Otherwise, if there is no table information immediately above the table or immediately below the table information, the matching is unsuccessful, and the electronic device displays a third prompt message.
其中,电子设备显示的第三提示信息用于指示表格与表格信息不匹配。该第三提示信息与表格或者表格信息同时显示,用于提示用户注意,该表格缺失表格信息,或者表格信息可能为多余的表格信息。Wherein, the third prompt information displayed by the electronic device is used to indicate that the table does not match the table information. The third prompt information is displayed simultaneously with the form or the form information, and is used to remind the user that the form lacks form information, or the form information may be redundant form information.
S306、电子设备将第一筛选结果中与第二筛选结果中的表格匹配成功的表格信息作为第四筛选结果。S306. The electronic device uses form information in the first screening result that successfully matches the form in the second screening result as a fourth screening result.
在本实施例中,在电子设备的匹配过程中,若表格与表格信息匹配成功,则该匹配成功的表格与表格信息中的表格信息作为第四筛选结果。In this embodiment, during the matching process of the electronic device, if the form and the form information are successfully matched, the form information in the successfully matched form and the form information is used as the fourth screening result.
S307、电子设备确定第四筛选结果中的表格信息是否满足第二预设条件;若不满足,则显示第四提示信息,第四提示信息用于提示表格信息有误。S307. The electronic device determines whether the form information in the fourth screening result satisfies the second preset condition; if not, displays fourth prompt information, where the fourth prompt information is used to prompt that the form information is incorrect.
在本实施例中,第四筛选结果的表格信息为与表格匹配成功的表格信息,为了方便用户,电子设备对该表格信息进行进一步的判断,用于分析该表格信息的表题和表序是否有误。若该表格信息的表题或者表序存在错误,则显示第四提示信息。In this embodiment, the form information of the fourth screening result is the form information that successfully matches the form. For the convenience of the user, the electronic device further judges the form information to analyze whether the table title and table order of the form information are mistaken. If there is an error in the table title or table sequence of the table information, the fourth prompt message will be displayed.
其中,第二预设条件用于判断表格信息的表题或者表序是否正确,该第二预设条件,具体可以是表题的内容正确、表序的编号正确、表序的编码规则一致、或者上述一种或者多种的组合。Wherein, the second preset condition is used to judge whether the table title or the table sequence of the form information is correct. Or a combination of one or more of the above.
当第二预设条件用于判断表格信息中的表题的内容是否正确时,该第二预设条件包括但不限于以下条件:表题内容不超过50个字符,表题的结束位置不能是分号、逗号或者问号,中文文本内容必须有中文表题,以及英文文本内容必须有英文表题。When the second preset condition is used to judge whether the content of the table title in the form information is correct, the second preset condition includes but is not limited to the following conditions: the content of the table title does not exceed 50 characters, and the end position of the table title cannot be Semicolons, commas or question marks, Chinese text content must have Chinese table titles, and English text content must have English table titles.
如果,表格信息不符合第二预设条件,则电子设备显示第四提示信息。If the form information does not meet the second preset condition, the electronic device displays fourth prompt information.
其中,第四提示信息用于提示表格信息的表题有误。该第四提示信息与表格信息同时显示,用于提示用户注意,该表格信息的表题不符合要求,需要修改。Wherein, the fourth prompt information is used to prompt that the title of the table information is incorrect. The fourth prompt information is displayed simultaneously with the form information, and is used to remind the user that the title of the form information does not meet requirements and needs to be modified.
当第二预设条件用于判断表格信息中表序的编号是否正确时,该第二预设条件包括但不限于如下条件:编号方式是否一致和编号是否连续。When the second preset condition is used to determine whether the serial number in the form information is correct, the second preset condition includes but not limited to the following conditions: whether the numbering method is consistent and whether the numbering is continuous.
其中,编号方式有全篇编号和分章编号两种。在全篇编号中,表序的编号从1开始,依次递增。如,表1,表2,表3,……,表n。在分章编号中,表序的编号为章节号+连接符+编号。在每一个章节中,编号从1开始,依次递增,章节号同样从1开始,依次递增。连接符包括但不限于“.”或者“-”。如,表1-1,表1-2,……,表1-n,表2-1,表2-2,……,表2-m。Among them, there are two ways of numbering: whole article numbering and chapter numbering. In the numbering of the whole article, the numbering of the table sequence starts from 1 and increases sequentially. For example, Table 1, Table 2, Table 3, ..., Table n. In chapter numbering, the numbering of table order is chapter number + connector + number. In each chapter, the number starts from 1 and increases sequentially, and the chapter number also starts from 1 and increases sequentially. Connectors include but are not limited to "." or "-". For example, Table 1-1, Table 1-2, ..., Table 1-n, Table 2-1, Table 2-2, ..., Table 2-m.
如果,文本内容中同时出现全篇编号和分章编号,或者分章编号的连接符号不一致,则电子设备显示第四提示信息。If the whole article number and the chapter number appear in the text content at the same time, or the connection symbols of the chapter numbers are inconsistent, the electronic device displays the fourth prompt information.
其中,第四提示信息用于提示表格信息的表序编号方式有误。该第四提示信息与表格信息同时显示,用于提示用户注意,该表格信息中存在编号方式不一致的表序。Wherein, the fourth prompt information is used to prompt that the table sequence numbering method of the table information is incorrect. The fourth prompt information is displayed at the same time as the table information, and is used to remind the user to notice that there are table sequences with inconsistent numbering methods in the table information.
如果,文本内容中表序的编号不是从1开始,且依次递增,或者在每一个章节中,编号不是从1开始,且依次递增,则电子设备显示第四提示信息。If the numbering of the table sequence in the text content does not start from 1 and increases sequentially, or in each chapter, the numbering does not start from 1 and increases sequentially, the electronic device displays the fourth prompt information.
其中,第四提示信息用于提示表格信息的表序编号连续性错误。该第四提示信息与表格信息同时显示,用于提示用户注意,该表格信息中编号不连续。Wherein, the fourth prompt information is used for prompting that the sequence numbers of the table information are incorrect in continuity. The fourth prompt information is displayed simultaneously with the form information, and is used to remind the user that the numbers in the form information are discontinuous.
当第二预设条件用于判断表格信息中表序的编码规则是否一致时,该第一预设条件包括但不限于如下条件:表题的文字部分不一致或者表题的数字类型不一致When the second preset condition is used to judge whether the encoding rules of the table order in the table information are consistent, the first preset condition includes but is not limited to the following conditions: the text part of the table title is inconsistent or the number type of the table title is inconsistent
其中,表序的编码可以分成表序的文字部分和表序的数字部分,编码规则一致,则要求表序的文字部分的文字内容一致,以及表序的数字部分的数字类型一致。表序的文字内容一致,可以是表序的文字为表+数字、表格+数字、Table+数字、Tab+数字等形式中的一种。表序的数字类型一致,可以是表序的数字类型为中文数字、英文数字或者罗马数字等类型中的一种,如表序的数字类型为一、贰、3或者IV等类型中的一种。Among them, the encoding of the table sequence can be divided into the text part of the table sequence and the digital part of the table sequence. If the coding rules are consistent, the text content of the text part of the table sequence is required to be consistent, and the number types of the digital part of the table sequence are consistent. The text content of the table sequence is consistent, and the text of the table sequence can be one of the forms of table+number, table+number, Table+number, Tab+number, etc. The number type of the table sequence is the same, and the number type of the table sequence can be one of Chinese numbers, English numbers or Roman numerals, such as one, two, 3 or IV. .
如果,文本内容中表序的文字部分不一致或者数字类型不一致,则显示第四提示信息。If the text part of the sequence in the text content is inconsistent or the number type is inconsistent, the fourth prompt message is displayed.
其中,第四提示信息用于提示表格信息中,表序的编码规则有误。该第四提示信息与表格信息同时显示,用于提示用户注意,该表格信息中存在编码规则不一致的表序。Wherein, the fourth prompt information is used to prompt that in the form information, the encoding rule of the table order is incorrect. The fourth prompt information is displayed simultaneously with the form information, and is used to prompt the user to notice that there are table sequences with inconsistent coding rules in the form information.
当第二预设条件用于判断上诉一个或者多个条件时,第二预设条件可以是表题的内容是否正确、表序的编号是否正确、表序的编码规则是否一致。如果,文本内容中,表题或者表序不符合上诉一个或者多个条件,则电子设备显示的第二提示信息中,包括上述一个或者多个条件对应的一个或多个提示信息。When the second preset condition is used to judge one or more conditions of the appeal, the second preset condition may be whether the content of the table title is correct, whether the serial number of the table sequence is correct, and whether the coding rules of the table sequence are consistent. If, in the text content, table title or table sequence does not meet one or more conditions of the appeal, the second prompt information displayed by the electronic device includes one or more prompt information corresponding to the above one or more conditions.
S308、电子设备将第一筛选结果进行显示。S308. The electronic device displays the first screening result.
其中,S308与图1实施例中的S102实现方式类似,本实施例此处不再赘述。Wherein, S308 is implemented in a manner similar to that of S102 in the embodiment of FIG. 1 , and details are not repeated here in this embodiment.
本申请提供的文本内容的处理方法,通过电子设备获取文本内容。电子设备根据第四筛选规则,筛选文本内容中的表格,并将表格与根据第一筛选规则筛选得到的表格信息进行匹配。电子设备根据第二预设条件对匹配成功的表格信息进行判断。电子设备根据匹配结果和判断结果分别生成第三提示信息和第四提示信息,并进行显示。本申请中,电子设备以表格的形式,显示表格信息,第三提示信息和第四提示信息,以及根据第三提示信息、第四提示信息和表格信息对应生成修改建议。电子设备显示的信息,可以辅助用户整理文本内容中的表格和表格信息,避免因为文本内容的篇幅、排版等原因导致的遗漏或者忽视现象,从而,实现提高校对的准确率的效果。In the text content processing method provided in this application, the text content is acquired through an electronic device. The electronic device filters the tables in the text content according to the fourth filtering rule, and matches the table with the table information filtered according to the first filtering rule. The electronic device judges the table information that matches successfully according to the second preset condition. The electronic device generates third prompt information and fourth prompt information respectively according to the matching result and the judgment result, and displays them. In this application, the electronic device displays the table information, the third prompt information and the fourth prompt information in the form of a table, and correspondingly generates modification suggestions according to the third prompt information, the fourth prompt information and the table information. The information displayed by the electronic device can assist the user to organize the tables and table information in the text content, avoiding omission or neglect due to the length of the text content, typesetting and other reasons, thereby achieving the effect of improving the accuracy of proofreading.
图4示出了本申请一实施例提供的文本内容的处理装置的结构示意图,如图4所示,本实施例的文本内容的处理装置10用于实现上述任一方法实施例中对应于电子设备的操作,本实施例的文本内容的处理装置10可以包括:Fig. 4 shows a schematic structural diagram of a text content processing device provided by an embodiment of the present application. As shown in Fig. 4, the text content processing device 10 of this embodiment is used to implement the corresponding electronic For the operation of the device, the text content processing device 10 of this embodiment may include:
获取模块11,用于获取待处理的文本内容。The acquiring
处理模块12,用于根据第一预设规则,对待处理的文本内容进行筛选,得到第一筛选结果,第一预设规则用于筛选文本内容中的附图信息和/或表格信息。The
可选地,处理模块12,还用于根据第二预设规则,对待处理的文本内容进行筛选,得到第二筛选结果,第二预设规则用于筛选文本内容中的附图和/或表格。Optionally, the
可选地,处理模块12,还用于将第一筛选结果中的附图信息与第二筛选结果中的附图进行匹配,确定附图与附图信息是否对应。若存在第一附图不存在对应的附图信息和/或第一附图信息不存在对应的附图,则显示第一提示信息,第一提示信息用于指示附图与附图信息不匹配。Optionally, the
可选地,附图信息包括图序和图题,处理模块12,还用于将第一筛选结果中与第二筛选结果中的附图匹配成功的附图信息作为第三筛选结果。确定第三筛选结果中的附图信息是否满足第一预设条件。若不满足,则显示第二提示信息,第二提示信息用于提示附图信息有误。其中,第一预设条件包括以下至少一个:图题满足图题命名规则,图序连续,图序编码规则一致。Optionally, the drawing information includes drawing sequence and drawing title, and the
可选地,处理模块12,还用于将第一筛选结果中的表格信息与第二筛选结果中的表格进行匹配,确定表格与表格信息是否对应。若存在第一表格不存在对应的表格信息和/或第一表格信息不存在对应的表格,则显示第三提示信息,第三提示信息用于指示表格与表格信息不匹配。Optionally, the
可选地,表格信息包括表序和表题,处理模块12,还用于将第一筛选结果中与第二筛选结果中的表格匹配成功的表格信息作为第四筛选结果。确定第四筛选结果中的表格信息是否满足第二预设条件。若不满足,则显示第四提示信息,第四提示信息用于提示表格信息有误。其中,第二预设条件包括以下至少一个:表格满足表题命名规则,表序连续,表序编码规则一致。Optionally, the form information includes table sequence and table title, and the
显示模块13,用于将第一筛选结果进行显示。The
本申请实施例提供的文本内容的处理装置10,可执行上述方法实施例,其具体实现原理和技术效果,可参见上述方法实施例,本实施例此处不再赘述。The text content processing device 10 provided in the embodiment of the present application can execute the above-mentioned method embodiment. For the specific implementation principle and technical effect, refer to the above-mentioned method embodiment, and this embodiment will not repeat it here.
本申请中可以根据上述方法示例对文本内容的处理装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请各实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this application, the text content processing device can be divided into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in each embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
图5示出了本申请一实施例提供的电子设备的硬件结构示意图。如图5所示,该电子设备20,用于实现上述任一方法实施例中对应于电子设备的操作,本实施例的电子设备20可以包括:存储器21、处理器22、显示器24和接口25。FIG. 5 shows a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application. As shown in FIG. 5, the electronic device 20 is used to implement the operation corresponding to the electronic device in any of the above method embodiments. The electronic device 20 in this embodiment may include: a
显示器24与处理器22连接,用于显示处理器22的处理结果。显示器24为电子设备20中的显示设备,用于显示信息。The
处理器22与显示器24连接,用于向显示器24发送处理结果。处理器22与存储器21连接,用向存储器21发送需要存储的信息,或者从存储器21中读取需要使用的信息。处理器22与接口25连接,用于通过接口25获取输入信息。处理器22为电子设备20上的数据处理设备,用于执行存储器存储的计算机程序,以实现上述实施例中的文本内容的处理方法。具体可以参见前述方法实施例中的相关描述。The
存储器21与处理器22连接,用于接收处理器22发送的需要保存的数据,或者用于发送处理器22请求读取的数据,还用于存储算机程序。存储器21为电子设备20上的存储设备,用于读写数据和算机程序。The
接口25与处理器22连接,用于向处理器22发送需要处理的信息。The
可选地,存储器21和/或显示器24既可以是独立的,也可以跟处理器22集成在一起。Optionally, the
当存储器21和/或显示器24是独立于处理器22之外的器件时,电子设备20还可以包括:When the
总线23,用于连接存储器21和/或显示器24与处理器22。The
可以理解,图5所示的结构仅为示意,电子设备20还可以包括比图5中所示更多或者更少的组件,或者具有与图5所示不同配置的电子设备。图5中所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 5 is only for illustration, and the electronic device 20 may also include more or fewer components than those shown in FIG. 5 , or an electronic device with a configuration different from that shown in FIG. 5 . Each component shown in Fig. 5 may be implemented by hardware, software or a combination thereof.
本实施例提供的电子设备可用于执行上述的文本内容的处理方法,其实现方式和技术效果类似,本实施例此处不再赘述。The electronic device provided in this embodiment can be used to execute the above-mentioned method for processing text content, and its implementation mode and technical effect are similar, and details will not be repeated here in this embodiment.
本申请还提供一种计算机可读存储介质,计算机可读存储介质包括计算机程序,计算机程序用于实现如上实施例中的文本内容的处理方法。The present application also provides a computer-readable storage medium, the computer-readable storage medium includes a computer program, and the computer program is used to implement the text content processing method in the above embodiment.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules can be combined or integrated into another A system, or some feature, can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。A module described as a separate component may or may not be physically separated, and a component shown as a module may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing unit, each module may exist separately physically, or two or more modules may be integrated into one unit. The units formed by the above modules can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例方法的部分步骤。The above-mentioned integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the methods of the various embodiments of the present application. partial steps.
应理解,上述处理器可以是中央处理单元(英文:CentralProcessingUnit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:DigitalSignalProcessor,简称:DSP)、专用集成电路(英文:ApplicationSpecificIntegratedCircuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor can be a central processing unit (English: Central Processing Unit, referred to as: CPU), and can also be other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application specific integrated circuits (English: Application Specific Integrated Circuit , referred to as: ASIC) and so on. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in conjunction with the invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The storage may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
总线可以是工业标准体系结构(IndustryStandardArchitecture,ISA)总线、外部设备互连(PeripheralComponent,PCI)总线或扩展工业标准体系结构(ExtendedIndustryStandardArchitecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
上述计算机可读存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned computer-readable storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) , Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic Disk or Optical Disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤。而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above-mentioned method embodiments are executed. The aforementioned storage medium includes various media capable of storing program codes such as ROM, RAM, magnetic disk or optical disk.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制。尽管参照前述各实施例对本申请进行了详细的说明,本领域的技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换。而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。应当理解的是,本申请并不局限于上面已经描述并在附图中示出的结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that it is still possible to modify the technical solutions described in the aforementioned embodiments, or perform equivalent replacements for some or all of the technical features. However, these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application. It should be understood that the present application is not limited to the structures that have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911301166.6A CN110990551B (en) | 2019-12-17 | 2019-12-17 | Text content processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911301166.6A CN110990551B (en) | 2019-12-17 | 2019-12-17 | Text content processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110990551A CN110990551A (en) | 2020-04-10 |
CN110990551B true CN110990551B (en) | 2023-05-26 |
Family
ID=70094683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911301166.6A Active CN110990551B (en) | 2019-12-17 | 2019-12-17 | Text content processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110990551B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6470336B1 (en) * | 1999-08-25 | 2002-10-22 | Matsushita Electric Industrial Co., Ltd. | Document image search device and recording medium having document search program stored thereon |
CN103377177A (en) * | 2012-04-27 | 2013-10-30 | 北大方正集团有限公司 | Method and device for identifying forms in digital format files |
CN106934383A (en) * | 2017-03-23 | 2017-07-07 | 掌阅科技股份有限公司 | The recognition methods of picture markup information, device and server in file |
CN107133208A (en) * | 2017-03-24 | 2017-09-05 | 南京缘长信息科技有限公司 | The method and device that a kind of entity is extracted |
CN110334292A (en) * | 2019-07-02 | 2019-10-15 | 百度在线网络技术(北京)有限公司 | Page processing method, device and equipment |
-
2019
- 2019-12-17 CN CN201911301166.6A patent/CN110990551B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6470336B1 (en) * | 1999-08-25 | 2002-10-22 | Matsushita Electric Industrial Co., Ltd. | Document image search device and recording medium having document search program stored thereon |
CN103377177A (en) * | 2012-04-27 | 2013-10-30 | 北大方正集团有限公司 | Method and device for identifying forms in digital format files |
CN106934383A (en) * | 2017-03-23 | 2017-07-07 | 掌阅科技股份有限公司 | The recognition methods of picture markup information, device and server in file |
CN107133208A (en) * | 2017-03-24 | 2017-09-05 | 南京缘长信息科技有限公司 | The method and device that a kind of entity is extracted |
CN110334292A (en) * | 2019-07-02 | 2019-10-15 | 百度在线网络技术(北京)有限公司 | Page processing method, device and equipment |
Non-Patent Citations (1)
Title |
---|
汪婷婷等.科技期刊编辑如何发现及规避排版带来的常见错误――以方正书版2008软件为例.《天津科技》.2016,(第12期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110990551A (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106557237B (en) | method and terminal for selecting copy text information | |
US9767388B2 (en) | Method and system for verification by reading | |
CN111800492A (en) | Method and device for marking characters in web page, computer equipment and storage medium | |
CN107844494B (en) | Entry auditing method and terminal, entry processing method and server | |
CN104516868B (en) | The streaming restoring method and system in a kind of space of a whole page space | |
CN111753505A (en) | Document processing method, document processing device, server and storage medium | |
WO2018176652A1 (en) | Data display method and apparatus, and electronic device | |
CN110990551B (en) | Text content processing method, device, equipment and storage medium | |
KR102087274B1 (en) | Web electric document editing apparatus for rendering object and operating method thereof | |
CN110598188A (en) | Method and device for displaying annotations and computer-readable storage medium | |
CN111199136A (en) | Document content display method, device and equipment | |
US20170010805A1 (en) | Character Input Method and Electronic Device | |
CN109670183B (en) | Text importance calculation method, device, equipment and storage medium | |
JP7263720B2 (en) | Information processing device and program | |
CN112052647A (en) | Document editing method and device, electronic equipment and readable storage medium | |
CN116933728A (en) | Text processing method, electronic device and storage medium | |
WO2014050562A1 (en) | Sequence correction device for paragraph region, as well as method for controlling operation thereof and program for controlling operation thereof | |
CN112487759B (en) | Document page number setting method, device, electronic device and storage medium | |
CN102855233B (en) | For the mixing method and apparatus of spoken and written languages | |
CN110780898B (en) | Page data upgrading method and device and electronic equipment | |
CN110852045A (en) | Method and device for deleting document content, electronic equipment and storage medium | |
CN114492303A (en) | Typesetting processing method of electronic book, electronic equipment and storage medium | |
CN110245308B (en) | Image extraction method and device and terminal equipment | |
EP3121734A1 (en) | A method and device for performing story analysis | |
CN108287646B (en) | Multimedia object viewing method and device, storage medium and computing equipment |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230627 Address after: 3007, Hengqin International Financial Center Building, No. 58 Huajin Street, Hengqin New District, Zhuhai City, Guangdong Province, 519030 Patentee after: New founder holdings development Co.,Ltd. Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd. Address before: 100871, Beijing, Haidian District, Cheng Fu Road, No. 298, Zhongguancun Fangzheng building, 9 floor Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd. Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd. |
|
TR01 | Transfer of patent right |