CN105808515A - Editing method and editing device of encyclopedic entry on the basis of clause - Google Patents
Editing method and editing device of encyclopedic entry on the basis of clause Download PDFInfo
- Publication number
- CN105808515A CN105808515A CN201610125349.7A CN201610125349A CN105808515A CN 105808515 A CN105808515 A CN 105808515A CN 201610125349 A CN201610125349 A CN 201610125349A CN 105808515 A CN105808515 A CN 105808515A
- Authority
- CN
- China
- Prior art keywords
- editing
- content
- user
- target clause
- encyclopedia
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Document Processing Apparatus (AREA)
Abstract
本发明提供了基于分句的百科词条的编辑方法及编辑装置,该编辑方法包括:接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句,展示用于对目标分句进行编辑的编辑交互界面,接收用户通过编辑交互界面对目标分句的编辑操作,随后基于编辑操作生成针对目标分句的编辑结果。通过本发明,可实现用户灵活的对百科词条内容中部分内容有选择的进行编辑,解决了现有技术中仅能够对百科词条内容进行整体性编辑的问题,使得用户可快速地对目标分句进行编辑,减少编辑操作步骤;同时,降低了用户的编辑学习成本提高了用户的编辑体验,进一步地,可吸引更多专业用户编辑百科词条,提高百科词条的质量。
The present invention provides an editing method and an editing device for an encyclopedia entry based on clauses. The editing method includes: when receiving a user's selection operation on the content of an encyclopedia entry, determine which of the multiple divided clauses corresponding to the selection operation A target clause, displaying an editing interface for editing the target clause, receiving user editing operations on the target clause through the editing interface, and then generating an editing result for the target clause based on the editing operation. Through the present invention, the user can flexibly edit part of the content of the encyclopedia entry content selectively, which solves the problem in the prior art that only the content of the encyclopedia entry content can be edited as a whole, so that the user can quickly edit the target content Sentence-based editing reduces editing steps; at the same time, it reduces the user's editing learning costs and improves the user's editing experience. Further, it can attract more professional users to edit encyclopedia entries and improve the quality of encyclopedia entries.
Description
技术领域technical field
本发明涉及计算机技术领域,具体而言,本发明涉及一种基于分句的百科词条的编辑方法,及一种基于分句的百科词条的编辑装置。The present invention relates to the field of computer technology, in particular, the present invention relates to a method for editing encyclopedia entries based on clauses and a device for editing encyclopedia entries based on clauses.
背景技术Background technique
随着互联网技术的发展,人们越来越多的通过互联网获取各种知识的相关信息。现有互联网中提供百科知识的百科类产品中针对百科词条进行编辑时,词条编辑器只允许对词条的全部内容或词条的若干段落进行整体性编辑,编辑功能复杂,用户学习编辑功能的成本高且不易掌握编辑过程。同时,由于现有百科类产品词条内容已较为丰富,且用户对词条内容以阅读为主,大量普通用户进行百科词条内容编辑时较少进行长段落或全文编辑,而更多的是偏向于少量内容修改完善或添加部分更新内容,导致现有的百科词条编辑器在此种用户使用场景中适用度不高。With the development of Internet technology, more and more people obtain relevant information of various knowledge through the Internet. When editing encyclopedia entries in the encyclopedia products that provide encyclopedia knowledge in the existing Internet, the entry editor only allows overall editing of the entire content of the entry or several paragraphs of the entry. The editing function is complicated, and users need to learn to edit The cost of the function is high and the editing process is not easy to master. At the same time, since the content of existing encyclopedia product entries is relatively rich, and users mainly read the entry content, a large number of ordinary users seldom edit long paragraphs or full text when editing encyclopedia entry content, but more It tends to modify and improve a small amount of content or add some updated content, which makes the existing encyclopedia entry editor not very suitable for such user scenarios.
因此在编辑百科词条的过程中,需要一种简化编辑操作过程的编辑方法,从而解决目前用户掌握百科词条内容编辑功能的难度大、编辑操作过程复杂的问题。Therefore, in the process of editing encyclopedia entries, an editing method that simplifies the editing operation process is needed, so as to solve the problems that it is difficult for users to master the content editing function of encyclopedia entries and the editing operation process is complicated.
发明内容Contents of the invention
为克服上述技术问题或者至少部分地解决上述技术问题,特提出以下技术方案:In order to overcome the above-mentioned technical problems or at least partially solve the above-mentioned technical problems, the following technical solutions are proposed:
本发明的实施例提出了一种基于分句的百科词条的编辑方法,包括:Embodiments of the present invention propose a method for editing encyclopedia entries based on clauses, including:
接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句;When receiving the user's selection operation on the content of the encyclopedia entry, determine a target clause among the divided multiple clauses corresponding to the selection operation;
展示用于对目标分句进行编辑的编辑交互界面;Display the editing interface for editing the target clause;
接收用户通过编辑交互界面对目标分句的编辑操作;Receive the user's editing operation on the target clause through the editing interface;
基于编辑操作生成针对目标分句的编辑结果。An edited result for a target clause is generated based on an edit operation.
优选地,确定选择操作对应的已划分的多个分句中的一个目标分句,具体包括:Preferably, determining a target clause among the multiple divided clauses corresponding to the selection operation specifically includes:
确定用户在百科词条内容中执行的选择操作所对应的文字部分;Determine the text part corresponding to the selection operation performed by the user in the encyclopedia entry content;
将文字部分所在的分句确定为一个目标分句,其中,百科词条内容预先依据预定的划分规则被划分为多个分句。The clause where the text part is located is determined as a target clause, wherein the content of the encyclopedia entry is pre-divided into multiple clauses according to predetermined division rules.
优选地,划分规则为依据预定的标点符号对百科词条内容进行分句划分。Preferably, the division rule is to divide the content of the encyclopedia entry into sentences according to predetermined punctuation marks.
优选地,展示用于对目标分句进行编辑的编辑交互界面,具体包括:Preferably, an editing interface for editing the target clause is displayed, specifically including:
提供针对目标分句的用于提示编辑功能的标识;Provide an identifier for prompting editing functions for the target clause;
根据接收到的用户对该标识的选择操作,展示用于对目标分句进行编辑的编辑交互界面。According to the received selection operation of the identification by the user, an editing interface for editing the target clause is displayed.
可选地,该方法还包括:Optionally, the method also includes:
在百科词条页面中创建编辑悬浮窗;Create and edit a floating window in the encyclopedia entry page;
在编辑悬浮窗中展示用于对目标分句进行编辑的编辑交互界面。The editing interface for editing the target clause is displayed in the editing floating window.
可选地,该方法还包括:Optionally, the method also includes:
基于目标分句的编辑结果更新百科词条内容,并显示更新后的百科词条页面。The content of the encyclopedia entry is updated based on the editing result of the target clause, and the updated page of the encyclopedia entry is displayed.
可选地,该方法还包括:Optionally, the method also includes:
向服务器提交目标分句的编辑结果;Submit the editing result of the target clause to the server;
其中,基于目标分句的编辑结果更新百科词条内容,包括:Among them, the content of the encyclopedia entry is updated based on the editing results of the target clause, including:
接收到服务器返回的编辑结果验证信息时,基于目标分句的编辑结果更新百科词条内容。When receiving the editing result verification information returned by the server, the content of the encyclopedia entry is updated based on the editing result of the target clause.
优选地,向服务器提交目标分句的编辑结果之前,还包括:Preferably, before submitting the editing result of the target clause to the server, it also includes:
判断用户是否拥有对百科词条内容的编辑权限;Determine whether the user has the editing authority to the content of the encyclopedia entry;
若判断用户拥有对百科词条内容的编辑权限时,向服务器提交目标分句的编辑结果。If it is determined that the user has the editing authority to the content of the encyclopedia entry, submit the editing result of the target clause to the server.
优选地,若判断确定用户不具有对百科词条内容的编辑权限时,显示用于获取对百科词条内容的编辑权限的提示窗口。Preferably, if it is determined that the user does not have the editing authority to the content of the encyclopedia entry, a prompt window for obtaining the editing authority to the content of the encyclopedia entry is displayed.
本发明的另一实施例提出了一种基于分句的百科词条的编辑装置,包括:Another embodiment of the present invention proposes a kind of editing device of the encyclopedia entry based on the sentence, comprising:
确定模块,用于接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句;A determining module, configured to determine a target clause among the divided multiple clauses corresponding to the selection operation when receiving the user's selection operation on the content of the encyclopedia entry;
第一展示模块,用于展示用于对目标分句进行编辑的编辑交互界面;The first display module is used to display an editing interface for editing the target clause;
接收模块,用于接收用户通过编辑交互界面对目标分句的编辑操作;The receiving module is used to receive the user's editing operation on the target clause through the editing interface;
生成模块,用于基于编辑操作生成针对目标分句的编辑结果。The generating module is used for generating an editing result for a target clause based on an editing operation.
优选地,确定模块,具体包括:Preferably, the determination module specifically includes:
第一确定单元,用于确定用户在百科词条页面中执行的选择操作所对应的文字部分;The first determination unit is used to determine the text part corresponding to the selection operation performed by the user on the encyclopedia entry page;
第二确定单元,用于将文字部分所在的分句确定为一个目标分句,其中,百科词条内容预先依据预定的划分规则被划分为多个分句。The second determination unit is configured to determine the clause where the text part is located as a target clause, wherein the content of the encyclopedia entry is divided into multiple clauses in advance according to predetermined division rules.
优选地,划分规则为依据预定的标点符号对百科词条内容进行分句划分。Preferably, the division rule is to divide the content of the encyclopedia entry into sentences according to predetermined punctuation marks.
优选地,第一展示模块,具体包括:Preferably, the first display module specifically includes:
提供单元,用于提供针对目标分句的用于提示编辑功能的标识;providing a unit for providing an identifier for a prompt editing function for the target clause;
展示单元,用于根据接收到的用户对该标识的选择操作,展示用于对目标分句进行编辑的编辑交互界面。The display unit is configured to display an editing interface for editing the target clause according to the received selection operation of the identifier by the user.
可选地,该装置还包括:Optionally, the device also includes:
创建模块,用于在百科词条页面中创建编辑悬浮窗;Create a module for creating and editing floating windows in the encyclopedia entry page;
第二展示模块,用于在编辑悬浮窗中展示用于对目标分句进行编辑的编辑交互界面。The second display module is configured to display an editing interface for editing target clauses in the editing floating window.
可选地,该装置还包括:Optionally, the device also includes:
更新及显示模块,用于基于目标分句的编辑结果更新百科词条内容,并显示更新后的百科词条页面。The update and display module is used to update the content of the encyclopedia entry based on the editing result of the target clause, and display the updated page of the encyclopedia entry.
可选地,该装置还包括:Optionally, the device also includes:
提交模块,用于向服务器提交目标分句的编辑结果;Submitting a module for submitting the editing result of the target clause to the server;
其中,更新及显示模块用于接收到服务器返回的编辑结果验证信息时,基于目标分句的编辑结果更新百科词条内容。Wherein, the updating and displaying module is used for updating the content of the encyclopedia entry based on the editing result of the target sentence when receiving the verification information of the editing result returned by the server.
可选地,提交模块,还包括:Optionally, the submission module also includes:
判断单元,用于判断用户是否拥有对百科词条内容的编辑权限;A judging unit, used to judge whether the user has editing authority to the content of the encyclopedia entry;
提交单元,用于若判断用户拥有对百科词条内容的编辑权限时,向服务器提交目标分句的编辑结果。The submitting unit is configured to submit the editing result of the target clause to the server when it is determined that the user has the editing authority to the content of the encyclopedia entry.
优选地,该装置还包括提示窗口显示模块,用于若判断确定用户不具有对百科词条内容的编辑权限时,显示用于获取对百科词条内容的编辑权限的提示窗口。Preferably, the device further includes a prompt window display module, configured to display a prompt window for obtaining the edit permission to the content of the encyclopedia entry if it is determined that the user does not have the permission to edit the content of the encyclopedia entry.
本发明的实施例中,提出了一种基于分句的百科词条的编辑方案,当接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句,可实现用户灵活的对百科词条内容中部分内容有选择的进行编辑,解决了现有技术中仅能够对百科词条内容进行整体性编辑的问题;随后展示用于对目标分句进行编辑的编辑交互界面,编辑交互界面可以在百科词条页面的悬浮窗口中进行展示,使得用户可快速地对目标分句进行编辑,减少编辑操作步骤;同时,在编辑交互界面中对目标分句进行编辑的操作过程相对简单,降低了用户的编辑学习成本提高了用户的编辑体验,进一步地,可吸引更多专业用户编辑百科词条,提高百科词条的质量。In the embodiment of the present invention, an editing scheme of encyclopedia entries based on clauses is proposed. When a user's selection operation on the content of an encyclopedia entry is received, it is determined which of the divided multiple clauses corresponding to the selection operation A target clause, which enables users to flexibly edit part of the content of the encyclopedia entry content selectively, which solves the problem in the prior art that only the content of the encyclopedia entry content can be edited as a whole; The editing interface for editing clauses. The editing interface can be displayed in the floating window of the encyclopedia entry page, so that users can quickly edit the target clause and reduce the editing steps; at the same time, in the editing interface, the The operation process of editing the target clause is relatively simple, which reduces the user's editing learning cost and improves the user's editing experience. Further, it can attract more professional users to edit encyclopedia entries and improve the quality of encyclopedia entries.
本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and will become apparent from the description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention 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 the flow chart of the editing method of the encyclopedia entry based on clause in an embodiment of the present invention;
图2为本发明中一个优选实施例的展示用于对目标分句进行编辑的编辑交互界面的示意图;Fig. 2 is a schematic diagram showing an editing interface for editing a target clause in a preferred embodiment of the present invention;
图3为本发明中一个优选实施例的提供针对目标分句的用于提示编辑功能标识示意图;Fig. 3 is a schematic diagram of a function identification for prompting and editing provided for a target clause in a preferred embodiment of the present invention;
图4为本发明中另一优选实施例的提供针对目标分句的用于提示编辑功能标识的编辑悬浮窗的示意图;Fig. 4 is a schematic diagram of another preferred embodiment of the present invention providing an editing floating window for prompting the editing function identification for the target clause;
图5为本发明中一个优选实施例的在编辑悬浮窗中展示用于对目标分句进行编辑的编辑交互界面的示意图;Fig. 5 is a schematic diagram showing an editing interface for editing a target clause in an editing floating window according to a preferred embodiment of the present invention;
图6为本发明中一个优选实施例用于获取对百科词条内容的编辑权限的提示窗口的示意图;Fig. 6 is a schematic diagram of a prompt window for obtaining the editing authority of the encyclopedia entry content in a preferred embodiment of the present invention;
图7为本发明中一个优选实施例的在编辑悬浮窗中展示用于对目标分句进行信息反馈编辑的编辑交互界面的示意图;Fig. 7 is a schematic diagram of an editing interface for displaying information feedback editing of target clauses in the editing floating window according to a preferred embodiment of the present invention;
图8为本发明中另一实施例的基于分句的百科词条的编辑装置的结构示意图。FIG. 8 is a schematic structural diagram of a device for editing encyclopedia entries based on clauses according to another embodiment of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate 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 only for explaining the present invention and should not be construed as limiting the present invention.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.
本发明的实施例中,用户在终端设备中对基于分句的百科词条进行编辑时,终端设备需通过网络连接与互联网建立相应的连接。In the embodiment of the present invention, when the user edits the sentence-based encyclopedia entry in the terminal device, the terminal device needs to establish a corresponding connection with the Internet through a network connection.
图1为本发明中一个实施例的基于分句的百科词条的编辑方法的流程图。FIG. 1 is a flowchart of a method for editing encyclopedia entries based on clauses according to an embodiment of the present invention.
本发明的实施例中,各步骤所执行的内容概述如下:步骤S110:接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句;步骤S120:展示用于对目标分句进行编辑的编辑交互界面;步骤S130:接收用户通过编辑交互界面对目标分句的编辑操作;步骤S140:基于编辑操作生成针对目标分句的编辑结果。In the embodiment of the present invention, the content executed by each step is summarized as follows: Step S110: When receiving the user's selection operation on the content of the encyclopedia entry, determine a target clause among the divided multiple clauses corresponding to the selection operation ; Step S120: Display an editing interface for editing the target sentence; Step S130: Receive the user's editing operation on the target sentence through the editing interface; Step S140: Generate an editing result for the target sentence based on the editing operation.
本发明的实施例中,提出了一种基于分句的百科词条的编辑方法,当接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句,可实现用户灵活的对百科词条内容中部分内容有选择的进行编辑,解决了现有技术中仅能够对百科词条内容进行整体性编辑的问题;随后展示用于对目标分句进行编辑的编辑交互界面,编辑交互界面可以在百科词条页面的悬浮窗口中进行展示,使得用户可快速地对目标分句进行编辑,减少编辑操作步骤;同时,在编辑交互界面中对目标分句进行编辑的操作过程相对简单,降低了用户的编辑学习成本提高了用户的编辑体验,进一步地,可吸引更多专业用户编辑百科词条,提高百科词条的质量。以下针对各个步骤的具体实现做进一步的说明:In the embodiment of the present invention, a method for editing encyclopedia entries based on clauses is proposed. When a user's selection operation on the content of an encyclopedia entry is received, it is determined which of the multiple divided clauses corresponding to the selection operation A target clause, which enables users to flexibly edit part of the content of the encyclopedia entry content selectively, which solves the problem in the prior art that only the content of the encyclopedia entry content can be edited as a whole; The editing interface for editing clauses. The editing interface can be displayed in the floating window of the encyclopedia entry page, so that users can quickly edit the target clause and reduce the editing steps; at the same time, in the editing interface, the The operation process of editing the target clause is relatively simple, which reduces the user's editing learning cost and improves the user's editing experience. Further, it can attract more professional users to edit encyclopedia entries and improve the quality of encyclopedia entries. The following is a further description of the specific implementation of each step:
步骤S110:接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句。Step S110: When the user's selection operation on the content of the encyclopedia entry is received, determine a target clause among the multiple divided clauses corresponding to the selection operation.
具体地,在终端设备中,当接收到用户对百科词条页面中针对一个百科词条的百科词条内容的选择操作时,可确定用户的选择操作对应的已划分的多个分句中的一个目标分句。Specifically, in the terminal device, when receiving the user's selection operation on the content of an encyclopedia entry in the encyclopedia entry page, it can determine the number of divided sentences corresponding to the user's selection operation A target clause.
例如,在终端设备中,用户通过浏览器查找一个百科词条的相应信息,当接收到用户对查找的百科词条的部分内容的选择操作时,可确定用户的选择操作对应的已划分的多个分句中的一个目标分句。For example, in the terminal device, the user searches for the corresponding information of an encyclopedia entry through the browser, and when receiving the user's selection operation on part of the content of the searched encyclopedia entry, it can be determined that the user's selection operation corresponds to the divided multiple A target clause in clauses.
在一优选实施例中,步骤S110包括步骤S111(图中未示出)和步骤S112(图中未示出);步骤S111:确定用户在百科词条内容中执行的选择操作所对应的文字部分;步骤S112:将文字部分所在的分句确定为一个目标分句,其中,百科词条内容预先依据预定的划分规则被划分为多个分句。In a preferred embodiment, step S110 includes step S111 (not shown in the figure) and step S112 (not shown in the figure); step S111: determine the text part corresponding to the selection operation performed by the user in the content of the encyclopedia entry ; Step S112: Determine the clause where the text part is located as a target clause, wherein the content of the encyclopedia entry is pre-divided into multiple clauses according to predetermined division rules.
优选地,划分规则为依据预定的标点符号对百科词条内容进行分句划分。Preferably, the division rule is to divide the content of the encyclopedia entry into sentences according to predetermined punctuation marks.
例如,预定的标点符号包括“。,!;?……”六种符号,并包括该六种符号的中英文状态和圆角半角,且预定的标点符号不包括英文句号。在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,在“芈月传”的百科词条页面中,已依据预定的标点符号预先对百科词条“芈月传”的百科词条内容划分为多个分句,当接收到用户对百科词条“芈月传”的百科词条内容中“芈姝”两个字的选中操作时,可确定用户在百科词条“芈月传”的内容中执行的选择操作所对应的文字部分为“芈姝”,并将“芈姝”所在的、预先划分的分句“但被作为嫡公主芈姝的陪嫁媵侍远嫁秦国”确定为一个目标分句;当接收到用户对百科词条“芈月传”的百科词条内容中的“战国时期”四个字的选中操作时,可确定用户在百科词条“芈月传”的内容中执行的选择操作所对应的文字部分为“战国时期”,并将“战国时期”所在的、预先划分的分句“战国时期”确定为一个目标分句。For example, the predetermined punctuation marks include ".,!;?..." six symbols, and include the Chinese and English states of the six symbols and rounded half-angles, and the predetermined punctuation marks do not include English periods. In the terminal device, the user searches the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. The content of the encyclopedia entry "Miyue Biography" is divided into multiple clauses. When the user selects the word "Mishu" in the content of the encyclopedia entry "Miyue Biography", the It is determined that the text part corresponding to the selection operation performed by the user in the content of the encyclopedia entry "Miyue Biography" is "Mishu", and the pre-divided clause where "Mishu" is located is "but is regarded as the princess Miyue". Shu's dowry, concubine and servant marry far away from Qin" is determined as a target clause; when the user selects the four words "Warring States Period" in the content of the encyclopedia entry "Miyue Biography", it can Determine the text part corresponding to the selection operation performed by the user in the content of the encyclopedia entry "Miyue Biography" as "Warring States Period", and determine the pre-divided clause "Warring States Period" where "Warring States Period" is located as a target clause.
步骤S120:展示用于对目标分句进行编辑的编辑交互界面。Step S120: Display an editing interface for editing the target clause.
例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,当接收到用户对“芈月传”的百科词条内容中的“战国时期”的选择操作时,将“战国时期”所在的分句“战国时期”确定为一个目标分句,随后当用户点击百科词条“芈月传”页面中针对目标分句“战国时期”的编辑功能标识时,则生成用于对目标分句“战国时期”进行编辑的编辑交互界面,并展示在百科词条页面中,如图2所示。For example, in the terminal device, the user searches the corresponding information of the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. During the selection operation, the clause "Warring States Period" where "Warring States Period" is located is determined as a target clause, and then when the user clicks on the edit function for the target clause "Warring States Period" in the page of the encyclopedia entry "Miyue Biography" When marking, an editing interface for editing the target clause "Warring States Period" is generated and displayed on the encyclopedia entry page, as shown in Figure 2.
在一优选实施例中,步骤S120包括步骤S121(图中未示出)和步骤S122(图中未示出);步骤S121:提供针对目标分句的用于提示编辑功能的标识;步骤S122:根据接收到的用户对该标识的选择操作,展示用于对目标分句进行编辑的编辑交互界面。In a preferred embodiment, step S120 includes step S121 (not shown in the figure) and step S122 (not shown in the figure); step S121: provide an identification for the prompt editing function for the target sentence; step S122: According to the received selection operation of the identification by the user, an editing interface for editing the target clause is displayed.
例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,当接收到用户对“芈月传”的百科词条内容中的“战国时期”的选择操作时,将“战国时期”所在的分句“战国时期”确定为一个目标分句,并提供针对目标分句“战国时期”的用于提示编辑功能的标识,如图3中的“编辑”按钮或图4中的“纠错”按钮,随后当用户点击百科词条“芈月传”页面中针对目标分句“战国时期”的编辑功能标识时,根据接收到的用户对该标识的选择操作,展示用于对目标分句“战国时期”进行编辑的编辑交互界面,如图2所示。For example, in the terminal device, the user searches the corresponding information of the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. During the selection operation, determine the clause "Warring States Period" where "Warring States Period" is located as a target clause, and provide an identifier for prompting the editing function for the target clause "Warring States Period", as shown in Figure 3. Edit" button or the "Error Correction" button in Figure 4, and then when the user clicks on the edit function logo for the target clause "Warring States Period" in the page of the encyclopedia entry "Miyue Biography", according to the user received the logo The selection operation shows the editing interface for editing the target clause "Warring States Period", as shown in Figure 2.
在一优选实施例中,该方法还包括步骤S160(图中未示出);步骤S160:在百科词条页面中创建编辑悬浮窗;在步骤S120中,在编辑悬浮窗中展示用于对目标分句进行编辑的编辑交互界面。In a preferred embodiment, the method also includes step S160 (not shown in the figure); step S160: create an edit floating window in the encyclopedia entry page; in step S120, display in the edit floating window the An editing interface for editing sentences.
步骤S160:在百科词条页面中创建编辑悬浮窗。Step S160: Create a floating window for editing on the encyclopedia entry page.
具体地,创建编辑悬浮窗的方式包括但不限于:在用户开启百科词条页面时创建编辑悬浮窗;在用户浏览百科词条页面过程中,当显示预定的目标分句时创建编辑悬浮窗。Specifically, the way of creating and editing the floating window includes but is not limited to: creating the editing floating window when the user opens the encyclopedia entry page; creating the editing floating window when the user browses the encyclopedia entry page when a predetermined target sentence is displayed.
例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,在百科词条“芈月传”的页面中创建编辑悬浮窗,如图4所示。For example, in the terminal device, the user searches the encyclopedia entry such as "Miyue Biography" corresponding information in the encyclopedia search through the browser, and creates a floating window for editing on the page of the encyclopedia entry "Miyue Biography", as shown in Figure 4 Show.
又例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,用户浏览百科词条“芈月传”的页面的过程中显示第一条目标分句时,在百科词条“芈月传”的页面中创建编辑悬浮窗,如图4所示。For another example, in the terminal device, the user searches the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. When dividing sentences, create a floating window for editing on the page of the encyclopedia entry "Miyue Biography", as shown in Figure 4.
在步骤S120中,在编辑悬浮窗中展示用于对目标分句进行编辑的编辑交互界面。In step S120, an editing interface for editing the target clause is displayed in the editing floating window.
例如,在编辑悬浮窗中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,当接收到用户对“芈月传”的百科词条内容中的“战国时期”的选择操作时,将“战国时期”所在的分句“战国时期”确定为一个目标分句,当用户点击编辑悬浮窗中的“纠错”按钮时,在图4中的编辑悬浮窗中展示用于对目标分句“战国时期”进行编辑的编辑交互界面,编辑交互界面中的编辑输入框中可显示目标分句“战国时期”的前后分句的相关信息,如图5所示;当接收到用户对“芈月传”的百科词条内容中的“秦国大乱”的选择操作时,将“秦国大乱”所在的分句“秦国大乱”确定为一个目标分句,当用户点击编辑悬浮窗中的“纠错”按钮时,在图4中的编辑悬浮窗中展示用于对目标分句“秦国大乱”进行编辑的编辑交互界面,编辑交互界面的编辑输入框中可显示目标分句“秦国大乱”的前后分句的相关信息。For example, in the editing floating window, the user searches the encyclopedia entry such as "Miyue Biography" corresponding information in the encyclopedia search through the browser. ", the clause "Warring States Period" where "Warring States Period" is located is determined as a target clause, when the user clicks the "correction" button in the editing floating window, in the editing floating window in Figure 4 Display the editing interface for editing the target clause "Warring States Period", and the edit input box in the editing interface can display relevant information about the front and rear clauses of the target clause "Warring States Period", as shown in Figure 5; When receiving the user's selection operation on "Qin State Chaos" in the encyclopedia entry content of "Miyue Biography", determine the clause "Qin State Chaos" where "Qin State Chaos" is located as a target clause, when When the user clicks the "Error Correction" button in the editing floating window, the editing interface for editing the target clause "Qin Kingdom Chaos" is displayed in the editing floating window in Figure 4. In the editing input box of the editing interface Relevant information of the preceding and following clauses of the target clause "Qin Guochao" can be displayed.
步骤S130:接收用户通过编辑交互界面对目标分句的编辑操作。Step S130: receiving the user's editing operation on the target clause through the editing interface.
例如,在百科词条“芈月传”的页面内容中,当用户通过编辑交互界面对目标分句“战国时期”进行编辑时,接收用户通过编辑交互界面对目标分句“战国时期”的编辑操作,如修改、添加、删除等操作。For example, in the page content of the encyclopedia entry "Miyue Biography", when the user edits the target clause "Warring States Period" through the editing interface, the user edits the target clause "Warring States Period" through the editing interface Operations, such as modify, add, delete, etc.
步骤S140:基于编辑操作生成针对目标分句的编辑结果。Step S140: Generate an editing result for the target clause based on the editing operation.
例如,当用户通过编辑交互界面对目标分句“战国时期”进行编辑时,终端设备接收到用户通过编辑交互界面对目标分句“战国时期”的编辑操作,如用户在如图5中的“单句纠错编辑”的编辑输入框内输入编辑内容“在战国时期”,随后,基于用户的该编辑操作生成针对目标分句“战国时期”的编辑结果为“在战国时期”。For example, when the user edits the target clause "Warring States Period" through the editing interface, the terminal device receives the user's editing operation on the target clause "Warring States Period" through the editing interface. Enter the editing content "in the Warring States Period" in the edit input box of "Single Sentence Error Correction Editing", and then, based on the user's editing operation, the editing result for the target clause "Warring States Period" is generated as "in the Warring States Period".
又例如,当用户通过编辑交互界面对目标分句“战国时期”进行编辑时,终端设备接收到用户通过编辑交互界面对目标分句“战国时期”的编辑操作,如用户在如图5中点击“把有误内容反馈给官方人员”,随后编辑交互界面切换至如图7所示,用户在如图7中的“反馈信息至官方人员”的编辑输入框内输入编辑内容“战国时期的时间有误”,随后,基于用户的该编辑操作生成针对“战国时期”的编辑结果为“战国时期的时间有误”。For another example, when the user edits the target clause "Warring States Period" through the editing interface, the terminal device receives the user's editing operation on the target clause "Warring States Period" through the editing interface. For example, the user clicks on "Feedback the wrong content to the official personnel", and then the editing interface is switched to as shown in Figure 7, and the user enters the editing content "Time of the Warring States Period" in the editing input box of "Feedback information to the official personnel" in Figure 7 Incorrect", and then, based on the editing operation of the user, the edit result for "Warring States Period" is "the time of the Warring States Period is incorrect".
在一优选实施例中,该方法还包括步骤S150(图中未示出);步骤S150:基于目标分句的编辑结果更新百科词条内容,并显示更新后的百科词条页面。In a preferred embodiment, the method further includes step S150 (not shown in the figure); step S150: update the content of the encyclopedia entry based on the editing result of the target clause, and display the updated page of the encyclopedia entry.
例如,终端设备基于针对目标分句“战国时期”的编辑结果如“在战国时期”,更新百科词条“芈月传”的相应内容,并显示更新后的百科词条“芈月传”的百科词条页面。For example, the terminal device updates the corresponding content of the encyclopedia entry "Miyue Biography" based on the editing results of the target sentence "Warring States Period", such as "in the Warring States Period", and displays the updated content of the encyclopedia entry "Miyue Biography". Encyclopedia page.
在一优选实施例中,步骤S150还包括步骤S153(图中未示出)和步骤S154(图中未示出);步骤S153:向服务器提交目标分句的编辑结果;步骤S154:接收到服务器返回的编辑结果验证信息时,基于目标分句的编辑结果更新百科词条内容。In a preferred embodiment, step S150 also includes step S153 (not shown in the figure) and step S154 (not shown in the figure); Step S153: submit the editing result of the target clause to the server; Step S154: receive the server When the returned editing result verifies the information, the content of the encyclopedia entry is updated based on the editing result of the target clause.
例如,在百科词条“芈月传”的页面内容中,当用户对目标分句“战国时期”编辑完成之后,点击如图5中的“提交”按钮向服务器提交目标分句“战国时期”的编辑结果“在战国时期”,随后当接收到服务器返回的编辑结果验证信息如“验证通过”时,基于目标分句“战国时期”的编辑结果“在战国时期”更新百科词条“芈月传”的相应内容。For example, in the page content of the encyclopedia entry "Miyue Biography", after the user finishes editing the target clause "Warring States Period", click the "Submit" button as shown in Figure 5 to submit the target clause "Warring States Period" to the server The editing result of "in the Warring States Period" and then when receiving the verification information of the editing results returned by the server such as "passed the verification", based on the editing result of the target clause "in the Warring States Period" "in the Warring States Period" to update the encyclopedia entry "奶月The corresponding content of "Biography".
在一优选实施例中,在步骤S153之前步骤S150还包括步骤S151(图中未示出)和步骤S152(图中未示出);步骤S151:判断用户是否拥有对百科词条内容的编辑权限;步骤S152:若判断用户拥有对百科词条内容的编辑权限时,向服务器提交目标分句的编辑结果。In a preferred embodiment, before step S153, step S150 also includes step S151 (not shown in the figure) and step S152 (not shown in the figure); step S151: determine whether the user has the editing authority to the content of the encyclopedia entry ; Step S152: If it is determined that the user has the editing authority to the content of the encyclopedia entry, submit the editing result of the target clause to the server.
例如,在百科词条“芈月传”的页面内容中,当用户对目标分句“战国时期”编辑完成之后,点击如图5中的“提交”按钮向服务器提交目标分句“战国时期”的编辑结果“在战国时期”时,若判断用户为百科网站的登陆会员,即拥有对百科词条内容的编辑权限时,向服务器提交目标分句“战国时期”的编辑结果“在战国时期”。For example, in the page content of the encyclopedia entry "Miyue Biography", after the user finishes editing the target clause "Warring States Period", click the "Submit" button as shown in Figure 5 to submit the target clause "Warring States Period" to the server When the editing result of "in the Warring States Period" is determined, if the user is judged to be a logged-in member of the encyclopedia website, that is, when he has the editing authority to the content of the encyclopedia entries, the editing result of the target clause "in the Warring States Period" is submitted to the server "in the Warring States Period" .
其中,步骤S152还包括:若判断确定用户不具有对百科词条内容的编辑权限时,显示用于获取对百科词条内容的编辑权限的提示窗口。Wherein, step S152 further includes: if it is determined that the user does not have the editing authority to the content of the encyclopedia entry, displaying a prompt window for obtaining the editing authority to the content of the encyclopedia entry.
例如,若判断用户不为百科网站的登陆会员,而是游客身份,则确定用户不具有对百科词条内容的编辑权限时,显示用于获取对百科词条内容的编辑权限的用户登录提示窗口,如图6所示。For example, if it is judged that the user is not a logged-in member of the encyclopedia website, but a visitor, then when it is determined that the user does not have the editing authority to the content of the encyclopedia entry, a user login prompt window for obtaining the editing authority to the content of the encyclopedia entry is displayed ,As shown in Figure 6.
图8为本发明中另一实施例的基于分句的百科词条的编辑装置的结构示意图。FIG. 8 is a schematic structural diagram of a device for editing encyclopedia entries based on clauses according to another embodiment of the present invention.
本发明的实施例中,各模块所执行的内容概述如下:接收到用户对百科词条内容的选择操作时,确定模块810确定选择操作对应的已划分的多个分句中的一个目标分句;第一展示模块820展示用于对目标分句进行编辑的编辑交互界面;接收模块830接收用户通过编辑交互界面对目标分句的编辑操作;生成模块840基于编辑操作生成针对目标分句的编辑结果。In the embodiment of the present invention, the content executed by each module is summarized as follows: when receiving the user's selection operation on the content of the encyclopedia entry, the determination module 810 determines a target clause among the divided multiple clauses corresponding to the selection operation ; The first display module 820 shows an editing interface for editing the target clause; the receiving module 830 receives the user's editing operation on the target clause through the editing interface; the generating module 840 generates an edit for the target clause based on the editing operation result.
本发明的实施例中,提出了一种基于分句的百科词条的编辑装置,当接收到用户对百科词条内容的选择操作时,确定选择操作对应的已划分的多个分句中的一个目标分句,可实现用户灵活的对百科词条内容中部分内容有选择的进行编辑,解决了现有技术中仅能够对百科词条内容进行整体性编辑的问题;随后展示用于对目标分句进行编辑的编辑交互界面,编辑交互界面可以在百科词条页面的悬浮窗口中进行展示,使得用户可快速地对目标分句进行编辑,减少编辑操作步骤;同时,在编辑交互界面中对目标分句进行编辑的操作过程相对简单,降低了用户的编辑学习成本提高了用户的编辑体验,进一步地,可吸引更多专业用户编辑百科词条,提高百科词条的质量。以下针对各个模块的具体实现做进一步的说明:In an embodiment of the present invention, a device for editing encyclopedia entries based on clauses is proposed. When a user selects an encyclopedia entry content, it determines which of the multiple clauses corresponding to the selection operation has been divided. A target clause, which enables users to flexibly edit part of the content of the encyclopedia entry content selectively, which solves the problem in the prior art that only the content of the encyclopedia entry content can be edited as a whole; The editing interface for editing clauses. The editing interface can be displayed in the floating window of the encyclopedia entry page, so that users can quickly edit the target clause and reduce the editing steps; at the same time, in the editing interface, the The operation process of editing the target clause is relatively simple, which reduces the user's editing learning cost and improves the user's editing experience. Further, it can attract more professional users to edit encyclopedia entries and improve the quality of encyclopedia entries. The following is a further description of the specific implementation of each module:
接收到用户对百科词条内容的选择操作时,确定模块810确定选择操作对应的已划分的多个分句中的一个目标分句。When receiving the user's selection operation on the content of the encyclopedia entry, the determining module 810 determines a target clause among the multiple divided clauses corresponding to the selection operation.
具体地,在终端设备中,当接收到用户对百科词条页面中针对一个百科词条的百科词条内容的选择操作时,可确定用户的选择操作对应的已划分的多个分句中的一个目标分句。Specifically, in the terminal device, when receiving the user's selection operation on the content of an encyclopedia entry in the encyclopedia entry page, it can determine the number of divided sentences corresponding to the user's selection operation A target clause.
例如,在终端设备中,用户通过浏览器查找一个百科词条的相应信息,当接收到用户对查找的百科词条的部分内容的选择操作时,可确定用户的选择操作对应的已划分的多个分句中的一个目标分句。For example, in the terminal device, the user searches for the corresponding information of an encyclopedia entry through the browser, and when receiving the user's selection operation on part of the content of the searched encyclopedia entry, it can be determined that the user's selection operation corresponds to the divided multiple A target clause in clauses.
在一优选实施例中,确定模块810包括第一确定单元(图中未示出)和第二确定单元(图中未示出);第一确定单元确定用户在百科词条内容中执行的选择操作所对应的文字部分;第二确定单元将文字部分所在的分句确定为一个目标分句,其中,百科词条内容预先依据预定的划分规则被划分为多个分句。In a preferred embodiment, the determination module 810 includes a first determination unit (not shown in the figure) and a second determination unit (not shown in the figure); the first determination unit determines the selection performed by the user in the encyclopedia entry content Operate the corresponding text part; the second determining unit determines the clause where the text part is located as a target clause, wherein the content of the encyclopedia entry is divided into multiple clauses in advance according to predetermined division rules.
优选地,划分规则为依据预定的标点符号对百科词条内容进行分句划分。Preferably, the division rule is to divide the content of the encyclopedia entry into sentences according to predetermined punctuation marks.
例如,预定的标点符号包括“。,!;?……”六种符号,并包括该六种符号的中英文状态和圆角半角,且预定的标点符号不包括英文句号。在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,在“芈月传”的百科词条页面中,已依据预定的标点符号预先对百科词条“芈月传”的百科词条内容划分为多个分句,当接收到用户对百科词条“芈月传”的百科词条内容中“芈姝”两个字的选中操作时,可确定用户在百科词条“芈月传”的内容中执行的选择操作所对应的文字部分为“芈姝”,并将“芈姝”所在的、预先划分的分句“但被作为嫡公主芈姝的陪嫁媵侍远嫁秦国”确定为一个目标分句;当接收到用户对百科词条“芈月传”的百科词条内容中的“战国时期”四个字的选中操作时,可确定用户在百科词条“芈月传”的内容中执行的选择操作所对应的文字部分为“战国时期”,并将“战国时期”所在的、预先划分的分句“战国时期”确定为一个目标分句。For example, the predetermined punctuation marks include ".,!;?..." six symbols, and include the Chinese and English states of the six symbols and rounded half-angles, and the predetermined punctuation marks do not include English periods. In the terminal device, the user searches the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. The content of the encyclopedia entry "Miyue Biography" is divided into multiple clauses. When the user selects the word "Mishu" in the content of the encyclopedia entry "Miyue Biography", the It is determined that the text part corresponding to the selection operation performed by the user in the content of the encyclopedia entry "Miyue Biography" is "Mishu", and the pre-divided clause where "Mishu" is located is "but is regarded as the princess Miyue". Shu's dowry, concubine and servant marry far away from Qin" is determined as a target clause; when the user selects the four words "Warring States Period" in the content of the encyclopedia entry "Miyue Biography", it can Determine the text part corresponding to the selection operation performed by the user in the content of the encyclopedia entry "Miyue Biography" as "Warring States Period", and determine the pre-divided clause "Warring States Period" where "Warring States Period" is located as a target clause.
第一展示模块820展示用于对目标分句进行编辑的编辑交互界面。The first presentation module 820 presents an editing interface for editing the target clause.
例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,当接收到用户对“芈月传”的百科词条内容中的“战国时期”的选择操作时,将“战国时期”所在的分句“战国时期”确定为一个目标分句,随后当用户点击百科词条“芈月传”页面中针对目标分句“战国时期”的编辑功能标识时,则生成用于对目标分句“战国时期”进行编辑的编辑交互界面,并展示在百科词条页面中,如图2所示。For example, in the terminal device, the user searches the corresponding information of the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. During the selection operation, the clause "Warring States Period" where "Warring States Period" is located is determined as a target clause, and then when the user clicks on the edit function for the target clause "Warring States Period" in the page of the encyclopedia entry "Miyue Biography" When marking, an editing interface for editing the target clause "Warring States Period" is generated and displayed on the encyclopedia entry page, as shown in Figure 2.
在一优选实施例中,第一展示模块820包括提供单元(图中未示出)和展示单元(图中未示出);提供单元提供针对目标分句的用于提示编辑功能的标识;根据接收到的用户对该标识的选择操作,展示单元展示用于对目标分句进行编辑的编辑交互界面。In a preferred embodiment, the first display module 820 includes a providing unit (not shown in the figure) and a display unit (not shown in the figure); the providing unit provides an identification for the prompt editing function for the target sentence; according to Upon receiving the user's selection operation on the identifier, the display unit displays an editing interface for editing the target clause.
例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,当接收到用户对“芈月传”的百科词条内容中的“战国时期”的选择操作时,将“战国时期”所在的分句“战国时期”确定为一个目标分句,并提供针对目标分句“战国时期”的用于提示编辑功能的标识,如图3中的“编辑”按钮或图4中的“纠错”按钮,随后当用户点击百科词条“芈月传”页面中针对目标分句“战国时期”的编辑功能标识时,根据接收到的用户对该标识的选择操作,展示用于对目标分句“战国时期”进行编辑的编辑交互界面,如图2所示。For example, in the terminal device, the user searches the corresponding information of the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. During the selection operation, determine the clause "Warring States Period" where "Warring States Period" is located as a target clause, and provide an identifier for prompting the editing function for the target clause "Warring States Period", as shown in Figure 3. Edit" button or the "Error Correction" button in Figure 4, and then when the user clicks on the edit function logo for the target clause "Warring States Period" in the page of the encyclopedia entry "Miyue Biography", according to the user received the logo The selection operation shows the editing interface for editing the target clause "Warring States Period", as shown in Figure 2.
在一优选实施例中,该装置还包括创建模块(图中未示出);创建模块在百科词条页面中创建编辑悬浮窗;第二展示模块用于在编辑悬浮窗中展示用于对目标分句进行编辑的编辑交互界面。In a preferred embodiment, the device also includes a creation module (not shown in the figure); the creation module creates an edit floating window in the encyclopedia entry page; the second display module is used to display in the edit floating window the An editing interface for editing sentences.
创建模块在百科词条页面中创建编辑悬浮窗。The creation module creates and edits the floating window on the encyclopedia entry page.
具体地,创建编辑悬浮窗的方式包括但不限于:在用户开启百科词条页面时创建编辑悬浮窗;在用户浏览百科词条页面过程中,当显示预定的目标分句时创建编辑悬浮窗。Specifically, the way of creating and editing the floating window includes but is not limited to: creating the editing floating window when the user opens the encyclopedia entry page; creating the editing floating window when the user browses the encyclopedia entry page when a predetermined target sentence is displayed.
例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,在百科词条“芈月传”的页面中创建编辑悬浮窗,如图4所示。For example, in the terminal device, the user searches the encyclopedia entry such as "Miyue Biography" corresponding information in the encyclopedia search through the browser, and creates a floating window for editing on the page of the encyclopedia entry "Miyue Biography", as shown in Figure 4 Show.
又例如,在终端设备中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,用户浏览百科词条“芈月传”的页面的过程中显示第一条目标分句时,在百科词条“芈月传”的页面中创建编辑悬浮窗,如图4所示。For another example, in the terminal device, the user searches the encyclopedia entry such as "Miyue Biography" in the encyclopedia search through the browser. When dividing sentences, create a floating window for editing on the page of the encyclopedia entry "Miyue Biography", as shown in Figure 4.
第二展示模块用于在编辑悬浮窗中展示用于对目标分句进行编辑的编辑交互界面。The second display module is used to display an editing interface for editing the target clause in the editing floating window.
例如,在编辑悬浮窗中,用户通过浏览器在百科搜索中查找百科词条如“芈月传”的相应信息,当接收到用户对“芈月传”的百科词条内容中的“战国时期”的选择操作时,将“战国时期”所在的分句“战国时期”确定为一个目标分句,当用户点击编辑悬浮窗中的“纠错”按钮时,在图4中的编辑悬浮窗中展示用于对目标分句“战国时期”进行编辑的编辑交互界面,编辑交互界面中的编辑输入框中可显示目标分句“战国时期”的前后分句的相关信息,如图5所示;当接收到用户对“芈月传”的百科词条内容中的“秦国大乱”的选择操作时,将“秦国大乱”所在的分句“秦国大乱”确定为一个目标分句,当用户点击编辑悬浮窗中的“纠错”按钮时,在图4中的编辑悬浮窗中展示用于对目标分句“秦国大乱”进行编辑的编辑交互界面,编辑交互界面的编辑输入框中可显示目标分句“秦国大乱”的前后分句的相关信息。For example, in the editing floating window, the user searches the encyclopedia entry such as "Miyue Biography" corresponding information in the encyclopedia search through the browser. ", the clause "Warring States Period" where "Warring States Period" is located is determined as a target clause, when the user clicks the "correction" button in the editing floating window, in the editing floating window in Figure 4 Display the editing interface for editing the target clause "Warring States Period", and the edit input box in the editing interface can display relevant information about the front and rear clauses of the target clause "Warring States Period", as shown in Figure 5; When receiving the user's selection operation on "Qin State Chaos" in the encyclopedia entry content of "Miyue Biography", determine the clause "Qin State Chaos" where "Qin State Chaos" is located as a target clause, when When the user clicks the "Error Correction" button in the editing floating window, the editing interface for editing the target clause "Qin Kingdom Chaos" is displayed in the editing floating window in Figure 4. In the editing input box of the editing interface Relevant information of the preceding and following clauses of the target clause "Qin Guochao" can be displayed.
接收模块830接收用户通过编辑交互界面对目标分句的编辑操作。The receiving module 830 receives the user's editing operation on the target clause through the editing interface.
例如,在百科词条“芈月传”的页面内容中,当用户通过编辑交互界面对目标分句“战国时期”进行编辑时,接收用户通过编辑交互界面对目标分句“战国时期”的编辑操作,如修改、添加、删除等操作。For example, in the page content of the encyclopedia entry "Miyue Biography", when the user edits the target clause "Warring States Period" through the editing interface, the user edits the target clause "Warring States Period" through the editing interface Operations, such as modify, add, delete, etc.
生成模块840基于编辑操作生成针对目标分句的编辑结果。The generating module 840 generates an editing result for the target clause based on the editing operation.
例如,当用户通过编辑交互界面对目标分句“战国时期”进行编辑时,终端设备接收到用户通过编辑交互界面对目标分句“战国时期”的编辑操作,如用户在如图5中的“单句纠错编辑”的编辑输入框内输入编辑内容“在战国时期”,随后,基于用户的该编辑操作生成针对目标分句“战国时期”的编辑结果为“在战国时期”。For example, when the user edits the target clause "Warring States Period" through the editing interface, the terminal device receives the user's editing operation on the target clause "Warring States Period" through the editing interface. Enter the editing content "in the Warring States Period" in the edit input box of "Single Sentence Error Correction Editing", and then, based on the user's editing operation, the editing result for the target clause "Warring States Period" is generated as "in the Warring States Period".
又例如,当用户通过编辑交互界面对目标分句“战国时期”进行编辑时,终端设备接收到用户通过编辑交互界面对目标分句“战国时期”的编辑操作,如用户在如图5中点击“把有误内容反馈给官方人员”,随后编辑交互界面切换至如图7所示,用户在如图7中的“反馈信息至官方人员”的编辑输入框内输入编辑内容“战国时期的时间有误”,随后,基于用户的该编辑操作生成针对“战国时期”的编辑结果为“战国时期的时间有误”。For another example, when the user edits the target clause "Warring States Period" through the editing interface, the terminal device receives the user's editing operation on the target clause "Warring States Period" through the editing interface. For example, the user clicks on "Feedback the wrong content to the official personnel", and then the editing interface is switched to as shown in Figure 7, and the user enters the editing content "Time of the Warring States Period" in the editing input box of "Feedback information to the official personnel" in Figure 7 Incorrect", and then, based on the editing operation of the user, the edit result for "Warring States Period" is "the time of the Warring States Period is incorrect".
在一优选实施例中,该装置还包括更新及显示模块(图中未示出);更新及显示模块基于目标分句的编辑结果更新百科词条内容,并显示更新后的百科词条页面。In a preferred embodiment, the device also includes an update and display module (not shown in the figure); the update and display module updates the content of the encyclopedia entry based on the editing result of the target clause, and displays the updated page of the encyclopedia entry.
例如,终端设备基于针对目标分句“战国时期”的编辑结果如“在战国时期”,更新百科词条“芈月传”的相应内容,并显示更新后的百科词条“芈月传”的百科词条页面。For example, the terminal device updates the corresponding content of the encyclopedia entry "Miyue Biography" based on the editing results of the target sentence "Warring States Period", such as "in the Warring States Period", and displays the updated content of the encyclopedia entry "Miyue Biography". Encyclopedia page.
在一优选实施例中,该装置还包括提交模块(图中未示出),提交模块向服务器提交目标分句的编辑结果;其中,更新及显示模块接收到服务器返回的编辑结果验证信息时,基于目标分句的编辑结果更新百科词条内容。In a preferred embodiment, the device also includes a submission module (not shown in the figure), the submission module submits the editing result of the target sentence to the server; wherein, when the update and display module receives the editing result verification information returned by the server, Update the content of the encyclopedia entry based on the editing results of the target clause.
例如,在百科词条“芈月传”的页面内容中,当用户对目标分句“战国时期”编辑完成之后,点击如图5中的“提交”按钮向服务器提交目标分句“战国时期”的编辑结果“在战国时期”,随后当接收到服务器返回的编辑结果验证信息如“验证通过”时,基于目标分句“战国时期”的编辑结果“在战国时期”更新百科词条“芈月传”的相应内容。For example, in the page content of the encyclopedia entry "Miyue Biography", after the user finishes editing the target clause "Warring States Period", click the "Submit" button as shown in Figure 5 to submit the target clause "Warring States Period" to the server The editing result of "in the Warring States Period" and then when receiving the verification information of the editing results returned by the server such as "passed the verification", based on the editing result of the target clause "in the Warring States Period" "in the Warring States Period" to update the encyclopedia entry "奶月The corresponding content of "Biography".
在一优选实施例中,提交模块包括判断单元(图中未示出)和提交单元(图中未示出);判断单元判断用户是否拥有对百科词条内容的编辑权限;提交单元若判断用户拥有对百科词条内容的编辑权限时,向服务器提交目标分句的编辑结果。In a preferred embodiment, the submission module includes a judging unit (not shown in the figure) and a submission unit (not shown in the figure); the judging unit judges whether the user has editing authority to the content of the encyclopedia entry; if the submitting unit judges that the user When you have the editing authority to the content of the encyclopedia entry, submit the editing result of the target clause to the server.
例如,在百科词条“芈月传”的页面内容中,当用户对目标分句“战国时期”编辑完成之后,点击如图5中的“提交”按钮向服务器提交目标分句“战国时期”的编辑结果“在战国时期”时,若判断用户为百科网站的登陆会员,即拥有对百科词条内容的编辑权限时,向服务器提交目标分句“战国时期”的编辑结果“在战国时期”。For example, in the page content of the encyclopedia entry "Miyue Biography", after the user finishes editing the target clause "Warring States Period", click the "Submit" button as shown in Figure 5 to submit the target clause "Warring States Period" to the server When the editing result of "in the Warring States Period" is determined, if the user is judged to be a logged-in member of the encyclopedia website, that is, when he has the editing authority to the content of the encyclopedia entries, the editing result of the target clause "in the Warring States Period" is submitted to the server "in the Warring States Period" .
其中,该模块还包括提示窗口显示模块;若判断确定用户不具有对百科词条内容的编辑权限时,提示窗口显示模块显示用于获取对百科词条内容的编辑权限的提示窗口。Wherein, the module also includes a prompt window display module; if it is determined that the user does not have the editing authority to the content of the encyclopedia entry, the prompt window display module displays a prompt window for obtaining the editing authority to the content of the encyclopedia entry.
例如,若判断用户不为百科网站的登陆会员,而是游客身份,则确定用户不具有对百科词条内容的编辑权限时,显示用于获取对百科词条内容的编辑权限的用户登录提示窗口,如图6所示。For example, if it is judged that the user is not a logged-in member of the encyclopedia website, but a visitor, then when it is determined that the user does not have the editing authority to the content of the encyclopedia entry, a user login prompt window for obtaining the editing authority to the content of the encyclopedia entry is displayed ,As shown in Figure 6.
本技术领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-OnlyMemory,只读存储器)、RAM(RandomAccessMemory,随即存储器)、EPROM(ErasableProgrammableRead-OnlyMemory,可擦写可编程只读存储器)、EEPROM(ElectricallyErasableProgrammableRead-OnlyMemory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art will appreciate that the present invention includes devices related to performing one or more of the operations described in this application. These devices may be specially designed and fabricated for the required purposes, or they may include known devices found in general purpose computers. These devices have computer programs stored therein that are selectively activated or reconfigured. Such a computer program can be stored in a device (e.g., computer) readable medium, including but not limited to any type of medium suitable for storing electronic instructions and respectively coupled to a bus. Types of disks (including floppy disks, hard disks, CDs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random memory), EPROM (Erasable Programmable Read-Only Memory, rewritable and programmable Read-only memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (eg, a computer).
本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。Those skilled in the art will understand that computer program instructions can be used to implement each block in these structural diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in these structural diagrams and/or block diagrams and/or flow diagrams . Those skilled in the art can understand that these computer program instructions can be provided to general-purpose computers, professional computers, or processors of other programmable data processing methods for implementation, so that the computer or processors of other programmable data processing methods can execute the present invention. Aspects specified in a block or blocks of a structure diagram and/or a block diagram and/or a flow diagram of the invention disclosure.
本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, and steps, measures, and solutions in the processes discussed in the present invention can be replaced, changed, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes that have been discussed in the present invention may also be replaced, changed, rearranged, decomposed, combined, or deleted. Further, steps, measures, and schemes in the prior art that have operations, methods, and processes disclosed in the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only part of the embodiments of the present invention. It should be pointed out that those skilled in the art can make some improvements and modifications without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610125349.7A CN105808515A (en) | 2016-03-04 | 2016-03-04 | Editing method and editing device of encyclopedic entry on the basis of clause |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610125349.7A CN105808515A (en) | 2016-03-04 | 2016-03-04 | Editing method and editing device of encyclopedic entry on the basis of clause |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105808515A true CN105808515A (en) | 2016-07-27 |
Family
ID=56466704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610125349.7A Pending CN105808515A (en) | 2016-03-04 | 2016-03-04 | Editing method and editing device of encyclopedic entry on the basis of clause |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105808515A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271615A (en) * | 2017-07-13 | 2019-01-25 | 北京搜狗科技发展有限公司 | Entry processing method, device and machine readable media |
CN109308151A (en) * | 2017-07-28 | 2019-02-05 | 北京搜狗科技发展有限公司 | A kind of information processing method, device, equipment and storage medium |
CN109598477A (en) * | 2017-09-30 | 2019-04-09 | 北京搜狗科技发展有限公司 | Article editing control method, equipment and storage medium |
CN113177055A (en) * | 2021-05-28 | 2021-07-27 | 北京字节跳动网络技术有限公司 | Information updating method and device and computer storage medium |
CN113220774A (en) * | 2021-05-28 | 2021-08-06 | 北京字节跳动网络技术有限公司 | Encyclopedic information display method and device and computer storage medium |
CN115062589A (en) * | 2022-06-08 | 2022-09-16 | 北京字跳网络技术有限公司 | Encyclopedic entry processing method, encyclopedic entry processing device, electronic equipment, medium and program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040225672A1 (en) * | 2003-05-05 | 2004-11-11 | Landers Kevin D. | Method for editing a web site |
US20100162096A1 (en) * | 2008-12-23 | 2010-06-24 | Micorsoft Corpration | Techniques for Utilizing Dynamic Components with Wikis |
CN101952821A (en) * | 2008-02-25 | 2011-01-19 | 微软公司 | Editing a document using a transitory editing surface |
CN102201006A (en) * | 2011-06-10 | 2011-09-28 | 互动在线(北京)科技有限公司 | Device and method for updating entry webpage content blocks in batch |
CN102354465A (en) * | 2011-10-08 | 2012-02-15 | 许卫刚 | Method for English study by taking sentence as minimum unit and system therefor |
WO2014204701A1 (en) * | 2013-06-20 | 2014-12-24 | Microsoft Corporation | Providing web-based alternate text options |
-
2016
- 2016-03-04 CN CN201610125349.7A patent/CN105808515A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040225672A1 (en) * | 2003-05-05 | 2004-11-11 | Landers Kevin D. | Method for editing a web site |
CN101952821A (en) * | 2008-02-25 | 2011-01-19 | 微软公司 | Editing a document using a transitory editing surface |
US20100162096A1 (en) * | 2008-12-23 | 2010-06-24 | Micorsoft Corpration | Techniques for Utilizing Dynamic Components with Wikis |
CN102201006A (en) * | 2011-06-10 | 2011-09-28 | 互动在线(北京)科技有限公司 | Device and method for updating entry webpage content blocks in batch |
CN102354465A (en) * | 2011-10-08 | 2012-02-15 | 许卫刚 | Method for English study by taking sentence as minimum unit and system therefor |
WO2014204701A1 (en) * | 2013-06-20 | 2014-12-24 | Microsoft Corporation | Providing web-based alternate text options |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271615A (en) * | 2017-07-13 | 2019-01-25 | 北京搜狗科技发展有限公司 | Entry processing method, device and machine readable media |
CN109271615B (en) * | 2017-07-13 | 2023-10-31 | 北京搜狗科技发展有限公司 | Entry processing method, apparatus and machine readable medium |
CN109308151A (en) * | 2017-07-28 | 2019-02-05 | 北京搜狗科技发展有限公司 | A kind of information processing method, device, equipment and storage medium |
CN109308151B (en) * | 2017-07-28 | 2024-02-02 | 北京搜狗科技发展有限公司 | Information processing method, device, equipment and storage medium |
CN109598477A (en) * | 2017-09-30 | 2019-04-09 | 北京搜狗科技发展有限公司 | Article editing control method, equipment and storage medium |
CN109598477B (en) * | 2017-09-30 | 2021-03-16 | 北京搜狗科技发展有限公司 | Entry editing control method, device and storage medium |
CN113177055A (en) * | 2021-05-28 | 2021-07-27 | 北京字节跳动网络技术有限公司 | Information updating method and device and computer storage medium |
CN113220774A (en) * | 2021-05-28 | 2021-08-06 | 北京字节跳动网络技术有限公司 | Encyclopedic information display method and device and computer storage medium |
CN113220774B (en) * | 2021-05-28 | 2023-08-15 | 抖音视界有限公司 | Encyclopedia information display method and device and computer storage medium |
CN115062589A (en) * | 2022-06-08 | 2022-09-16 | 北京字跳网络技术有限公司 | Encyclopedic entry processing method, encyclopedic entry processing device, electronic equipment, medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105808515A (en) | Editing method and editing device of encyclopedic entry on the basis of clause | |
CN105808512A (en) | Editing method and editing apparatus for encyclopedic entries | |
CN112765944A (en) | Form filling method, device, equipment and medium | |
KR102364163B1 (en) | universal translation | |
CN105103151B (en) | System and method for multi-user multilingual communication | |
WO2018176758A1 (en) | Method and device for generating article | |
WO2017216980A1 (en) | Machine learning device | |
WO2016202101A1 (en) | Method and device for displaying candidate item based on input method | |
US10713424B2 (en) | Automated document content modification | |
US20080281578A1 (en) | Document translation system | |
US20070250765A1 (en) | Office System Prediction Configuration Sharing | |
WO2013020424A1 (en) | Search method, device and system | |
US20130246042A1 (en) | Transliteration device, transliteration program, computer-readable recording medium on which transliteration program is recorded, and transliteration method | |
US10423410B1 (en) | Source code rules verification method and system | |
US20140074950A1 (en) | Determining additional information associated with geographic location information | |
CN107533571A (en) | The computer assisted navigation of digital figure novel | |
CN105808704A (en) | Evaluation and presentation method and device for encyclopedic entry content | |
WO2017024973A1 (en) | Information recommendation method and device, terminal apparatus, and server | |
CN110895654A (en) | Segmentation method, segmented system, and non-transitory computer-readable medium | |
WO2016086736A1 (en) | Input method based website information providing method and device | |
CN115238661A (en) | Document checking method, device, equipment and storage medium | |
TWI403911B (en) | Chinese dictionary constructing apparatus and methods, and storage media | |
CN108197101B (en) | Corpus labeling method and apparatus | |
CN108241847B (en) | Lateh format formula processing method and device in text recognition | |
CN117829101A (en) | Method, apparatus, device and medium for converting text style |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160727 |
|
RJ01 | Rejection of invention patent application after publication |