CN109543174B - Text selection method, text selection device, computer readable storage medium and computer equipment - Google Patents

Text selection method, text selection device, computer readable storage medium and computer equipment Download PDF

Info

Publication number
CN109543174B
CN109543174B CN201710862068.4A CN201710862068A CN109543174B CN 109543174 B CN109543174 B CN 109543174B CN 201710862068 A CN201710862068 A CN 201710862068A CN 109543174 B CN109543174 B CN 109543174B
Authority
CN
China
Prior art keywords
sequence
word
target
words
selector
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
CN201710862068.4A
Other languages
Chinese (zh)
Other versions
CN109543174A (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.)
Guangzhou Tencent Technology Co Ltd
Original Assignee
Guangzhou Tencent 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 Guangzhou Tencent Technology Co Ltd filed Critical Guangzhou Tencent Technology Co Ltd
Priority to CN201710862068.4A priority Critical patent/CN109543174B/en
Publication of CN109543174A publication Critical patent/CN109543174A/en
Application granted granted Critical
Publication of CN109543174B publication Critical patent/CN109543174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

The application relates to a text selection method, a text selection device, a computer readable storage medium and a computer device, wherein the method comprises the following steps: determining a target character sequence; word segmentation is carried out on the target character sequence so as to convert the target character sequence into a target word sequence; presenting at least two selectors between words of the target word sequence; detecting a movement operation corresponding to at least one of the selectors; according to the moving operation, moving the corresponding selector by taking the word in the target word sequence as a unit; and selecting the text in the target word sequence according to the at least two selectors. According to the scheme provided by the application, the selector can be moved by taking the words in the target word sequence as units, the text selected by the moved selector is used as the selected text, and compared with the case that the selector is moved one by one, the number of misoperation is greatly reduced, so that the efficiency of text selection is improved.

Description

Text selection method, text selection device, computer readable storage medium and computer equipment
Technical Field
The present invention relates to the field of computer technology, and in particular, to a text selection method, apparatus, computer readable storage medium, and computer device.
Background
With the rapid development of internet technology, more and more users process text information by means of terminals, such as: the user forwards the received session message or modifies the received file by using the instant messaging application.
When a user modifies a conversation message related to text content, most of the conversation messages have functions of selection and copying, however, when the user selects the text to be modified, the operation is very tedious, misoperation is easy to cause, and the efficiency of selecting the text is low.
Disclosure of Invention
Based on this, it is necessary to provide a text selection method, apparatus, computer-readable storage medium and computer device for solving the technical problem of low text selection efficiency.
A text selection method, the method comprising:
determining a target character sequence;
word segmentation is carried out on the target character sequence so as to convert the target character sequence into a target word sequence;
presenting at least two selectors between words of the target word sequence;
detecting a movement operation corresponding to at least one of the selectors;
according to the moving operation, moving the corresponding selector by taking the word in the target word sequence as a unit;
And selecting the text in the target word sequence according to the at least two selectors.
A text selection device, the device comprising:
the target character sequence determining module is used for determining a target character sequence;
the word segmentation module is used for segmenting the target character sequence to convert the target character sequence into a target word sequence;
a selector presentation module for presenting at least two selectors between words of the target word sequence;
a mobile operation detection module, configured to detect a mobile operation corresponding to at least one selector;
a selector moving module, configured to move the corresponding selector in units of words in the target word sequence according to the moving operation;
and the text selection module is used for selecting the text in the target word sequence according to the at least two selectors.
A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the text selection method.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the text selection method.
According to the text selection method, the device, the computer readable storage medium and the computer equipment, through word segmentation on the determined target character sequence to obtain the target word sequence and display the selector, when the moving operation of the corresponding selector is detected, the selector is moved by taking the word in the target word sequence as a unit, the text selected by the moved selector is used as the selected text, and compared with the text-by-character moving selector, the number of misoperation is greatly reduced, so that the text selection efficiency is improved.
Drawings
FIG. 1 is a block diagram of a computer device for implementing a text selection method in one embodiment;
FIG. 2 is a flow diagram of a text selection method in one embodiment;
FIG. 3 is a schematic diagram of an interface showing at least two selectors in one embodiment;
FIG. 4 is a diagram of an interface for moving a selector in terms of words in one embodiment;
FIG. 5 is a flow chart of a text selection method according to another embodiment;
FIG. 6 is a schematic interface diagram of an operational options menu showing a corresponding target character sequence in one embodiment;
FIG. 7 is a flow diagram of a method of presenting at least two selectors between words of a target word sequence in one embodiment;
FIG. 8 is a flow chart of a text selection method in yet another embodiment;
FIG. 9 is a flow diagram of a text selection method in one embodiment;
FIG. 10 is a block diagram of a text selection device in one embodiment;
FIG. 11 is a block diagram showing a structure of a text selecting device in another embodiment;
FIG. 12 is a block diagram showing a structure of a text selecting device in yet another embodiment;
fig. 13 is a block diagram showing a structure of a text selecting device in still another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
FIG. 1 is a schematic diagram of the internal architecture of a computer device in one embodiment. As shown in fig. 1, the computer device is used to implement a text selection method. The computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. Wherein the processor is configured to provide computing and control capabilities to support the operation of the entire computer device. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program which, when executed by a processor, causes the processor to implement a text selection method. The internal memory may also have stored therein a computer program which, when executed by the processor, causes the processor to perform a text selection method. The network interface is used for network communication with the server, such as sending a social message to the server, or receiving a social message sent by the server, etc. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, etc., and the input device can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse, etc. The computer device may be at least one of a mobile phone, a tablet computer, a notebook computer, etc.
As shown in fig. 2, in one embodiment, a flow chart of a text selection method is provided, and this embodiment is mainly illustrated by the application of the method to the computer device in fig. 1. Referring to fig. 2, the text selection method specifically includes the steps of:
s202, determining a target character sequence.
Wherein the characters are basic semantic units that can be processed by a computer. The character may be at least one of letters, numbers, kanji and punctuation marks. The character sequence is a text sequence formed sequentially in character units. The character sequence may include punctuation marks, such as space characters. The character sequence may be a text sequence formed of only one of letters, numbers, kanji and punctuation marks, or a text sequence formed of a combination of letters, numbers, kanji and punctuation marks. For example, the character sequence may be "do you be Mary (Mary) for a 3-class of one? ".
The target character sequence is a text sequence in which text selection is desired. The target character sequence may be a text paragraph in a readable file stored on the computer device or may be text content in a social message generated by a social application on the computer device. Determining the target character sequence is the process by which the computer device determines the character sequence in which the text to be selected is located.
In particular, the computer device may place the text sequence in an optional state upon detecting a text selection operation acting on the text sequence, thereby treating the text sequence as a target character sequence. After placing the target character sequence in the selectable state, the computer device may select a text sequence to be selected from among the target character sequences to perform an editing operation on the selected text sequence. Editing operations such as copy operations, replace operations, forward operations, or collection operations, etc.
In one embodiment, the text selection operation applied to the text sequence may be any form of trigger operation that is preset. For example, the text selection operation may be a touch operation or a cursor click operation on a text sequence displayed on the computer device interface, or may be a combination operation of one of the touch operation and the cursor click operation on the text displayed on the computer device interface and a computer device shake operation.
S204, word segmentation is carried out on the target character sequence so as to convert the target character sequence into a target word sequence.
The word segmentation is a processing process of converting a character sequence into a word sequence according to a certain rule. The word sequence is a text sequence formed sequentially in word units. The words in the word sequence may consist of a single character or may consist of a plurality of characters. The computer device performs word segmentation on the target character sequence to obtain a target word sequence.
For example, if the target character sequence is "do you be Mary for a class 3 shift? "is the target word sequence obtained by word segmentation of the target character sequence" is |Mary| of |one grade |3| class|? "wherein" | "indicates word separators for distinguishing different words in the target word sequence, which may or may not be displayed in the target word sequence.
In particular, the computer device may directly execute the instruction to word the target character sequence after placing the target character sequence in the selectable state. The computer device may also display a word segmentation control corresponding to the target character sequence after the target character sequence is placed in the selectable state, and execute an instruction for segmenting the target character sequence when a trigger operation for the word segmentation control is detected.
In one embodiment, the computer device may directly word the target character sequence locally to obtain the target word sequence. The computer equipment can also send the determined target character sequence to a server, the server performs word segmentation on the target character sequence, and the target word sequence obtained by word segmentation on the target character sequence and fed back by the server is received.
In one embodiment, the computer device may use word sense word segmentation or statistical word segmentation to segment the target character sequence, or may use multiple word segmentation methods to segment the target character sequence.
S206, at least two selectors are displayed among words of the target word sequence.
Wherein, the words of the target word sequence are between each word in the target word sequence and each word. For example, the target word sequence is "do you be |Mary| of |one grade |3| class|? "between words in the target word sequence may be" between you are "and" one-year, "between" 3 "and" shift, "between" Mary "and" do? "between", etc.
The selector is a symbol for displaying the selected text. The computer device may display the selector between words of the target word sequence in a preset style. The predetermined pattern may be a cursor, a separator, a bracket, or the like. At least two may specifically be any value of more than two, three or four, etc. And two selectors are adopted to facilitate operation.
In particular, the computer device may, after obtaining the target word sequence, present two selectors between words of the target word sequence. FIG. 3 is a schematic diagram of an interface in which a computer device, in one embodiment, presents at least two selectors after word segmentation of a target character sequence. Referring to FIG. 3, the interface schematic includes two selectors 302a and 302b, a target character sequence 304, and text 306 selected between the two selectors.
In one embodiment, the computer device, after obtaining the target word sequence, may present more than two selectors between words of the target word sequence. Text between every two adjacent selectors is selected as a way of selection. The computer device may select one of a plurality of selection modes such that text selected by the selection mode is the result of the local text selection. The computer device may also output text selected by each of the plurality of selection modes in parallel.
For example, 3 selectors are presented in the target word sequence, the first selector, the second selector, and the third selector being in order of presentation in the target word sequence. The text between the first selector and the second selector may be text selected in one selection mode and the text between the second selector and the third selector may be text selected in another selection mode.
In one embodiment, the computer device may detect a cancel operation on a presented selector, and cancel the presented selector acted upon by the cancel operation. In one embodiment, when the number of presented selectors is two, the cancel operation is prohibited. In another embodiment, when the number of presented selectors is two and a cancel operation is detected, both presented selectors may be canceled.
S208, detecting a movement operation corresponding to at least one selector.
Wherein the movement operation is a directional operation for triggering the movement of the selector. The movement operation may be any type of trigger operation having directivity that is set in advance, and may be, for example, a physical direction key pressing operation, a virtual direction key pressing operation, a drag operation, or the like. The drag operation may be a touch drag operation or a cursor drag operation, or the like.
In one embodiment, the number of selectors corresponding to the move operation may be one, may be more than one and less than the total number of selectors presented, or may be equal to the total number of selectors presented.
In one embodiment, the computer device, upon detecting a move operation corresponding to one of the at least two selectors, leaves the positions of the remaining selectors in the target character sequence unchanged, and moves the corresponding one of the selectors in accordance with the move operation.
In one embodiment, the computer device may further generate movement instructions for moving the corresponding at least two selectors when detecting at least two movement operations corresponding to at least two of the at least two displayed selectors, respectively, and move the corresponding at least two selectors simultaneously or asynchronously according to the instructions. The at least two movement operations may be detected simultaneously or asynchronously within a predetermined time interval.
In one embodiment, the computer device may detect a movement operation corresponding to other of the presented selectors when moving one of the presented selectors according to the movement operation, and move the respective other selector according to the selection operation corresponding to the other selector.
S210, according to the moving operation, the corresponding selector is moved by taking the words in the target word sequence as units.
Wherein, the selector is moved in units of words, which is the distance by which one word is moved each time the selector is moved. Specifically, after detecting a movement operation, the computer device determines a selector corresponding to the movement operation, and moves the selector corresponding to the movement operation word by word in units of words in the target word sequence.
In one embodiment, after detecting the movement operation corresponding to the selector, the computer device generates a movement instruction corresponding to the selector, and renders and displays the movement process of the selector on the interface of the computer device in terms of words according to the movement instruction.
FIG. 4 illustrates an interface diagram for moving a selector in terms of words according to a move operation in one embodiment. The computer device presents the selectors 404a and 404b between words of the target sequence, and when a move operation corresponding to the selector 404b is detected, moves the selector 404b, resulting in a moved selector 404b'.
In one embodiment, the computer device may calculate a movement direction and a movement distance of the movement operation based on a start position of the end position with respect to the selector when the end position of the movement operation corresponding to the selector is obtained, thereby moving the selector corresponding to the movement operation according to the movement direction and the movement distance.
Further, the computer device may move the selector in terms of words at a row where the selector is located when detecting that the moving direction of the moving operation is a row direction. The computer device may further move the selector in the column direction when detecting that the moving direction of the moving operation is the column direction, and adjust the selector corresponding to the moving operation in word units in a row in which the moved selector is located.
In one embodiment, the computer device may detect a movement speed of the movement operation, and move the selector according to the movement speed. For example, when it is detected that the moving speed of the moving operation reaches a preset value, the selector is moved directly after the last word in the target word sequence.
S212, selecting the text in the target word sequence according to at least two selectors.
Specifically, after detecting a movement operation of a corresponding selector, the computer device moves the selector in units of words in the target word sequence, determines the position of the moved selector, and determines the text between at least two moved selectors as the selected text.
In one embodiment, the number of selectors in the target word sequence is two. After the computer device moves the selector according to the movement operation, the text between the start selector and the end selector is the selected text.
In one embodiment, the computer device may highlight the selected text. The computer device may highlight the word sequence between two locations in the target word sequence upon detecting the two locations of the two selectors. The highlighting may be performed in any preset display manner, for example, the highlighting may be represented by a color, a font size, an underline, or a ground tint of a character, or may be performed by enlarging the font.
According to the text selection method, the determined target character sequence is segmented to obtain the target word sequence and the selector is displayed, so that when the movement operation of the corresponding selector is detected, the selector is moved by taking the word in the target word sequence as a unit, and the text selected by the moved selector is used as the selected text, and compared with the text moving selector one by one, the number of misoperation is greatly reduced, and the text selection efficiency is improved.
In one embodiment, step S202 includes: displaying the social message; detecting text selection operation of the corresponding social message; and taking the text content in the social message as a target character sequence according to the text selection operation.
The social message is generated by a social application running on the computer device, and the social message can be a social message received by the computer device or a social message currently input by the computer device. Social applications are applications that can conduct network social interactions based on a social network. Social applications include instant messaging applications, SNS (Social Network Service, social networking site) applications, or live applications, among others. The social application may be a WeChat client.
The computer device can display the received social messages through the interactive interface, and can display the social messages input by the user through the input panel. The text selection operation corresponding to the social message is an operation of selecting text content in the social message.
The text selection operation may be a touch operation or a cursor click operation that is applied to text content in the social message, or may be a combination operation of one of the touch operation and the cursor click operation that is applied to text content in the social message and a computer device shake operation.
In this embodiment, the computer device obtains the text selection operation in the social message, so that the text content in the social message can be set as a target character sequence, and the text to be selected can be selected from the target character sequence, so that the method can be applied to the text content selection process in the social message, and the user can conveniently select the text in the social message.
As shown in fig. 5, in one embodiment, the text selection method further includes the steps of:
s502, displaying an operation option menu corresponding to the target character sequence.
Wherein the operation option menu is a menu including operation options corresponding to the target character sequence. The operation options in the operation option menu may include at least one of a selection operation option, a copy operation option, a cut operation option, a full selection operation option, a forward operation option, a collection operation option, and the like. In particular, the computer device may, upon determining a target character sequence, present a menu of operation options corresponding to the target character sequence.
In one embodiment, the computer device may present the menu of operational options in a form that partially overlays the target character sequence after the target character sequence is determined. The computer device may also generate a control corresponding to the menu of operational options, and present the control in a form that is hovered over the target character sequence.
S504 detects an option selection operation acting on the operation option menu.
Wherein the option selection operation is a trigger event corresponding to an operation option in the operation option menu. In one embodiment, the computer device may acquire a selection operation triggered by the user and acting on any operation option corresponding to the operation option menu, extract a preset editing instruction corresponding to the operation option, and edit the target character sequence according to the editing instruction.
S506, when the operation option selected by the option selection operation is a preset option, executing the step of word segmentation on the target character sequence to convert the target character sequence into a target word sequence.
Specifically, the computer device may preset a preset option for triggering word segmentation of the target character sequence, and when detecting an option selection operation acting on the character corresponding to the preset option, the computer device performs step S204.
FIG. 6 illustrates an interface diagram of an operational options menu showing a corresponding target character sequence in one embodiment. Referring to fig. 6, after the computer device has determined the target character sequence 602, an operation option menu 604 is presented on the interface of the computer device, in which operation option menu an operation option 606 is displayed.
In the above embodiment, after the target character sequence is determined, the computer device provides the operation option menu, and can insert the step of word segmentation on the target character sequence under the condition of less modification to the original execution logic, so as to implement the text selection method in this embodiment.
In one embodiment, step S204 includes: word segmentation is carried out on the target character sequence to obtain a middle word sequence; and combining adjacent words which accord with a preset phrase template in the intermediate word sequence to convert the target character sequence into a target word sequence.
The intermediate word sequence is an intermediate result obtained after preliminary word segmentation is carried out on the target character sequence, and a final target word sequence is obtained after the intermediate result is processed. The preset phrase template is a template on which a plurality of words are combined to form a new word. The preset phrase template comprises at least one of an address phrase template, a same language phrase template and a different language phrase template.
The address phrase template is preset with the characteristics of the adjacent words which can form the address phrase, and each adjacent word which accords with the address phrase template is combined into the address phrase to become a new word.
The same-language phrase template presets the characteristics of the same-language and adjacent words which can form the phrase, and the same-language and adjacent words which accord with the same-language phrase template can form the phrase to form a new word.
The different language phrase template presets the characteristics of adjacent words which are derived from at least two different languages and can form a phrase, and the adjacent words accord with the different languages of the different language phrase template and can form a phrase to form a new word.
For example, if the target character sequence is:
"9 months in 2017, I moved into Shenzhen Luo Hu district deep south east Luo X number",
the word sequence obtained by the computer equipment after word segmentation of the target character sequence is as follows:
"2017|year|9|month early|I|moving into|Shenzhen city|Luo lake region|deep south east road|X|number,
the "2017|9|month beginning" and "Shenzhen city|Luo lake region|deep south east road|X| are adjacent intermediate word sequences which accord with a date template and an address phrase template in a digital phrase module, and the target word sequence obtained by combining words with specific relations by computer equipment is|2017 9 month beginning|I|moving into the|Shenzhen city Luo lake region|deep south east road X|.
In this embodiment, after the words in the intermediate word sequence obtained after word segmentation are combined according to the preset word group template, the combined words are determined to be one word in the target word sequence, so that a user can conveniently and quickly locate one word in the target word sequence when dragging the selector, the number of times of moving operation of the user is reduced, and the probability of misoperation of the user can be reduced.
As shown in fig. 7, in one embodiment, step S206 includes:
s702, acquiring the position of a cursor in a target character sequence.
Wherein the position of the cursor may be generated by an arbitrary triggering operation.
In one embodiment, upon detecting a selection operation acting on a target character sequence, the computer device may obtain a position in the target character sequence corresponding to the selection operation, and display the cursor at the corresponding position in the target character sequence with the position as the position of the cursor.
S704, determining a default selected word in the target word sequence according to the position of the cursor.
Wherein the default selected word is a word that needs to be selected when at least two selectors are presented.
In one embodiment, the computer device may generate a word uniquely corresponding to a position between each adjacent character in the target character sequence after the target character sequence is segmented, so that after the cursor position is obtained, a unique word corresponding to a position between adjacent characters where the cursor position is located is obtained, and the word is used as a default selected word.
The default selected word may be a plurality of words that are adjacent. In one embodiment, when the computer device detects that the position of the cursor is located between adjacent paragraphs in the target character sequence, all of the words in the adjacent paragraphs may be taken as default selected words. In one embodiment, when the computer device detects that the position of the cursor is located in the middle of a paragraph in the target character sequence, all words in the paragraph may be taken as default selected words.
S706, at least two selectors representing selected default selected words are presented between words of the target word sequence.
In particular, when two selectors need to be presented, the computer device may present one selector at the beginning and end of the default selected word, respectively, to select the default selected word between the two selectors. When more than two selectors need to be presented and more than one default selected word is selected, the computer device may present one selector between the first default selected word, the last default selected word, and the default selected word, respectively, to select more than one default selected word.
In the above embodiment, the computer device may determine, according to the position of the cursor, a default selected word corresponding to the position of the cursor, and since the default selected word corresponds to the position of the cursor, the selector can be displayed at two ends of the default selected word, which better conforms to the knowledge of the user, and facilitates further adjustment of the text to be selected.
In one embodiment, step S704 includes: when the cursor is positioned in the words in the target word sequence, the word in which the cursor is positioned is taken as a default selected word.
Wherein the words in the target word sequence are words of a single word in the target word sequence. For example, the target word sequence "is |Mary| of |one grade |3| class|? Among the words in "may be the word" you are ", i.e. the position of the cursor is located between the characters" you "and" yes "of the characters; the word may be a "senior" word, i.e., the cursor is positioned between the characters "a" and "a" or between the characters "a" and "a" level.
Specifically, the computer device may use a word in the target word sequence as a default selected word when it obtains that the position of the cursor is located in the word. For example, when the cursor position is between the characters "one" and "year", or between the characters "year" and "level", the word "one level" in the target word sequence may be used as a default selected word.
In one embodiment, step S704 further includes: when the cursor is positioned between words in the target word sequence, acquiring the corresponding character length of the adjacent words of the cursor; from the adjacent words, a default selected word is determined according to the corresponding character length.
Wherein the words adjacent to the cursor are words adjacent to the position of the cursor, including a first adjacent word and a second adjacent word. The corresponding character length of the adjacent words of the cursor is the character number of the first adjacent word and the character number of the second adjacent word.
In one embodiment, the computer device may use a word with a greater number of characters in the words adjacent to the cursor as a default selected word. For example, the target word sequence is "do you be |Mary| of |one grade |3| class|? "when the position of the cursor is between" you are "and" one-level ", the number of characters of the first neighbor word" you are "is 2, the number of characters of the second neighbor word" one-level "is 3, and the computer device can determine this word" one-level "as the default selected word.
In one embodiment, when the character lengths corresponding to the words adjacent to the cursor are acquired by the computer device to be equal, any one of the adjacent words can be determined as a default selected word, or the word located at a preset relative position relative to the default selected word can be taken as the default selected word. For example, a word located to the right of the cursor position may be taken as a default selected word.
In the above embodiment, when the position of the cursor is located between words of the target word sequence, the computer device may determine a default selected word according to the character lengths corresponding to the words adjacent to the cursor, so as to form a correspondence between the position of the cursor and the default selected word, so that a default selected word can be determined according to the position of the cursor.
As shown in fig. 8, in one embodiment, the text selection method may further include the steps of:
s802, obtaining a moving distance corresponding to the moving operation.
Specifically, the computer device may obtain the movement distance of the movement operation according to the start position and the end position of the movement operation by obtaining the start position of the selector corresponding to the movement operation and the end position of the movement operation.
S804, comparing the moving distance with the single character distance.
Wherein the single character distance is a distance of one character. The single character distance may be preset or may be adaptively determined according to the characters in the target character sequence.
S806, when the movement distance exceeds the single character distance, a step of moving the corresponding selector in units of words in the target word sequence according to the movement operation is performed.
Specifically, when the computer device detects that the moving distance of the moving operation exceeds the single character distance, the selector corresponding to the moving operation is moved by taking the word in the target word sequence as a unit. For example, when the computer device detects that the movement distance of the movement operation of the corresponding selector exceeds 1 single character distance, the selector is moved in units of words in the target word sequence.
In one embodiment, the text selection method further comprises the steps of: and when the moving distance is smaller than or equal to the single character distance, moving the selector corresponding to the moving operation in a single character unit according to the moving operation.
Specifically, when the computer device detects that the movement distance of the movement operation is less than or equal to the single character distance, the selector corresponding to the movement operation is moved in units of single characters. For example, when the move operation is less than or equal to 1 single character distance, the computer device may move the selector in units of single characters.
In the above embodiment, by comparing the movement distance of the movement operation with the single character distance, the movement can be performed in units of single characters, on the basis of moving the selector in units of words, and the efficiency of selecting words can be improved.
As shown in fig. 9, in one embodiment, a text selection method is provided, which specifically includes the following steps:
s902, displaying the social message.
S904, detecting text selection operation corresponding to the social message.
S906, according to text selection operation, taking text content in the social message as a target character sequence;
s908, displaying an operation option menu corresponding to the target character sequence.
S910 detects an option selection operation acting on the operation option menu.
S912, when the operation option selected by the option selection operation is a preset option, the target character sequence is segmented to obtain an intermediate word sequence.
S914, combining adjacent words which accord with a preset phrase template in the middle word sequence to convert the target character sequence into a target word sequence.
S916, the position of the cursor in the target character sequence is obtained.
S918, when the cursor is positioned in the words in the target word sequence, taking the word in which the cursor is positioned as a default selected word; when the cursor is positioned between words in the target word sequence, the corresponding character length of the adjacent words of the cursor is obtained, and the default selected word is determined according to the corresponding character length from the adjacent words.
S920, at least two selectors representing selected default selected words are displayed among the words of the target word sequence.
S922, a moving distance corresponding to the moving operation is acquired.
S924, comparing the moving distance and the single character distance.
S926, when the moving distance exceeds the single character distance, moving the corresponding selector by taking the word in the target word sequence as a unit according to the moving operation; and when the moving distance is smaller than or equal to the single character distance, moving the corresponding selector by taking the single character as a unit according to the moving operation.
In this embodiment, by segmenting the determined target character sequence to obtain the target word sequence and displaying the selector, when the movement operation of the corresponding selector is detected, the selector is moved by using the word in the target word sequence as a unit, and the text selected by the moved selector is used as the selected text, so that compared with the case that the selector is moved one by one, the number of misoperation is greatly reduced, and the efficiency of text selection is improved.
Although the steps in the flowcharts of the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts of the embodiments may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps or stages of other steps.
As shown in fig. 10, a text selection apparatus 1000 is provided, which includes a target character sequence determination module 1002, a word segmentation module 1004, a selector presentation module 1006, a movement operation detection module 1008, a selector movement module 1010, and a text selection module 1012.
The target character sequence determining module 1002 is configured to determine a target character sequence.
The word segmentation module 1004 is configured to segment the target character sequence to convert the target character sequence into a target word sequence.
A selector presentation module 1006 for presenting at least two selectors between words of the target word sequence.
The movement operation detection module 1008 is configured to detect a movement operation corresponding to at least one selector.
The selector moving module 1010 is configured to move the corresponding selector in units of words in the target word sequence according to the moving operation.
A text selection module 1012 is configured to select text in the target word sequence according to at least two selectors.
The text selection device 1000, by segmenting the determined target character sequence to obtain the target word sequence and displaying the selector, can move the selector by taking the word in the target word sequence as a unit when detecting the movement operation of the corresponding selector, and takes the text selected by the moved selector as the selected text.
In one embodiment, the target character sequence determination module 1002 is further configured to present a social message; detecting text selection operation of the corresponding social message; and taking the text content in the social message as a target character sequence according to the text selection operation detected by the selection operation detection unit.
In the embodiment, the computer device acquires the text selection operation in the social message, so that the text content in the social message can be set as the target character sequence, and the text to be selected can be selected from the target character sequence, so that the method can be applied to the text content selection process in the social message, and the user can conveniently select the text in the social message.
Fig. 11 is a block diagram showing the structure of a text selection apparatus 1000 in one embodiment, and referring to fig. 10, the text selection apparatus 1000 further includes: an operation options menu presentation module 1014 and an options selection operation detection module 1016.
An operation options menu display module 1014 for displaying the operation options menu of the corresponding character sequence.
An option selection operation detection module 1016 for detecting an option selection operation acting on the operation option menu.
The word segmentation module 1004 is further configured to perform a step of segmenting the target character sequence to convert the target character sequence into a target word sequence when the operation option selected by the option selection operation is a preset option.
In the above embodiment, after the target character sequence is determined, the computer device provides the operation option menu, and can insert the step of word segmentation on the target character sequence under the condition of less modification to the original execution logic, so as to implement the text selection method in this embodiment.
In one embodiment, the word segmentation module 1004 is further configured to segment the target character sequence to obtain an intermediate word sequence; and combining adjacent words which accord with a preset phrase template in the intermediate word sequence to convert the target character sequence into a target word sequence.
In one embodiment, the preset phrase template includes at least one of an address phrase template, a same language phrase template, and a different language phrase template.
In the embodiment, after the words in the intermediate word sequence obtained after word segmentation are combined according to the preset word group template, the combined words are determined to be one word in the target word sequence, so that a user can conveniently and quickly locate one word in the target word sequence when dragging the selector, the frequency of moving operation of the user is reduced, and the probability of misoperation of the user can be reduced.
Fig. 12 is a block diagram of an embodiment of a text selection device 1000, and referring to fig. 11, in an embodiment, the text selection device 1000 further includes a cursor acquisition module 1018 and a default selected word determination module 1020.
A cursor position acquisition module 1018 for acquiring a position of a cursor in the target character sequence.
A default selected word determining module 1020, configured to determine a default selected word in the target word sequence according to the position of the cursor.
The selector presentation module 1006 is further configured to present, among the words of the target word sequence, at least two selectors representing selected default selected words.
In the above embodiment, the computer device may determine, according to the position of the cursor, a default selected word corresponding to the position of the cursor, and since the default selected word corresponds to the position of the cursor, the selector can be displayed at two ends of the default selected word, which better conforms to the knowledge of the user, and facilitates further adjustment of the text to be selected.
In one embodiment, the default selected word determining module 1020 is further configured to, when the cursor is located in a word in the target word sequence, use the word in which the cursor is located as the default selected word.
In one embodiment, the default selected word determining module 1020 is further configured to obtain, when the cursor is located between words in the target word sequence, a character length corresponding to a word adjacent to the cursor; from the adjacent words, a default selected word is determined according to the corresponding character length.
In the above embodiment, when the position of the cursor is located between words of the target word sequence, the computer device may determine a default selected word according to the character lengths corresponding to the words adjacent to the cursor, so as to form a correspondence between the position of the cursor and the default selected word, so that a default selected word can be determined according to the position of the cursor.
Fig. 13 is a block diagram illustrating a structure of the text selection apparatus 1000 in one embodiment, and referring to fig. 11, in one embodiment, the text selection apparatus 1000 further includes a moving distance acquisition module 1022 and a moving distance determination module 1024.
The moving distance obtaining module 1022 is configured to obtain a moving distance corresponding to the moving operation.
The moving distance judging module 1024 is configured to compare the moving distance and the single character distance.
The selector moving module 1010 is further configured to perform a step of moving the corresponding selector in units of words in the target word sequence according to the moving operation when the moving distance exceeds the one-character distance.
In one embodiment, the selector moving module 1010 is further configured to move the corresponding selector in units of single characters according to the moving operation when the moving distance is less than or equal to the single character distance.
In the above embodiment, by comparing the movement distance of the movement operation with the single character distance, the movement can be performed in units of single characters, on the basis of moving the selector in units of words, and the efficiency of selecting words can be improved.
In one embodiment, the text apparatus provided herein may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 1. The memory of the computer device may store various program modules that make up the text selection apparatus, such as the target character sequence determination module 1002, the word segmentation module 1004, the selector presentation module 1006, the movement operation detection module 1008, the selector movement module 1010, and the text selection module 1012 shown in fig. 10. The computer program constituted by the respective program modules causes the processor to execute the steps in the text selection method of the respective embodiments of the present application described in the present specification.
For example, the computer apparatus shown in fig. 1 may perform step S202 through the target character sequence determination module 1002 in the text selection device shown in fig. 10. The computer device may perform step S204 through the word segmentation module 1004. The computer device may perform step S206 through the selector presentation module 1006. The computer device may perform step S208 through the moving operation detection module 1008. The computer device may perform step S210 through the selector movement module 1010. The computer device may perform step S212 through text selection module 1012.
In one embodiment, a computer device is provided that includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: determining a target character sequence; word segmentation is carried out on the target character sequence so as to convert the target character sequence into a target word sequence; presenting at least two selectors between words of the target word sequence; detecting a movement operation corresponding to the at least one selector; according to the moving operation, moving the corresponding selector by taking the word in the target word sequence as a unit; text in the target word sequence is selected according to at least two selectors.
In one embodiment, the computer program causes the processor to perform the steps of: displaying the social message; detecting text selection operation of the corresponding social message; and taking the text content in the social message as a target character sequence according to the text selection operation.
In one embodiment, the computer program causes the processor to further perform the steps of: displaying an operation option menu corresponding to the target character sequence; detecting an option selection operation acting on an operation option menu; and when the operation option selected by the option selection operation is a preset option, executing the step of word segmentation on the target character sequence so as to convert the target character sequence into a target word sequence.
In one embodiment, the computer program causes the processor to perform the following steps in particular when performing the step of word segmentation of the target character sequence to convert the target character sequence to a target word sequence: word segmentation is carried out on the target character sequence to obtain a middle word sequence; and combining adjacent words which accord with a preset phrase template in the intermediate word sequence to convert the target character sequence into a target word sequence.
In one embodiment, the preset phrase template includes at least one of an address phrase template, a same language phrase template, and a different language phrase template.
In one embodiment, the computer program causes the processor to perform the step of presenting at least two selectors between words of the target word sequence: acquiring the position of a cursor in a target character sequence; determining a default selected word in the target word sequence according to the position of the cursor; at least two selectors representing selected default selected words are presented between words of the target word sequence.
In one embodiment, the computer program causes the processor to perform the step of determining a default selected word in the target word sequence in accordance with the position of the cursor by: when the cursor is positioned in the words in the target word sequence, the word in which the cursor is positioned is taken as a default selected word.
In one embodiment, the computer program causes the processor to perform the step of determining a default selected word in the target word sequence in accordance with the position of the cursor by: when the cursor is positioned between words in the target word sequence, acquiring the corresponding character length of the adjacent words of the cursor; from the adjacent words, a default selected word is determined according to the corresponding character length.
In one embodiment, the computer program causes the processor to further perform the steps of: obtaining a moving distance corresponding to the moving operation; comparing the movement distance with the single character distance; when the movement distance exceeds the single character distance, a step of moving the corresponding selector in units of words in the target word sequence according to the movement operation is performed.
In one embodiment, the computer program causes the processor to further perform the steps of: and when the moving distance is smaller than or equal to the single character distance, moving the corresponding selector by taking the single character as a unit according to the moving operation.
According to the computer equipment, the determined target character sequence is segmented to obtain the target word sequence and the selector is displayed, so that when the movement operation of the corresponding selector is detected, the selector is moved by taking the word in the target word sequence as a unit, and the text selected by the moved selector is used as the selected text.
A computer readable storage medium storing a computer program which when executed by a processor performs the steps of: determining a target character sequence; word segmentation is carried out on the target character sequence so as to convert the target character sequence into a target word sequence; presenting at least two selectors between words of the target word sequence; detecting a movement operation corresponding to the at least one selector; according to the moving operation, moving the corresponding selector by taking the word in the target word sequence as a unit; text in the target word sequence is selected according to at least two selectors.
In one embodiment, the computer program causes the processor to perform the steps of: displaying the social message; detecting text selection operation of the corresponding social message; and taking the text content in the social message as a target character sequence according to the text selection operation.
In one embodiment, the computer program causes the processor to further perform the steps of: displaying an operation option menu corresponding to the target character sequence; detecting an option selection operation acting on an operation option menu; and when the operation option selected by the option selection operation is a preset option, executing the step of word segmentation on the target character sequence so as to convert the target character sequence into a target word sequence.
In one embodiment, the computer program causes the processor to perform the following steps in particular when performing the step of word segmentation of the target character sequence to convert the target character sequence to a target word sequence: word segmentation is carried out on the target character sequence to obtain a middle word sequence; and combining adjacent words which accord with a preset phrase template in the intermediate word sequence to convert the target character sequence into a target word sequence.
In one embodiment, the preset phrase template includes at least one of an address phrase template, a same language phrase template, and a different language phrase template.
In one embodiment, the computer program causes the processor to perform the step of presenting at least two selectors between words of the target word sequence: acquiring the position of a cursor in a target character sequence; determining a default selected word in the target word sequence according to the position of the cursor; at least two selectors representing selected default selected words are presented between words of the target word sequence.
In one embodiment, the computer program causes the processor to perform the step of determining a default selected word in the target word sequence in accordance with the position of the cursor by: when the cursor is positioned in the words in the target word sequence, the word in which the cursor is positioned is taken as a default selected word.
In one embodiment, the computer program causes the processor to perform the step of determining a default selected word in the target word sequence in accordance with the position of the cursor by: when the cursor is positioned between words in the target word sequence, acquiring the corresponding character length of the adjacent words of the cursor; from the adjacent words, a default selected word is determined according to the corresponding character length.
In one embodiment, the computer program causes the processor to further perform the steps of: obtaining a moving distance corresponding to the moving operation; comparing the movement distance with the single character distance; when the movement distance exceeds the single character distance, a step of moving the corresponding selector in units of words in the target word sequence according to the movement operation is performed.
In one embodiment, the computer program causes the processor to further perform the steps of: and when the moving distance is smaller than or equal to the single character distance, moving the corresponding selector by taking the single character as a unit according to the moving operation.
According to the computer readable storage medium, the determined target character sequence is segmented to obtain the target word sequence and the selector is displayed, so that when the movement operation of the corresponding selector is detected, the selector is moved by taking the word in the target word sequence as a unit, and the text selected by the moved selector is used as the selected text, and compared with the character-by-character movement of the selector, the number of misoperation is greatly reduced, and the efficiency of text selection is improved.
Those skilled in the art will appreciate that the processes implementing all or part of the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a non-volatile computer readable storage medium, and the program may include the processes of the embodiments of the methods as above when executed. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not thereby to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (22)

1. A text selection method, the method comprising:
determining a target character sequence;
word segmentation is carried out on the target character sequence so as to convert the target character sequence into a target word sequence;
presenting two selectors between words of the target word sequence;
detecting a movement operation corresponding to at least one of the selectors;
according to the moving operation, the corresponding selector is moved word by taking words in the target word sequence as units;
And determining the text between the two moved selectors as the text selected from the target word sequence.
2. The method of claim 1, wherein the determining the target character sequence comprises:
displaying the social message;
detecting a text selection operation corresponding to the social message;
and taking the text content in the social message as a target character sequence according to the text selection operation.
3. The method according to claim 1, wherein the method further comprises:
displaying an operation option menu corresponding to the target character sequence;
detecting an option selection operation acting on the operation option menu;
and when the operation option selected by the option selection operation is a preset option, executing the step of word segmentation on the target character sequence so as to convert the target character sequence into a target word sequence.
4. The method of claim 1, wherein the word segmentation of the target character sequence to convert the target character sequence to a target word sequence comprises:
word segmentation is carried out on the target character sequence to obtain an intermediate word sequence;
and combining adjacent words which accord with a preset phrase template in the intermediate word sequence to convert the target character sequence into a target word sequence.
5. The method of claim 4, wherein the pre-set phrase template comprises at least one of an address phrase template, a homonym phrase template, and a heteronym phrase template.
6. The method of claim 1, wherein said presenting two selectors between words of the target word sequence comprises:
acquiring the position of a cursor in the target character sequence;
determining a default selected word in the target word sequence according to the position of the cursor;
between words of the target word sequence, two selectors are presented representing selection of the default selected word.
7. The method of claim 6, wherein said determining a default selected word in said sequence of target words in accordance with the position of said cursor comprises:
and when the cursor is positioned in the words in the target word sequence, taking the word in which the cursor is positioned as a default selected word.
8. The method of claim 6, wherein said determining a default selected word in said sequence of target words in accordance with the position of said cursor comprises:
when the cursor is positioned between words in the target word sequence, acquiring the corresponding character length of the words adjacent to the cursor;
And determining a default selected word from the adjacent words according to the corresponding character length.
9. The method according to any one of claims 1 to 8, further comprising:
obtaining a moving distance corresponding to the moving operation;
comparing the movement distance with a single character distance;
and when the moving distance exceeds the single character distance, executing the step of moving the corresponding selector by taking words in the target word sequence as units according to the moving operation.
10. The method according to claim 9, wherein the method further comprises:
and when the moving distance is smaller than or equal to the single character distance, moving the corresponding selector by taking the single character as a unit according to the moving operation.
11. A text selection apparatus, the apparatus comprising:
the target character sequence determining module is used for determining a target character sequence;
the word segmentation module is used for segmenting the target character sequence to convert the target character sequence into a target word sequence;
a selector presentation module for presenting two selectors between words of the target word sequence;
a mobile operation detection module, configured to detect a mobile operation corresponding to at least one selector;
The selector moving module is used for moving the corresponding selector word by taking words in the target word sequence as units according to the moving operation;
and the text selection module is used for determining the text between the two moved selectors as the text selected from the target word sequence.
12. The apparatus of claim 11, wherein the target character sequence determining module is further configured to display a social message, detect a text selection operation corresponding to the social message, and use text content in the social message as a target character sequence according to the text selection operation.
13. The apparatus of claim 11, wherein the apparatus further comprises:
the operation option menu display module is used for displaying an operation option menu corresponding to the target character sequence;
an option selection operation detection module for detecting an option selection operation acting on the operation option menu;
and the word segmentation module is further used for segmenting the target character sequence when the operation option selected by the option selection operation is a preset option so as to convert the target character sequence into a target word sequence.
14. The apparatus of claim 11, wherein the word segmentation module is further configured to segment the target character sequence to obtain a sequence of intermediate words, and combine words in the sequence of intermediate words that are adjacent and conform to a preset phrase template to convert the target character sequence into a sequence of target words.
15. The apparatus of claim 14, wherein the pre-set phrase template comprises at least one of an address phrase template, a homonym phrase template, and a heteronym phrase template.
16. The apparatus of claim 11, wherein the selector presentation module is further configured to obtain a position of a cursor in the target character sequence, determine a default selected word in the target word sequence according to the position of the cursor, and present two selectors representing selection of the default selected word between words in the target word sequence.
17. The apparatus of claim 16, wherein the selector presentation module is further configured to, when the cursor is located in a word in the target word sequence, select the word in which the cursor is located as a default selected word.
18. The apparatus of claim 17, wherein the selector presentation module is further configured to obtain a corresponding character length of a word adjacent to the cursor when the cursor is located between words in the target word sequence, and determine a default selected word from the adjacent words according to the corresponding character length.
19. The apparatus according to any one of claims 11 to 18, further comprising:
the moving distance acquisition module is used for acquiring the moving distance corresponding to the moving operation;
the moving distance comparison module is used for comparing the moving distance with a preset single character distance;
and the selector moving module is further used for moving the corresponding selector word by word in units of words in the target word sequence according to the moving operation when the moving distance exceeds the preset single character distance.
20. The apparatus of claim 19, wherein the selector movement module is further configured to move the corresponding selector in units of single characters according to the movement operation when the movement distance is less than or equal to the preset single character distance.
21. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any one of claims 1 to 10.
22. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 10.
CN201710862068.4A 2017-09-21 2017-09-21 Text selection method, text selection device, computer readable storage medium and computer equipment Active CN109543174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710862068.4A CN109543174B (en) 2017-09-21 2017-09-21 Text selection method, text selection device, computer readable storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710862068.4A CN109543174B (en) 2017-09-21 2017-09-21 Text selection method, text selection device, computer readable storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN109543174A CN109543174A (en) 2019-03-29
CN109543174B true CN109543174B (en) 2023-05-09

Family

ID=65823467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710862068.4A Active CN109543174B (en) 2017-09-21 2017-09-21 Text selection method, text selection device, computer readable storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN109543174B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111859850A (en) * 2020-07-29 2020-10-30 厦门亿联网络技术股份有限公司 Method and device for integrating rich text fragments, electronic equipment and storage medium
CN115238049B (en) * 2022-06-17 2023-08-04 北京优酷科技有限公司 Script labeling method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801659B1 (en) * 1999-01-04 2004-10-05 Zi Technology Corporation Ltd. Text input system for ideographic and nonideographic languages
CN1639544A (en) * 2001-09-19 2005-07-13 艾利森电话股份有限公司 Method for navigation and selection at a terminal device
CN103076893A (en) * 2012-12-31 2013-05-01 百度在线网络技术(北京)有限公司 Method and equipment for realizing voice input
CN103257957A (en) * 2012-02-15 2013-08-21 深圳市腾讯计算机系统有限公司 Chinese word segmentation based text similarity identifying method and device
CN103324674A (en) * 2013-05-24 2013-09-25 优视科技有限公司 Method and device for selecting webpage content
CN104216617A (en) * 2014-08-27 2014-12-17 小米科技有限责任公司 Cursor position determination method and device
CN104317494A (en) * 2014-10-11 2015-01-28 广东欧珀移动通信有限公司 Method and system for moving cursor
CN104541239A (en) * 2012-04-07 2015-04-22 摩托罗拉移动有限责任公司 Text select and enter
CN105320445A (en) * 2014-07-28 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Text selection method and device as well as terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20021759A0 (en) * 2002-10-03 2002-10-03 Nokia Corp Method and interface for entering text

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801659B1 (en) * 1999-01-04 2004-10-05 Zi Technology Corporation Ltd. Text input system for ideographic and nonideographic languages
CN1639544A (en) * 2001-09-19 2005-07-13 艾利森电话股份有限公司 Method for navigation and selection at a terminal device
CN103257957A (en) * 2012-02-15 2013-08-21 深圳市腾讯计算机系统有限公司 Chinese word segmentation based text similarity identifying method and device
CN104541239A (en) * 2012-04-07 2015-04-22 摩托罗拉移动有限责任公司 Text select and enter
CN103076893A (en) * 2012-12-31 2013-05-01 百度在线网络技术(北京)有限公司 Method and equipment for realizing voice input
CN103324674A (en) * 2013-05-24 2013-09-25 优视科技有限公司 Method and device for selecting webpage content
CN105320445A (en) * 2014-07-28 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Text selection method and device as well as terminal
CN104216617A (en) * 2014-08-27 2014-12-17 小米科技有限责任公司 Cursor position determination method and device
CN104317494A (en) * 2014-10-11 2015-01-28 广东欧珀移动通信有限公司 Method and system for moving cursor

Also Published As

Publication number Publication date
CN109543174A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN106484266B (en) Text processing method and device
US20130007606A1 (en) Text deletion
EP2360566A2 (en) Method and apparatus for selecting hyperlinks
AU2014312473A1 (en) Apparatus and method for displaying chart in electronic device
US10810698B2 (en) Information processing method and client
CN109074547B (en) Text message ordering based on message content
US20150058708A1 (en) Systems and methods of character dialog generation
KR20170026273A (en) Apparatus and method for inserting text in image
CN107908604B (en) Report form graph generation method and device, computer equipment and storage medium
CN107861932B (en) Text editing method, device and system and terminal equipment
CN109543174B (en) Text selection method, text selection device, computer readable storage medium and computer equipment
US9519404B2 (en) Image segmentation for data verification
CN109743613B (en) Subtitle processing method, device, terminal and storage medium
EP3467633B1 (en) Method, device, and terminal device for extracting data
CN107133204B (en) Terminal shortcut input method
CN112925987A (en) Page sharing method and device, computer equipment and storage medium
US9696818B2 (en) Bidirectional text selection
CN114417226A (en) Page generation method, display method, device, electronic equipment and storage medium
CN112783382B (en) Method, device, terminal and storage medium for setting document icons
US11132497B2 (en) Device and method for inputting characters
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN108182202B (en) Content update notification method, content update notification device, electronic equipment and storage medium
CN107423273B (en) Text editing method and device
CN112596803A (en) Control string truncation checking method and device, computer equipment and storage medium
US20210149967A1 (en) Document management apparatus, document management system, and non-transitory computer readable medium storing program

Legal Events

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