CN106095270B - Method for displaying key sentences and determining mark range, terminal device and server - Google Patents

Method for displaying key sentences and determining mark range, terminal device and server Download PDF

Info

Publication number
CN106095270B
CN106095270B CN201610389460.7A CN201610389460A CN106095270B CN 106095270 B CN106095270 B CN 106095270B CN 201610389460 A CN201610389460 A CN 201610389460A CN 106095270 B CN106095270 B CN 106095270B
Authority
CN
China
Prior art keywords
sentence
sentences
key
request
server
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
CN201610389460.7A
Other languages
Chinese (zh)
Other versions
CN106095270A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610389460.7A priority Critical patent/CN106095270B/en
Publication of CN106095270A publication Critical patent/CN106095270A/en
Application granted granted Critical
Publication of CN106095270B publication Critical patent/CN106095270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for displaying key sentences and determining a marking range, a terminal device and a server, which can obtain the key sentences according to the existing reader note information, thereby not only avoiding the problem of making the key sentences by depending on professional persons, but also reducing the workload, and simultaneously avoiding the problem that the key sentences can not be adjusted and judged according to the reading condition of the reader; in addition, when the reader marks the key sentence, the needed marking content can be dynamically adjusted. The method for displaying the key sentences comprises the following steps of sequentially executing by a terminal device: generating a request for acquiring key sentences of the current page according to the current page of the displayed document, and sending the request to a server; and receiving the key sentences returned by the server and then displaying the key sentences.

Description

Method for displaying key sentences and determining mark range, terminal device and server
Technical Field
The invention relates to the technical field of computers and software thereof, in particular to a method for displaying key sentences and determining marking range, a terminal device and a server.
Background
Along with the pace of modern life becoming faster and faster, the efficiency of reading electronic books by readers is also becoming higher and higher, if the reading application can mark out key sentences when reading electronic books, the reading application can greatly help to improve the reading efficiency of readers; in addition, the reader usually marks the punctuation sentences by operations such as line drawing during reading, and since the finger size of each person is different, the reader is likely to draw inaccurately during the line drawing operation, especially at the beginning and end of the paragraph, which is more difficult.
In the existing technical scheme, a mode of making key sentences in advance is usually adopted, and the key points are marked out in advance by professional people, so that when a user reads a book, a prompt of the key sentences of the user is given. In the prior art, the marked key sentences are directly stored in the electronic book, that is, when the electronic book file is made, the key sentences are displayed in a red marking or bold adding mode. On the other hand, when the reader marks key sentences, in the prior art, the positions of the user sliding operation are captured, and the drawn places are displayed by using a magnifying glass in the finger sliding process so as to remind the user of the position of the line drawing.
However, the following problems still exist in the prior art: for the manufacture of the key sentences, the judgment of the content by professionals is mainly relied on, and due to possible knowledge limitation, the books with key lines can be manufactured in advance by cooperation of professionals in many industries, the workload is high, and the key sentences cannot be adjusted and judged according to the reading condition of readers, so the accuracy and the timeliness of the key sentences are slightly poor; and the reader cannot dynamically adjust the needed scribing content when marking the key sentence.
Disclosure of Invention
In view of this, the invention provides a method for displaying key sentences and determining a marking range, a terminal device and a server, which can obtain key sentences according to the existing reader's note information, thereby not only avoiding the problem of making key sentences by depending on professionals, but also reducing the workload, and simultaneously avoiding the problem that the key sentences can not be adjusted and judged according to the reading condition of the reader; in addition, when the reader marks the key sentence, the needed marking content can be dynamically adjusted.
To achieve the above object, according to a first aspect of the present invention, there is provided a method of presenting an emphasized sentence.
The method for displaying the key sentences comprises the following steps of sequentially executing by a terminal device: generating a request for acquiring key sentences of the current page according to the current page of the displayed document, and sending the request to a server; and receiving the key sentences returned by the server and then displaying the key sentences.
According to a second aspect of the present invention, there is provided a terminal device for displaying an emphasized sentence.
The terminal device for displaying the key sentences comprises: the acquisition module is used for generating a request for acquiring key sentences of the current page according to the current page of the displayed document and sending the request to the server; and the display module is used for receiving the key sentences returned by the server and then displaying the key sentences.
According to a third aspect of the present invention, a method of determining a marker range is provided.
The method for determining the marker range of the present invention comprises the following steps sequentially executed by a terminal device: after a preset operation event is monitored, determining paragraphs and sentences of a document where an operation position is located when the operation event occurs; generating a request for acquiring the key sentences in the paragraphs and sending the request to a server; and receiving the key sentences in the paragraphs returned by the server, and determining the marking range by combining the sentences to which the operation events belong.
Optionally, the step of determining the paragraph and sentence of the document where the operation position when the operation event occurs is located includes: acquiring coordinates of an operation event; acquiring coordinates of the starting position and the ending position of each paragraph and sentence in the document where the position is when the operation event occurs; and comparing the coordinate position of the operation event with the coordinates of the starting position and the ending position of each paragraph and each sentence, thereby determining the document paragraph and the sentence where the operation event is positioned.
Optionally, the step of determining a tag range in combination with the sentence to which the operation event belongs includes: judging whether a key sentence returned by the server device is empty, and if so, determining the paragraph as a marking range; otherwise, the sentence is determined as a mark range, and the sentence adjacent to the sentence included in the key sentence is determined as the mark range.
Optionally, after the step of determining the marker range in combination with the sentence to which the operation event belongs, the method further includes: and marking the marking range by adopting a preset marking mode, and sending the marking range to a server as note information.
According to a fourth aspect of the present invention, there is provided a terminal apparatus for determining a marker range.
The terminal apparatus for determining a memory range of the present invention includes: the monitoring module is used for determining paragraphs and sentences of a document where an operation position is located when a preset operation event occurs after the preset operation event is monitored; the generation module is used for generating a request for acquiring the key sentences in the paragraphs and sending the request to a server; and the determining module is used for receiving the key sentences in the paragraphs returned by the server and determining the marking range by combining the sentences to which the operation events belong.
Optionally, the monitoring module is further configured to obtain coordinates of an occurrence of an operation event, obtain coordinates of a start position and an end position of each paragraph and sentence in a document where the position of the occurrence of the operation event is located, and compare the coordinate position of the operation event with the coordinates of the start position and the end position of each paragraph and sentence, so as to determine the paragraph and the sentence of the document where the position of the operation event is located.
Optionally, the determining module is further configured to determine whether a key sentence returned by the server device is empty, and if yes, determine the paragraph as a mark range; otherwise, the sentence is determined as a mark range, and the sentence adjacent to the sentence included in the key sentence is determined as the mark range.
Optionally, the system further comprises a marking module, configured to mark the marking range in a preset marking manner, and send the marking range to a server as note information.
According to a fifth aspect of the present invention, there is provided a method of providing an accent sentence.
The method for providing the key sentences is characterized by comprising the following steps: the server stores note information of a plurality of documents; the method comprises the steps that a server receives a request for acquiring key sentences sent by terminal equipment, and determines note information of corresponding document content according to the request; the request for acquiring the key sentences comprises a request for acquiring key sentences of the current page and a request for acquiring key sentences in the paragraph; and the server determines the key sentences corresponding to the request according to the note information of the document content and returns the key sentences to the terminal equipment.
Optionally, the step of determining note information of the corresponding document content according to the request includes: carrying out sentence breaking on the document content corresponding to the request according to the set punctuation marks to obtain a sentence list of the document content; reading note information of sentences contained in the sentence list.
Optionally, the step of the server device determining the focus sentence corresponding to the request instruction according to the note information of the document content includes: counting the number of notes of each sentence, and determining the sentences the number of which is not less than a first preset threshold value; calculating the note occupation ratio of each sentence in the sentences reaching the first preset threshold value; the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes; and taking the sentences of which the note occupation ratio is not less than a second preset threshold value as key sentences.
According to a sixth aspect of the present invention, there is provided a server for providing an emphasized sentence.
The server for providing the key sentence according to the present invention is characterized by comprising: the storage module is used for storing note information of a plurality of documents; the receiving module is used for receiving a request for acquiring key sentences sent by the terminal equipment and determining note information of corresponding document contents according to the request; the request for acquiring the key sentences comprises a request for acquiring key sentences of the current page and a request for acquiring key sentences in the paragraph; and the return module is used for determining the key sentences corresponding to the request according to the note information of the document content and returning the key sentences to the terminal equipment.
Optionally, the receiving module is further configured to segment the document content corresponding to the request according to the set punctuation marks to obtain a sentence list of the document content, and then read note information of sentences included in the sentence list.
Optionally, the returning module is further configured to count the number of notes of each sentence, determine the sentences of which the number of notes is not less than a first preset threshold, then calculate a note occupation ratio of each sentence in the sentences reaching the first preset threshold, and then take the sentences of which the note occupation ratio is not less than a second preset threshold as key sentences; the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes.
According to the technical scheme of the invention, the key sentences can be obtained according to the existing reader's note information, so that the problem of making key sentences by depending on professionals is avoided, the workload is reduced, and the problem that the key sentences can not be adjusted and judged according to the reading condition of the reader is also avoided; in addition, when the reader marks the key sentence, the needed marking content can be dynamically adjusted.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a diagram of a method of presenting an emphasized statement according to an embodiment of the invention;
FIG. 2 is a diagram of a terminal device for displaying an emphasized sentence according to an embodiment of the present invention;
FIG. 3 is a schematic illustration of a method of determining a marker range according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal device for determining a marker range according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a method of providing an emphasized sentence according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a server for providing an emphasized sentence according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a method for showing an emphasized sentence according to an embodiment of the present invention. As shown in fig. 1, the method for displaying an emphasized sentence according to the embodiment of the present invention mainly includes the following steps S10 and S11.
Step S10: and generating a request for acquiring the key sentence of the current page according to the current page of the displayed document, and sending the request to the server. In the step, when a reader opens an electronic document to read through a reading application program of a terminal device, the reading application program generates a request for acquiring key sentences of a current page of a displayed document according to the currently displayed document, and then sends the generated request to a server; the mentioned terminal device may be a mobile phone or other device capable of reading.
Step S11: and receiving the key sentences returned by the server and then displaying the key sentences. After receiving the request sent by the reading application program in the step S10, the server calculates the key sentence of the current page of the displayed document according to the request, returns the key sentence to the reading application program in the terminal device after obtaining the key sentence by calculation, and then displays the reading application program according to a preset mode; the setting modes comprise the modes of thickening, marking red and other display modes for reminding readers.
Fig. 2 is a schematic diagram of a terminal device displaying an emphasized sentence according to an embodiment of the present invention. As shown in fig. 2, the terminal device 20 for displaying the key sentences according to the embodiment of the present invention mainly includes an obtaining module 21 and a displaying module 22; the obtaining module 21 is configured to generate a request for obtaining a key sentence of a current page according to the current page of the displayed document, and send the request to the server; the display module 22 is used for receiving the key sentences returned by the server and then displaying the key sentences.
FIG. 3 is a schematic diagram of a method of determining a marker range according to an embodiment of the invention. As shown in fig. 3, the method for determining the mark range according to the embodiment of the present invention mainly includes the following steps S30 to S32.
Step S30: after the occurrence of a preset operation event is monitored, determining paragraphs and sentences of a document where an operation position is located when the operation event occurs. In this step, when a reader opens an electronic document to read through a reading application of a terminal device, the reader sometimes needs to mark a sentence in the document (line drawing operation), if the reading application monitors that the reader triggers a preset operation event (the preset operation time mentioned here may be a certain point of a screen of the terminal device), the reading application acquires coordinates of an operation position when the operation event occurs and coordinates of a start position and an end position of each paragraph and sentence in the document where the operation event occurs, and then determines the document paragraph and the sentence where the operation event position exists by comparing the coordinate position of the operation event with the coordinates of the start position and the end position of each paragraph and sentence.
Step S31: and generating a request for acquiring the key sentences in the paragraphs and sending the request to a server. After the paragraph and sentence where the operation event occurs are determined in step S30, a request for requesting a key sentence in the paragraph where the operation event occurs is generated, and the generated request is sent to the server.
Step S32: and receiving the key sentences in the paragraphs returned by the server, and determining the marking range by combining the sentences to which the operation events belong. In the step, when the server receives a request of requesting a key sentence in a paragraph sent by an application program in the terminal equipment, the server calculates the key sentence in the paragraph according to the received request, and then returns the calculated key sentence to a reading application program in the terminal equipment; the reading application program judges whether the key sentence returned by the server device is empty, and if the key sentence returned by the server device is empty, the paragraph in which the preset operation time occurs is determined as a marking range; otherwise, determining the sentence where the preset operation event occurs as a marking range, determining sentences adjacent to the sentence included in the key sentence as the marking range (the adjacent sentences refer to a previous sentence and a next sentence of the sentence), marking the marking range by adopting a preset marking mode (such as adding underlines) after determining the marking range, and sending the marking range to the server as note information.
Fig. 4 is a schematic diagram of a terminal device for determining a mark range according to an embodiment of the present invention. As shown in fig. 4, the terminal device 40 for determining a marker range according to the embodiment of the present invention mainly includes a monitoring module 41, a generating module 42, and a determining module 43; the monitoring module 41 is configured to determine, after monitoring that a preset operation event occurs, a paragraph and a sentence of a document where an operation position when the operation event occurs is located; the generating module 42 is configured to generate a request for obtaining the key statements in the paragraph, and send the request to the server; the determining module 43 is configured to receive the key sentences in the paragraphs returned by the server, and determine the marker ranges by combining the sentences to which the operation events belong.
The monitoring module 41 of the terminal device 40 for determining the marking range according to the embodiment of the present invention may further be configured to obtain coordinates of an occurrence of an operation event, and coordinates of a start position and an end position of each paragraph and sentence in a document where a position of the occurrence of the operation event is located, and then compare the coordinate position of the operation event with the coordinates of the start position and the end position of each paragraph and sentence, thereby determining the paragraph and the sentence of the document where the position of the operation event is located.
The determining module 43 of the terminal device 40 for determining the marking range according to the embodiment of the present invention may be further configured to determine whether the key sentence returned by the server device is empty, and if yes, determine the paragraph as the marking range; otherwise, the sentence is determined as a mark range, and the sentence adjacent to the sentence included in the key sentence is determined as the mark range.
The terminal device 40 for determining the marking range according to the embodiment of the present invention may further include a marking module (not shown in the figure) for marking the marking range in a preset marking manner and sending the marking range to the server as the note information.
Fig. 5 is a schematic diagram of a method of providing an emphasized sentence according to an embodiment of the present invention. As shown in fig. 5, the method for providing an emphasized sentence according to the embodiment of the present invention mainly includes the following steps S50 to S52.
Step S50: the server stores note information for a plurality of documents. In this step, because different readers will note the sentences in the document when reading the same document, or mark the important sentences by means of marking and the like, marking the same sentence by different readers will be recorded in the server as the note information of the sentence, so that updating of the important sentences in the document can be realized, and the problem that the important sentences in the prior art cannot be adjusted according to the reading condition of the readers is avoided.
Step S51: the server receives a request for acquiring the key sentences sent by the terminal equipment, and determines note information of corresponding document content according to the request. In this step, the request for obtaining the focus statement includes a request for obtaining the focus statement of the current page and a request for obtaining the focus statement in the paragraph; the server breaks the sentence of the document content corresponding to the request according to the set punctuation marks (the set punctuation marks can be periods, exclamation marks, question marks and the like, and if no punctuation mark exists in the last part of a paragraph, the punctuation marks are also used as a single sentence) to obtain a sentence list of the document content, and then reads note information of the sentences contained in the sentence list; counting the number of notes of each sentence after obtaining note information of the contained sentences, determining the sentences the number of which is not less than a first preset threshold, calculating the note occupation ratio of each sentence in the sentences reaching the first preset threshold, and taking the sentences the note occupation ratio of which is not less than a second preset threshold as key sentences; wherein, the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes; the first preset threshold may be self-defined, and default to 5 strips.
Step S52: and the server determines the key sentences corresponding to the request according to the note information of the document content and returns the key sentences to the terminal equipment. After the step S51 calculates the key sentence corresponding to the request, the server returns the key sentence to the terminal device for the terminal device to display.
Fig. 6 is a schematic diagram of a server for providing an emphasized sentence according to an embodiment of the present invention. As shown in fig. 6, the server 60 for providing the key sentence according to the embodiment of the present invention mainly includes a saving module 61, a receiving module 62, and a returning module 63; the saving module 61 is used for saving note information of a plurality of documents; the receiving module 62 is configured to receive a request sent by a terminal device for obtaining a key sentence, and determine note information of corresponding document content according to the request; the request for acquiring the key sentences comprises a request for acquiring key sentences of the current page and a request for acquiring key sentences in the paragraph; the returning module 63 is configured to determine an emphasized statement corresponding to the request according to the note information of the document content, and return the emphasized statement to the terminal device.
The receiving module 62 of the server 60 for providing a key sentence according to the embodiment of the present invention may be further configured to perform sentence breaking on the document content corresponding to the request according to the set punctuation marks to obtain a sentence list of the document content, and then read note information of sentences included in the sentence list.
The returning module 63 of the server 60 for providing the key sentences in the embodiment of the present invention may also be configured to count the number of notes in each sentence, determine the sentences in which the number of notes is not less than the first preset threshold, then calculate the note occupation ratio of each sentence in the sentences reaching the first preset threshold, and then take the sentences in which the note occupation ratio is not less than the second preset threshold as the key sentences; the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes.
According to the technical scheme of the embodiment of the invention, the key sentences can be obtained according to the existing reader's note information, so that the problem of making key sentences by depending on professionals is avoided, the workload is reduced, and the problem that the key sentences can not be adjusted and judged according to the reading condition of the reader is also avoided; in addition, when the reader marks the key sentence, the needed marking content can be dynamically adjusted.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method of determining a marker range, comprising the steps of, in order by a terminal device:
after a preset operation event is monitored, determining paragraphs and sentences of a document where an operation position is located when the operation event occurs;
generating a request for acquiring the key sentences in the paragraphs and sending the request to a server; the method comprises the steps that a server receives a request for acquiring key sentences sent by a terminal device, and determines note information of corresponding document content according to the request; the server determines a key sentence corresponding to the request according to the note information of the document content and returns the key sentence to the terminal equipment;
wherein the step of the server determining the key sentence corresponding to the request according to the note information of the document content comprises:
counting the number of notes of each sentence, and determining the sentences the number of which is not less than a first preset threshold value;
calculating the note occupation ratio of each sentence in the sentences reaching the first preset threshold value; the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes;
taking sentences of which the note occupation ratio is not less than a second preset threshold value as key sentences;
and receiving the key sentences in the paragraphs returned by the server, and determining the marking range by combining the sentences to which the operation events belong.
2. The method of claim 1, wherein the step of determining the paragraph and sentence of the document where the operation position of the operation event occurs comprises:
acquiring coordinates of an operation event;
acquiring coordinates of the starting position and the ending position of each paragraph and sentence in the document where the position is when the operation event occurs;
and comparing the coordinate position of the operation event with the coordinates of the starting position and the ending position of each paragraph and each sentence, thereby determining the document paragraph and the sentence where the operation event is positioned.
3. The method according to claim 1, wherein the step of determining a marker range in conjunction with the sentence to which the operation event belongs comprises:
judging whether a key sentence returned by the server device is empty, and if so, determining the paragraph as a marking range; otherwise, the sentence is determined as a mark range, and the sentence adjacent to the sentence included in the key sentence is determined as the mark range.
4. The method according to claim 1, wherein after the step of determining the marker range in conjunction with the sentence to which the operation event belongs, the method further comprises: and marking the marking range by adopting a preset marking mode, and sending the marking range to a server as note information.
5. A terminal apparatus for determining a marker range, comprising:
the monitoring module is used for determining paragraphs and sentences of a document where an operation position is located when a preset operation event occurs after the preset operation event is monitored;
the generation module is used for generating a request for acquiring the key sentences in the paragraphs and sending the request to a server; the method comprises the steps that a server receives a request for acquiring key sentences sent by a terminal device, and determines note information of corresponding document content according to the request; the server determines a key sentence corresponding to the request according to the note information of the document content and returns the key sentence to the terminal equipment;
wherein the step of the server determining the key sentence corresponding to the request according to the note information of the document content comprises:
counting the number of notes of each sentence, and determining the sentences the number of which is not less than a first preset threshold value;
calculating the note occupation ratio of each sentence in the sentences reaching the first preset threshold value; the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes;
taking sentences of which the note occupation ratio is not less than a second preset threshold value as key sentences;
and the determining module is used for receiving the key sentences in the paragraphs returned by the server and determining the marking range by combining the sentences to which the operation events belong.
6. The apparatus according to claim 5, wherein the monitoring module is further configured to obtain coordinates of an occurrence of an operation event, and obtain coordinates of a start position and an end position of each paragraph and sentence in the document where the position of the occurrence of the operation event is located, and then compare the coordinate position of the operation event with the coordinates of the start position and the end position of each paragraph and sentence, thereby determining the paragraph and the sentence in the document where the position of the operation event is located.
7. The apparatus according to claim 5, wherein the determining module is further configured to determine whether the key sentence returned by the server apparatus is empty, and if so, determine the paragraph as a mark range; otherwise, the sentence is determined as a mark range, and the sentence adjacent to the sentence included in the key sentence is determined as the mark range.
8. The device of claim 5, further comprising a marking module, configured to mark the marking range in a preset marking manner, and send the marking range to a server as note information.
9. A method of providing focused sentences, comprising:
the server stores note information of a plurality of documents;
the method comprises the steps that a server receives a request for acquiring key sentences sent by terminal equipment, and determines note information of corresponding document content according to the request; the request for acquiring the key sentences comprises a request for acquiring key sentences of the current page and a request for acquiring key sentences in the paragraph;
the server determines a key sentence corresponding to the request according to the note information of the document content and returns the key sentence to the terminal equipment; wherein
The step that the server determines the key sentence corresponding to the request instruction according to the note information of the document content comprises the following steps:
counting the number of notes of each sentence, and determining the sentences the number of which is not less than a first preset threshold value;
calculating the note occupation ratio of each sentence in the sentences reaching the first preset threshold value; the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes;
and taking the sentences of which the note occupation ratio is not less than a second preset threshold value as key sentences.
10. The method of claim 9, wherein determining note information for the corresponding document content based on the request comprises:
carrying out sentence breaking on the document content corresponding to the request according to the set punctuation marks to obtain a sentence list of the document content;
reading note information of sentences contained in the sentence list.
11. A server for providing focused sentences, comprising:
the storage module is used for storing note information of a plurality of documents;
the receiving module is used for receiving a request for acquiring key sentences sent by the terminal equipment and determining note information of corresponding document contents according to the request; the request for acquiring the key sentences comprises a request for acquiring key sentences of the current page and a request for acquiring key sentences in the paragraph;
a returning module, configured to determine a key sentence corresponding to the request according to note information of the document content, and return the key sentence to the terminal device;
the returning module is further used for counting the number of notes of each sentence, determining the sentences the number of which is not less than a first preset threshold, then calculating the note occupation ratio of each sentence in the sentences reaching the first preset threshold, and then taking the sentences the note occupation ratio of which is not less than a second preset threshold as key sentences; the note occupation ratio is the ratio of the number of notes in the sentence to the total number of notes.
12. The server according to claim 11, wherein the receiving module is further configured to perform sentence segmentation on the document content corresponding to the request according to the set punctuation marks to obtain a sentence list of the document content, and then read note information of sentences included in the sentence list.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
14. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201610389460.7A 2016-06-06 2016-06-06 Method for displaying key sentences and determining mark range, terminal device and server Active CN106095270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610389460.7A CN106095270B (en) 2016-06-06 2016-06-06 Method for displaying key sentences and determining mark range, terminal device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610389460.7A CN106095270B (en) 2016-06-06 2016-06-06 Method for displaying key sentences and determining mark range, terminal device and server

Publications (2)

Publication Number Publication Date
CN106095270A CN106095270A (en) 2016-11-09
CN106095270B true CN106095270B (en) 2020-05-01

Family

ID=57447178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610389460.7A Active CN106095270B (en) 2016-06-06 2016-06-06 Method for displaying key sentences and determining mark range, terminal device and server

Country Status (1)

Country Link
CN (1) CN106095270B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020700A (en) * 2018-12-04 2020-12-01 谷歌有限责任公司 Context-aware friendly text views
CN111324723B (en) * 2018-12-13 2023-04-25 阿里巴巴集团控股有限公司 Sentence selection method, sentence display method, related device and computing equipment
CN110147542A (en) * 2019-05-23 2019-08-20 联想(北京)有限公司 A kind of information processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425086A (en) * 2008-09-16 2009-05-06 网易有道信息技术(北京)有限公司 Dictionary enquiry method and dictionary enquiry system based on network
CN102622400A (en) * 2012-01-09 2012-08-01 华为技术有限公司 Electronic-book extended reading mark generating method and relevant equipment
CN103180806A (en) * 2010-10-26 2013-06-26 富士胶片株式会社 Portable display device, operation control method therefor, and program therefor
TW201415402A (en) * 2012-10-09 2014-04-16 Ubic Inc Forensic system, forensic method, and forensic program
CN103999069A (en) * 2011-10-10 2014-08-20 S·K·麦卓 E-book reader with overlays
CN105009054A (en) * 2012-10-17 2015-10-28 谷歌公司 Sharing online with granularity

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150104763A1 (en) * 2013-10-15 2015-04-16 Apollo Group, Inc. Teaching students to recognize and correct sentence fragments

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425086A (en) * 2008-09-16 2009-05-06 网易有道信息技术(北京)有限公司 Dictionary enquiry method and dictionary enquiry system based on network
CN103180806A (en) * 2010-10-26 2013-06-26 富士胶片株式会社 Portable display device, operation control method therefor, and program therefor
CN103999069A (en) * 2011-10-10 2014-08-20 S·K·麦卓 E-book reader with overlays
CN102622400A (en) * 2012-01-09 2012-08-01 华为技术有限公司 Electronic-book extended reading mark generating method and relevant equipment
TW201415402A (en) * 2012-10-09 2014-04-16 Ubic Inc Forensic system, forensic method, and forensic program
CN105009054A (en) * 2012-10-17 2015-10-28 谷歌公司 Sharing online with granularity

Also Published As

Publication number Publication date
CN106095270A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
US11113464B2 (en) Synchronizing data-entry fields with corresponding image regions
CN106095270B (en) Method for displaying key sentences and determining mark range, terminal device and server
US11392756B2 (en) Systems and methods to improve a technological process for signing documents
US20140006941A1 (en) Method, system and computer program product for editing a displayed rendering of symbols
US9030500B2 (en) Object sharing system and non-transitory computer readable medium storing object input assistance program
US10152472B2 (en) Apparatus and method for generating summary data of E-book or E-note
JPWO2014162604A1 (en) Electronic device and handwritten data processing method
US20150098653A1 (en) Method, electronic device and storage medium
US9927971B2 (en) Electronic apparatus, method and storage medium for generating chart object
CN106776527B (en) Electronic book data display method and device and terminal equipment
CN113821146A (en) Global annotation method and device, terminal device and storage medium
KR101399401B1 (en) Electronic signature system and method using touch screen device
JP2016085547A (en) Electronic apparatus and method
CN107861931B (en) Template file processing method and device, computer equipment and storage medium
US9805245B2 (en) Image resolution recognition device, method for recognizing image resolution and image resolution recognition program
US9395837B2 (en) Management of data in an electronic device
EP3118731A1 (en) Method and electronic device for inputting character
CN115563255A (en) Method and device for processing dialog text, electronic equipment and storage medium
US9697422B2 (en) Electronic device, handwritten document search method and storage medium
CN112988012A (en) Image display method, device, equipment and storage medium
JP6373664B2 (en) Electronic device, method and program
CN104268119A (en) Mathematical formula calculator including touch screen and method for inputting mathematical formulas
JPWO2016031016A1 (en) Electronic device, method and program
JP2014044726A (en) Method and device for optimizing handwriting input system
CN114442897B (en) Text processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant