CN110737782B - Method and device for generating text guide - Google Patents

Method and device for generating text guide Download PDF

Info

Publication number
CN110737782B
CN110737782B CN201810715087.9A CN201810715087A CN110737782B CN 110737782 B CN110737782 B CN 110737782B CN 201810715087 A CN201810715087 A CN 201810715087A CN 110737782 B CN110737782 B CN 110737782B
Authority
CN
China
Prior art keywords
text
marking
marked
processed
guide
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
Application number
CN201810715087.9A
Other languages
Chinese (zh)
Other versions
CN110737782A (en
Inventor
支尚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810715087.9A priority Critical patent/CN110737782B/en
Publication of CN110737782A publication Critical patent/CN110737782A/en
Application granted granted Critical
Publication of CN110737782B publication Critical patent/CN110737782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a method for generating a text guide, comprising the following steps: acquiring at least one marked text contained in a text to be processed and marking information of the marked text, wherein the marking information comprises a marking title and a marking level; determining a hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed; and adding the marked text and the marking title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed. According to the method for generating the text guide map, the text contents of the articles and the electronic books are subjected to hierarchical division when marked, and corresponding text guide maps are generated according to the hierarchical structure determined by the hierarchical division, so that a user is helped to carry out structural combing on the articles and the electronic books, and real absorption and mastering are realized.

Description

Method and device for generating text guide
Technical Field
The application relates to the technical field of data processing, in particular to a method for generating a text guide. The application also relates to a device for generating the text guide, a text reader and an electronic device.
Background
Text-oriented graphs, i.e., structured text relational graphs, visually present structured information of text objects using nodes and branches. A node is a unit for displaying information in a text guide, and a node level refers to a branching order in which a specific node branches from a center node. For example, a 0 th level node refers to a central node, a 1 st level node refers to a node branched once from the central node, a 1 st level node refers to a node branched twice from the central node, and an n th level node refers to a node branched n times from the central node.
When reading articles and electronic books on electronic devices, users typically comb and reorganize structured information by picking up or drawing text guide diagrams (e.g., mind guide diagrams), thereby actually absorbing and grasping the structured information. As a method for visualizing thinking, the thinking guide graph uses graphics context and skill, the relation of each level of theme is represented by the mutual membership and the related hierarchy graph, and the memory link is established between the theme keywords and images, colors and the like. Mind map is an idea that uses one central keyword or idea to induce visualized construction and classification; it uses a central keyword or idea to connect all graphical modes representing words, ideas, tasks or other associated items in a radial line.
At present, when an article and an electronic book are read on an electronic device, important contents in the text of the article can be highlighted and marked, different colors can be selected when the article is marked, the marked contents are only distinguished from a visual level, and the marked colors are not hierarchically distinguished, so that the mark is less likely to be converted into a mind map, and a user is required to manually draw the mind map on paper, and more inconvenience is brought to the user reading on the electronic device.
Disclosure of Invention
The application provides a method for generating a text guide graph, which aims to solve the problem of inconvenient reading in the prior art. The application also relates to a device for generating the text guide, a text reader and an electronic device.
The application provides a method for generating a text guide, comprising the following steps:
acquiring at least one marked text contained in a text to be processed and marking information of the marked text, wherein the marking information comprises a marking title and a marking level;
determining the hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed;
and adding the marked text and the marked title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed.
In the implementation, the sequence of nodes in the same hierarchy in the hierarchy structure is determined based on the text sequence of marked texts corresponding to the nodes in the text to be processed.
In the implementation, the membership between the nodes of adjacent layers in the hierarchical structure is determined according to the marking level of marked texts corresponding to the nodes and the text sequence of the marked texts in the text to be processed.
In particular, the marking levels are distinguished by marking colors, each marking level corresponding to a different marking color.
In the implementation, the node color of the node in the text guide map is consistent with the marking color of the marking text corresponding to the node.
In specific implementation, the text guide is provided with a theme name, the theme name is determined according to a text title of the text to be processed, and/or the theme name is determined according to title information input by a user.
In particular, the method for generating a text guide is performed in a text reader capable of providing a labeling interface, wherein the labeling interface is provided with a plurality of label level selection buttons for selecting label levels, and a text input box for inputting label titles.
In specific implementation, the method for generating the text guide further comprises:
detecting a marking operation request which is input by a user aiming at least one marked text in the text to be processed and displayed on a text reader;
selecting marked text, and displaying an annotation interface on a text reader;
receiving a marking level selected by a user for the selected marked text and a marking title input for the selected marked text;
and displaying marked text on the text reader according to the marking color corresponding to the marking level.
In specific implementation, the method for generating the text guide further comprises:
displaying a conversion button for converting a text guide of the text to be processed on the text reader;
and receiving a trigger operation input by a user for the conversion button.
The application also provides a device for generating the text guide, which comprises:
a mark acquisition unit for acquiring at least one marked text contained in the text to be processed and mark information of the marked text, wherein the mark information comprises a mark title and a mark level;
the hierarchical structure determining unit is used for determining the hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed;
and the text guide diagram generating unit is used for adding the marked text and the marking title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed.
The application also provides a text reader capable of providing a labeling interface provided with a plurality of label level selection buttons for selecting label levels and a text input box for inputting label titles, and capable of executing the method for generating text guide.
The application also provides an electronic device comprising: a memory and a processor; the memory is for storing computer-executable instructions and the processor is for executing the following computer-executable instructions: acquiring at least one marked text contained in a text to be processed and marking information of the marked text, wherein the marking information comprises a marking title and a marking level; determining the hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed; and adding the marked text and the marked title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed.
The method for generating the text guide graph comprises the following steps: acquiring at least one marked text contained in a text to be processed and marking information of the marked text, wherein the marking information comprises a marking title and a marking level; determining the hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed; and adding the marked text and the marked title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed.
According to the method for generating the text guide, when the user marks the text content of the text to be processed, the user can mark the text content, input the mark title for the marked text content, determine the corresponding mark level for the marked text content, determine the hierarchical structure of the text to be processed comprising the marked text according to the mark level of the marked text content and the text sequence of the text to be processed, and finally add the marked text content and the mark title input by the user into the hierarchical structure to generate the text guide of the text to be processed, so that the user is helped to carry out structural carding on the text content, and real absorption and mastering are realized.
Drawings
FIG. 1 is a process flow diagram of one embodiment of a method for generating a text guide provided herein;
FIG. 2 is a schematic diagram of a first text to be processed provided herein;
FIG. 3 is a schematic diagram of a second text to be processed provided herein;
FIG. 4 is a schematic diagram of a third pending text provided herein;
FIG. 5 is a schematic illustration of a hierarchy provided herein;
FIG. 6 is a schematic diagram of a text guide provided herein;
FIG. 7 is a schematic diagram of an embodiment of an apparatus for generating text guides provided herein;
fig. 8 is a schematic diagram of an electronic device provided in the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other ways than those herein described and similar generalizations can be made by those skilled in the art without departing from the spirit of the application and the application is therefore not limited to the specific embodiments disclosed below.
The application provides a method for generating a text guide, and also provides a device for generating the text guide, a text reader and electronic equipment. The following detailed description, together with the drawings of the embodiments provided herein, respectively, describes the steps of the method one by one.
An embodiment of a method for generating a text guide provided in the present application is as follows:
referring to fig. 1, which shows a process flow diagram of an embodiment of a method for generating a text guide provided in the present application, referring to fig. 2, which shows a schematic diagram of a first type of text to be processed provided in the present application, referring to fig. 3, which shows a schematic diagram of a second type of text to be processed provided in the present application, referring to fig. 4, which shows a schematic diagram of a third type of text to be processed provided in the present application, referring to fig. 5, which shows a schematic diagram of a hierarchical structure provided in the present application, and referring to fig. 6, which shows a schematic diagram of a text guide provided in the present application.
Step S101, obtaining at least one marked text contained in the text to be processed and marking information of the marked text.
According to the method for generating the text guide graph, based on the implementation of the text reader, in the process that a user reads the articles and the electronic books through the text reader, the user can mark the contents of the articles and the electronic books and can grade the marked contents, so that the marked contents and marking information input by the user in the articles and the electronic books are converted into the text guide graph of the articles and the electronic books according to the corresponding hierarchical relationship on the basis of grading the marked contents of the texts, such as the thinking guide graph, the user is helped to carry out structural combing on the contents of the articles and the electronic books, and real absorption and mastering are realized.
It should be noted that, the text reader is not limited to being installed on electronic devices such as electronic book readers, smart phones, computers, and the like, but may be installed on other electronic devices capable of performing data interaction with the electronic devices or providing data computing services for the electronic devices, such as wearable devices carried by users. In practice possible application scenarios include:
(1) A user reads a text on a smart phone and a method for generating a text guide is realized on the smart phone;
(2) A user reads a text on an electronic book reader, marks the currently read text through a marking interface provided by the electronic book reader, marks the generated marked text, marking information of the marked text and marking level of the marked text are sent to wearable equipment carried by the user, a corresponding text guide diagram is generated on the wearable equipment according to the received marked text, the marking information of the marked text and the marking level of the marked text, and the generated text guide diagram is returned to the electronic book reader and displayed on the electronic book reader;
(3) The user reads the text on the smart phone or the electronic book reader, marks the text which is read currently through a marking interface provided by the smart phone or the electronic book reader, marks the marked text which is generated, marking information of the marked text and marking level of the marked text are sent to the server, a corresponding text guide diagram is generated on one side of the server according to the received marked text, the marking information of the marked text and the marking level of the marked text, and the generated text guide diagram is returned to the smart phone or the electronic book reader and displayed on the smart phone or the electronic book reader.
In the implementation, when a user detects that the user inputs a marking operation request to text content of a text to be processed displayed on a screen in the process of reading an article and an electronic book through a text reader, the text content which the user wants to mark is selected to become marked text in the text to be processed, and meanwhile, a marking interface is displayed on the text reader, for example, the marking interface can be displayed in a menu bar marking mode, the marking interface is provided with a marking level selection button for selecting marking levels, a text input box for inputting marking titles, and marking information of the marked text is formed by the marking levels selected by the marking level selection button and the marking titles input through the text input box.
In a preferred implementation manner provided in the embodiment of the present application, the marking levels may also be differentiated by marking colors, and each marking level corresponds to a different marking color. The user can select the marking level through the level selection button, and can input the corresponding marking title to the marked text through the text input box, and at the same time, after the user selects the marking level, the marked text is highlighted on the text reader according to the marking color corresponding to the current marking level.
For example, as shown in fig. 2, in the process of reading text on the text reader, if the user wants to make a key mark on the read text, the mark on the text can be triggered by long-pressing, double-clicking on a screen, etc., after the text mark is triggered, a mark menu bar is displayed on the text reader, and 5 mark level selection buttons for selecting mark levels are set in the mark menu bar: "first", "second", "third", "fourth" and "fifth", i.e.: is divided into 5 mark levels, and each mark level corresponds to a different color. The marking menu bar is also provided with a text input box: the text input box where the mark information is located is provided, and after the user inputs the mark title of the marked text in the text input box and clicks the right-side 'ok' button, the user can submit the mark title of the marked text. Similarly, after marking portions of text content in the manner described above, each marked text is highlighted on the text reader in the respective corresponding marking colors as shown in fig. 4.
After the marking of the text to be processed is triggered by the user, and after the text to be processed is marked, a conversion button for converting the text guide is preferably displayed on the text reader, and when the conversion button is triggered by the user, the operation of converting the text guide of the text to be processed is entered. The method comprises the steps of acquiring marked texts contained in a text to be processed and marking information of the marked texts, namely, the first step of converting the text to be processed into corresponding text guide diagrams after a conversion button is triggered by a user, determining all marked contents of the text to be processed, namely, the marked texts, and acquiring all marking information input by the user for the marked texts, namely, marking levels selected through a marking level selection button and marking titles input through a text input box, wherein the marking information and the marking information jointly form marking information of the marked texts.
As shown in fig. 3, the marked text selected by the user is "complex task structure processing", the user selects the "first-order" mark level selection button, that is, the mark level of the marked text is the first-order mark level, the selected marked text is highlighted as the mark color corresponding to the first-order mark level, and after the marking of the text and the marking of a plurality of parts of the text content are triggered, a conversion button "convert to text guide" for converting the text content into text guide is displayed in the bottom area of the text reader, and as shown in fig. 4, the user clicks the "convert to text guide" button and then enters the operation of converting the text content into text guide. After the text-to-map conversion button shown in fig. 4 is triggered by the user, an operation of converting the marked text and the marking information into the text-to-map is entered. Specifically, in the conversion process, all marked texts are firstly obtained, and the marking titles input by the user aiming at the marked texts and the marking levels selected by the user aiming at the marked texts are also obtained.
Step S102, determining the hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed.
The step S101 acquires all marked texts in the text to be processed, the marking title input by the user for the marked texts, and the marking level selected by the user for the marked texts, and determines the hierarchical structure of the text to be processed containing the marked texts according to the marking level selected by the user for the marked texts and the text sequence of the text to be processed.
In the embodiment of the application, the hierarchical structure is composed of at least one node, wherein the nodes are in one-to-one correspondence with marked texts contained in the text to be processed, and particularly when determining the hierarchical relation of each node in the hierarchical structure, the hierarchical structure is determined according to the marking level selected by the marked texts and the text sequence of the marked texts in the text to be processed, and for the sequence of the same hierarchical nodes in the hierarchical structure, the hierarchical structure is determined based on the text sequence of the marked texts corresponding to the nodes in the text to be processed; meanwhile, the membership between the nodes of adjacent layers in the hierarchical structure is determined according to the marking level of marked texts corresponding to the nodes and the text sequence of the marked texts in the text to be processed, and specifically comprises the following steps: for a certain marked text X, determining the marking level corresponding to the marked text X, then searching the marked text Y which is one level higher than the marking level forwards according to the text sequence, and stopping searching after searching, so that the node corresponding to the marked text X belongs to the node corresponding to the marked text Y.
For example, for the labeled text in the text shown in fig. 4, the determined hierarchy is shown in fig. 5, and the membership between nodes of adjacent levels in the hierarchy is represented by connecting lines between the nodes.
Step S103, adding the marked text and the marking title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed.
As described above, the hierarchical structure is composed of at least one node, wherein the nodes are in one-to-one correspondence with the marked text contained in the text to be processed, and after each node of the hierarchical structure is filled with the corresponding content, the hierarchical structure becomes a text guide, and it can be seen that the difference between the hierarchical structure of the text to be processed and the text guide is that: the hierarchical structure is used for reflecting the hierarchical relation that the text to be processed contains marked text, wherein the marked text and the marking title input by the user aiming at the marked text are not contained, the text guide is further added into the text to be processed and the marking title input by the user aiming at the marked text on the basis of the hierarchical structure, and the content marked by the user and the content input by the user in the text to be processed are reflected. In practical application, if the mark of the text to be processed can reflect the key point of the text to be processed, the finally generated text guide can reflect the core context extracted according to the text to be processed.
The step S102 determines that the text to be processed contains the hierarchical structure of the marked text according to the marking level selected by the user for the marked text and the text sequence of the text to be processed, and the step determines that the text to be processed contains the hierarchical structure of the marked text according to the step S102, adds the marked text and the marking title thereof into the corresponding node of the hierarchical structure, thereby obtaining the text guide of the text to be processed. For example, for the tagged text in the text shown in fig. 4, the determined hierarchical structure is shown in fig. 5, and after the tagged content of the text and the tag title input by the user for the tagged content are added to the hierarchical structure shown in fig. 5, the generated text guide is shown in fig. 6.
In specific implementation, the node color of the node in the text guide can be set to be consistent with the marking color of the marking text corresponding to the node. Preferably, the text guide is provided with a topic name, wherein the topic name can be determined according to the text title of the text to be processed, and as shown in fig. 6, a node corresponding to the topic name of the text guide is connected with a node corresponding to the marked text with the highest marking level through a node connecting line; the topic names of the text guide are consistent with the article titles of the text to be processed. In addition, the topic name of the text guide can be determined according to the title information input by the user, and the topic name of the text guide is customized by the user.
The above execution is further described by way of a complete example:
as shown in fig. 2, in the process of reading a text on a text reader, a user wants to perform key marking on the read text, marks the text by long-press, double-click screen and other modes, after the text mark is triggered, a mark menu bar is displayed on the text reader, and 5 mark level selection buttons for selecting mark levels are arranged in the mark menu bar: "first", "second", "third", "fourth" and "fifth", i.e.: is divided into 5 mark levels, and each mark level corresponds to a different color. The marking menu bar is also provided with a text input box: the text input box where the mark information is located is provided, and after the user inputs the mark title of the marked text in the text input box and clicks the right-side 'ok' button, the user can submit the mark title of the marked text.
As shown in fig. 3, the marked text selected by the user is "complex task structure processing", and the user selects the "first-level" mark level selection button, that is, the mark level of the marked text is the first-level mark level, so that the selected marked text is highlighted as the mark color corresponding to the first-level mark level; and after triggering the marking of the text and marking a plurality of parts of the text content, a conversion button 'convert to text guide' for converting the text content into text guide is displayed in the bottom area of the text reader, and as shown in fig. 4, the user clicks the 'convert to text guide' button and then enters the operation of converting the text content into text guide.
After the text-to-graph conversion button shown in fig. 4 is triggered by the user, the operation of converting the marked text and the marking information into the text-to-graph is entered:
firstly, acquiring all marked texts, marking titles input by a user aiming at the marked texts, and marking levels selected by the user aiming at the marked texts; secondly, according to the marking level of the marked text and the text sequence of the marked text in the text read by the user, the determined hierarchical structure of the marked text is shown as a figure 5, and the membership between the nodes of adjacent layers in the hierarchical structure is reflected by connecting lines between the nodes; finally, after the marked text and the mark title input by the user aiming at the marked text are added into the hierarchical structure shown in fig. 5, the generated text guide is shown in fig. 6, the node corresponding to the topic name of the text guide is connected with the node corresponding to the marked text with the highest mark level through the node connecting line, and the topic name of the text guide is consistent with the article title of the text read by the user.
In summary, when marking the text content of the text to be processed, the user can mark the text content, input a mark title for the marked text content, determine a corresponding mark level for the marked text content, determine a hierarchical structure of the text to be processed including the marked text according to the mark level of the marked text content and the text sequence of the text to be processed, and finally add the marked text content and the mark title input by the user into the hierarchical structure to generate the text guide of the text to be processed, thereby helping the user to structurally comb the text content and realize real absorption and grasp.
An embodiment of an apparatus for generating a text guide provided in the present application is as follows:
in the foregoing embodiments, a method for generating a text bitmap is provided, and correspondingly, an apparatus for generating a text bitmap is also provided herein, which is described below with reference to the accompanying drawings.
Referring to fig. 7, a schematic diagram of an embodiment of an apparatus for generating text guide is provided.
Since the apparatus embodiments are substantially similar to the method embodiments, the description is relatively simple, and reference should be made to the corresponding descriptions of the method embodiments provided above for relevant parts. The device embodiments described below are merely illustrative.
The application provides a device for generating a text guide, comprising:
a tag obtaining unit 701, configured to obtain at least one tagged text included in a text to be processed, and tag information of the tagged text, where the tag information includes a tag title and a tag level;
a hierarchical structure determining unit 702, configured to determine a hierarchical structure of marked text included in the text to be processed according to the marking level and the text sequence of the text to be processed;
the text map generating unit 703 is configured to add the marked text and the marking title thereof to a corresponding node of the hierarchical structure, and obtain a text map of the text to be processed.
In the implementation, the sequence of nodes in the same hierarchy in the hierarchy structure is determined based on the text sequence of marked texts corresponding to the nodes in the text to be processed.
In the implementation, the membership between the nodes of adjacent layers in the hierarchical structure is determined according to the marking level of marked texts corresponding to the nodes and the text sequence of the marked texts in the text to be processed.
In particular, the marking levels are distinguished by marking colors, each marking level corresponding to a different marking color.
In the implementation, the node color of the node in the text guide map is consistent with the marking color of the marking text corresponding to the node.
In specific implementation, the text guide is provided with a theme name, the theme name is determined according to a text title of the text to be processed, and/or the theme name is determined according to title information input by a user.
In particular, the means for generating a text guide operates in a text reader capable of providing a labeling interface, wherein the labeling interface is provided with a plurality of label level selection buttons for selecting label levels, and a text input box for inputting label titles.
In specific implementation, the device for generating the text guide further comprises: a marking operation request detection unit for detecting a marking operation request input by a user for at least one marked text in the text to be processed displayed on the text reader;
the marking interface display unit is used for selecting marked texts and displaying marking interfaces on the text reader;
a mark receiving unit for receiving a mark level selected by a user for the selected marked text and a mark title input for the selected marked text;
and the marked text display unit is used for displaying marked texts on the text reader according to the marking colors corresponding to the marking levels.
In specific implementation, the device for generating the text guide further comprises: a conversion button display unit for displaying a conversion button for converting a text guide of a text to be processed on the text reader;
and the trigger operation receiving unit is used for receiving trigger operation input by a user aiming at the conversion button.
An embodiment of a text reader provided in the present application is as follows:
in the above-mentioned embodiments, a method for generating a text guide is provided, and in addition, a carrier for executing the method for generating a text guide, that is, a text reader, is provided, and is described below with reference to the accompanying drawings. The text reader embodiments provided in the present application are described more simply, and relevant portions will be referred to the corresponding descriptions of the method embodiments for generating text guide provided above. The text reader embodiments described below are merely illustrative.
Referring to fig. 2, which shows a schematic view of a first type of text to be processed provided herein, referring to fig. 3, which shows a schematic view of a second type of text to be processed provided herein, referring to fig. 4, which shows a schematic view of a third type of text to be processed provided herein, referring to fig. 5, which shows a schematic view of a hierarchical structure provided herein, and referring to fig. 6, which shows a schematic view of a text guide provided herein.
It should be noted that, the text reader is not limited to be installed in electronic devices such as electronic book readers, smart phones, computers, etc. that can be used to read text, and may be installed in other electronic devices that can interact with or provide data computing services for the electronic devices, such as wearable devices carried by users. In practice possible application scenarios include:
a user reads a text on a smart phone and a method for generating a text guide is realized on the smart phone;
or, the user reads the text on the electronic book reader, marks the text read currently through a marking interface provided by the electronic book reader, marks the generated marked text, marking information of the marked text and marking level of the marked text are sent to wearable equipment carried by the user, a corresponding text guide diagram is generated on the wearable equipment according to the received marked text, marking information of the marked text and marking level of the marked text, and the generated text guide diagram is returned to the electronic book reader and displayed on the electronic book reader;
or the user reads the text on the smart phone or the electronic book reader, marks the text which is read currently through a marking interface provided by the smart phone or the electronic book reader, marks the marked text which is generated, marking information of the marked text and marking level of the marked text are sent to a server, a corresponding text guide diagram is generated on one side of the server according to the received marked text, the marking information of the marked text and the marking level of the marked text, and the generated text guide diagram is returned to the smart phone or the electronic book reader and displayed on the smart phone or the electronic book reader.
The application provides a text reader capable of providing a labeling interface provided with a plurality of labeling level selection buttons for selecting a labeling level, and a text input box for inputting a labeling title, and capable of performing the following operations: acquiring at least one marked text contained in a text to be processed and marking information of the marked text, wherein the marking information comprises a marking title and a marking level; determining the hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed; and adding the marked text and the marked title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed.
In the implementation, the sequence of nodes in the same hierarchy in the hierarchy structure is determined based on the text sequence of marked texts corresponding to the nodes in the text to be processed.
In the implementation, the membership between the nodes of adjacent layers in the hierarchical structure is determined according to the marking level of marked texts corresponding to the nodes and the text sequence of the marked texts in the text to be processed.
In particular, the marking levels are distinguished by marking colors, each marking level corresponding to a different marking color.
In the implementation, the node color of the node in the text guide map is consistent with the marking color of the marking text corresponding to the node.
In specific implementation, the text guide is provided with a theme name, the theme name is determined according to a text title of the text to be processed, and/or the theme name is determined according to title information input by a user.
In particular implementations, the text reader can also perform the following operations: detecting a marking operation request which is input by a user aiming at least one marked text in the text to be processed and displayed on a text reader; selecting marked text, and displaying an annotation interface on a text reader; receiving a marking level selected by a user for the selected marked text and a marking title input for the selected marked text; and displaying marked text on the text reader according to the marking color corresponding to the marking level.
In particular implementations, the text reader can also perform the following operations: displaying a conversion button for converting a text guide of the text to be processed on the text reader; and receiving a trigger operation input by a user for the conversion button.
An embodiment of an electronic device provided in the present application is as follows:
in the foregoing embodiments, a method for generating a text bitmap is provided, and in addition, an electronic device for implementing the method for generating a text bitmap is provided, which is described below with reference to the accompanying drawings.
Referring to fig. 8, a schematic diagram of an electronic device provided in this embodiment is shown.
The embodiments of the electronic device provided in the present application are described more simply, and relevant portions will be referred to the corresponding descriptions of the embodiments of the method for generating text guide provided above. The embodiments described below are merely illustrative.
The application provides an electronic device, comprising:
a memory 801 and a processor 802;
the memory 801 is for storing computer executable instructions and the processor 802 is for executing the following computer executable instructions:
acquiring at least one marked text contained in a text to be processed and marking information of the marked text, wherein the marking information comprises a marking title and a marking level; determining the hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed; and adding the marked text and the marked title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide diagram of the text to be processed.
In the implementation, the sequence of nodes in the same hierarchy in the hierarchy structure is determined based on the text sequence of marked texts corresponding to the nodes in the text to be processed.
In the implementation, the membership between the nodes of adjacent layers in the hierarchical structure is determined according to the marking level of marked texts corresponding to the nodes and the text sequence of the marked texts in the text to be processed.
In particular, the marking levels are distinguished by marking colors, each marking level corresponding to a different marking color.
In the implementation, the node color of the node in the text guide map is consistent with the marking color of the marking text corresponding to the node.
In specific implementation, the text guide is provided with a theme name, the theme name is determined according to a text title of the text to be processed, and/or the theme name is determined according to title information input by a user.
In particular implementations, the computer-executable instructions are executed in a text reader that is capable of providing a tagging interface, wherein the tagging interface is provided with a plurality of tagging level selection buttons for selecting tagging levels, and a text entry box for entering tagging titles.
In particular implementations, the processor 802 is also configured to execute the following computer-executable instructions: detecting a marking operation request which is input by a user aiming at least one marked text in the text to be processed and displayed on a text reader; selecting marked text, and displaying an annotation interface on a text reader;
receiving a marking level selected by a user for the selected marked text and a marking title input for the selected marked text; and displaying marked text on the text reader according to the marking color corresponding to the marking level.
In particular implementations, the processor 802 is also configured to execute the following computer-executable instructions: displaying a conversion button for converting a text guide of the text to be processed on the text reader; and receiving a trigger operation input by a user for the conversion button.
While the preferred embodiment has been described, it is not intended to limit the invention thereto, and any person skilled in the art may make variations and modifications without departing from the spirit and scope of the present invention, so that the scope of the present invention shall be defined by the claims of the present application.
In one typical configuration, a computing device includes one or more processors, input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Claims (10)

1. A method for generating a text guide, applied to a text reader, comprising:
acquiring at least one marked text contained in a text to be processed and marking information of the marked text, wherein the marking information comprises marking titles and marking levels, the marking levels are distinguished by marking colors, and each marking level corresponds to different marking colors;
determining a hierarchical structure of marked texts contained in the text to be processed according to the marking level and the text sequence of the text to be processed;
adding the marked text and the marking title thereof into the corresponding nodes of the hierarchical structure to obtain a text guide diagram of the text to be processed;
wherein the text reader is capable of providing an annotation interface, the method comprising:
detecting a marking operation request of a user for at least one marked text input in the text to be processed displayed on the text reader;
selecting the marked text and displaying the marking interface on the text reader;
receiving a marking level selected by a user for the marked text selected and a marking title entered for the marked text selected;
and displaying the marked text on the text reader according to the marking color corresponding to the marking level.
2. The method for generating a text-map according to claim 1, wherein the order of nodes of the same hierarchy in the hierarchy is determined based on the text order of marked text corresponding to the nodes in the text to be processed.
3. The method for generating a text guide according to claim 2, wherein membership between nodes of adjacent levels in the hierarchy is determined according to a marking level of marked text corresponding to the nodes and a text order of marked text in the text to be processed.
4. A method for generating a text guide according to claim 3, wherein a node color of a node in the text guide is consistent with a marking color of a marking text corresponding to the node.
5. The method for generating a text guide according to claim 4, wherein the text guide is provided with a topic name, the topic name being determined from a text title of the text to be processed and/or the topic name being determined from title information entered by a user.
6. A method for generating a text guide as claimed in any of claims 1 to 5, wherein the annotation interface is provided with a plurality of mark-level selection buttons for selecting mark levels, and a text entry box for entering mark titles.
7. The method for generating a text guide according to claim 1, wherein the method further comprises:
displaying a conversion button for converting the text guide of the text to be processed on the text reader;
and receiving triggering operation of a user for the conversion button input.
8. An apparatus for generating a text guide, comprising:
the marking acquisition unit is used for acquiring at least one marked text contained in the text to be processed and marking information of the marked text, wherein the marking information comprises marking titles and marking levels, the marking levels are distinguished by marking colors, and each marking level corresponds to different marking colors;
the hierarchical structure determining unit is used for determining the hierarchical structure of the marked text contained in the text to be processed according to the marking level and the text sequence of the text to be processed;
the text guide generating unit is used for adding the marked text and the marking title thereof into the corresponding nodes of the hierarchical structure to obtain the text guide of the text to be processed;
wherein the apparatus is capable of providing an annotation interface, the apparatus comprising:
detecting a marking operation request input by a user for at least one marked text in the texts to be processed displayed on the device;
selecting the marked text and displaying the marking interface on a text reader;
receiving a marking level selected by a user for the marked text selected and a marking title entered for the marked text selected;
and displaying the marked text on the text reader according to the marking color corresponding to the marking level.
9. A text reader capable of providing a labeling interface provided with a plurality of label level selection buttons for selecting label levels, and a text input box for inputting label titles, and of performing the method for generating a text guide as claimed in any of claims 1-7.
10. An electronic device, comprising:
a memory and a processor;
the memory is for storing computer-executable instructions for performing the method for generating a text guide of any of claims 1-7.
CN201810715087.9A 2018-07-03 2018-07-03 Method and device for generating text guide Active CN110737782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810715087.9A CN110737782B (en) 2018-07-03 2018-07-03 Method and device for generating text guide

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810715087.9A CN110737782B (en) 2018-07-03 2018-07-03 Method and device for generating text guide

Publications (2)

Publication Number Publication Date
CN110737782A CN110737782A (en) 2020-01-31
CN110737782B true CN110737782B (en) 2023-05-09

Family

ID=69234145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810715087.9A Active CN110737782B (en) 2018-07-03 2018-07-03 Method and device for generating text guide

Country Status (1)

Country Link
CN (1) CN110737782B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064865A (en) * 2021-04-19 2021-07-02 深圳大学 Node information identification method and device based on file thinking guide graph and related equipment
CN113611183A (en) * 2021-08-24 2021-11-05 中国石油大学胜利学院 Reading software system for training and improving reading ability
CN115858824B (en) * 2023-02-28 2023-05-09 北京朗知网络传媒科技股份有限公司 Intelligent generation method and device for interactive digital media articles

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7539940B2 (en) * 2002-10-09 2009-05-26 Microsoft Corporation System and method for converting between text formatting or markup language formatting and outline structure
JP2010165272A (en) * 2009-01-19 2010-07-29 Sony Corp Information processing method, information processor and program
US20140250355A1 (en) * 2013-03-04 2014-09-04 The Cutting Corporation Time-synchronized, talking ebooks and readers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Deckmond ; .思维导图 让做笔记也别样精彩.电脑爱好者.2012,(16),第44-45. *

Also Published As

Publication number Publication date
CN110737782A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US9348946B2 (en) Interface and method for exploring a collection of data
Broll et al. Perci: Pervasive service interaction with the internet of things
US9210234B2 (en) Enabling electronic documents for limited-capability computing devices
US7640511B1 (en) Methods and apparatus for managing and inferring relationships from information objects
CN102929609B (en) Method and system for interactive visualization of multiple software functionality content items
US10394936B2 (en) Viewing hierarchical document summaries using tag clouds
CN110737782B (en) Method and device for generating text guide
De Liddo et al. Cohere: A prototype for contested collective intelligence
CN101689190A (en) A method, system and computer program for intelligent text annotation
WO2017205036A1 (en) Task completion using world knowledge
Hyvönen et al. CultureSampo—Finnish culture on the Semantic Web 2.0. Thematic perspectives for the end-user
CN103760991A (en) Physical input method and physical input device
Hyvönen et al. Culturesampo: A national publication system of cultural heritage on the semantic web 2.0
CN105335423A (en) Collecting and processing method and apparatus for user feedbacks of webpage
Chen et al. Messageontap: a suggestive interface to facilitate messaging-related tasks
CN106201859A (en) A kind of regression testing method and system
Engel et al. Exploiting HCI pattern collections for user interface generation
CN102289835A (en) Micro-animation effect checking method and device
JP5271920B2 (en) Using structured data for online searching
Henzen et al. Provenance information in geodata infrastructures
JP2786194B2 (en) Information retrieval apparatus and information retrieval method
TW201523421A (en) Determining images of article for extraction
CN111427760A (en) Page testing method, device, equipment and storage medium
CN104035933A (en) Method and system for subscribing to reading source
Oellinger et al. Ontology based modeling and visualization of social networks for the web

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40021658

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant