Unlock instant, AI-driven research and patent intelligence for your innovation.

A text processing method and device

A text processing and text technology, applied in the field of human-computer interaction, can solve the problems of time-consuming and inconvenient operation, and achieve the effect of improving efficiency

Active Publication Date: 2020-01-14
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the user of the touch terminal wants to operate on the keywords of interest in the text information (such as searching for keywords in the text information or sharing the keywords in the text information), it needs to perform multi-step operations, and the operation takes a long time. inconvenient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A text processing method and device
  • A text processing method and device
  • A text processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0092] see figure 1 , which is a flow chart of Embodiment 1 of the text processing method provided by the present invention.

[0093] The text processing method provided by this embodiment includes:

[0094] S101: In response to an external touch sensed by the touch terminal, acquire position information of the external touch;

[0095] It can be understood that the touch terminal can be any device with a touch sensing function, including but not limited to mobile phones and tablet computers. The external touch sensed by it includes but is not limited to single-point or multi-point pressing, single-point or multi-point sliding operation, single-point or multi-point touch, single-point or multi-point pressure touch, and touch area sensing. When the external operation satisfies the corresponding sensing threshold, the touch terminal can sense the corresponding external operation.

[0096] It should be noted that when the touch terminal senses an external touch, it will obtain ...

Embodiment 2

[0112] see figure 2 , which is a flow chart of Embodiment 2 of the text processing method provided by the present invention. Compared tofigure 1 , this embodiment provides a more specific text processing method.

[0113] S201 in this embodiment is the same as S101 in Method Embodiment 1, and details are not repeated here.

[0114] The text processing method provided by this embodiment also includes:

[0115] S202: Obtain area position information of each display area on the touch terminal;

[0116] It can be understood that the position of each display area on the touch terminal can be changed according to the operation. Therefore, in order to ensure that the text in the area of ​​interest to the user is correctly obtained, the word segmentation area should be determined based on the position of each display area on the touch terminal when external touch is sensed.

[0117] S203: Detect the positional relationship between the external touch and each display area on the to...

Embodiment 3

[0129] see image 3 , which is a flow chart of Embodiment 3 of the text processing method provided by the present invention. Compared to figure 1 , this embodiment provides a more specific text processing method.

[0130] S301-S304 in this embodiment are respectively the same as S101-S104 in the first method embodiment, and will not be repeated here.

[0131] It can be understood that the word segmentation results obtained in the above embodiments can be displayed to the user in a window. And, the user can choose to close the keyword selection window to terminate the keyword selection process.

[0132] The text processing method provided by this embodiment also includes:

[0133] S305: Generate a word segmentation display interface and at least one view control;

[0134] S306: Add each word in the word segmentation result to a view control, and display all view controls on the word segmentation display interface.

[0135] It should be noted, Figure 8(a)-Figure 8(c) A s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a text processing method. The text processing method comprises the following steps of: acquiring location information of an external touch in response to the external touch sensed by a touch terminal; determining a word segmentation area according to the location information of the external touch; recognizing characters in the word segmentation area to obtain a first text; performing word segmentation to characters in the first text to obtain a word segmentation result; displaying the word segmentation result. The text processing method and the device provided by the invention combine touch sensing, character recognition and word segmentation, the characters, words, named entities and the like in the area designated through the external touch can be efficiently obtained, the user can conveniently and directly select the keywords in the text, the user does not need to additionally input keywords in subsequent operation and the operation efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of human-computer interaction, in particular to a text processing method and device. Background technique [0002] At present, people receive a large amount of text information on touch terminals such as mobile phones or tablet computers every day, such as message pushes from major applications such as short messages and instant messaging software. When the user of the touch terminal wants to operate on the keywords of interest in the text information (such as searching for keywords in the text information or sharing the keywords in the text information), it needs to perform multi-step operations, and the operation takes a long time. Not convenient. [0003] Therefore, those skilled in the art need to provide a text processing method and device, which can facilitate users to operate keywords in the text. Contents of the invention [0004] In order to solve the problems in the prior art, the prese...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0483G06F3/0488
CPCG06F3/0483G06F3/0488
Inventor 罗永浩田作辉
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD