WO2017219595A1 - 文本选择方法及装置 - Google Patents
文本选择方法及装置 Download PDFInfo
- Publication number
- WO2017219595A1 WO2017219595A1 PCT/CN2016/106379 CN2016106379W WO2017219595A1 WO 2017219595 A1 WO2017219595 A1 WO 2017219595A1 CN 2016106379 W CN2016106379 W CN 2016106379W WO 2017219595 A1 WO2017219595 A1 WO 2017219595A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- selection point
- text
- display position
- drag
- point
- Prior art date
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 23
- 238000000034 method Methods 0.000 claims abstract description 18
- 230000000694 effects Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04812—Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/284—Lexical analysis, e.g. tokenisation or collocates
Definitions
- the present disclosure relates to the field of text processing, and in particular, to a text selection method and apparatus.
- the text to be selected is semantically divided into several text blocks that conform to the semantic granularity.
- the first display position of the start selection point or the end selection point is changed to The second display position includes:
- the dividing module includes:
- a first determining sub-module configured to determine a semantic granularity, the semantic granularity being a word, a sentence, or a paragraph;
- the forward drag is at least one of a horizontal left drag and a vertical upward drag
- the backward drag is at least one of a horizontal right drag and a vertical downward drag.
- a text selection apparatus comprising:
- the first display position of the start selection point or the end selection point is changed to the second display position according to the drag operation in units of text blocks.
- the text to be selected is semantically divided into several text blocks, and a drag operation corresponding to the start selection point or the end selection point is received.
- the first display position of the start selection point or the end selection point is changed to the second display position according to the drag operation, and the display position of the selection point is determined only according to the user operation in the related art.
- the operation is not accurate, which leads to the problem that the target text is not selected accurately. It is achieved that the selected target text is changed in units of text blocks divided according to semantics, so that the content of the selected target text conforms to the semantics and more accurate effects. .
- FIG. 1 is a flowchart of a text selection method according to an exemplary embodiment
- FIG. 2 is a flowchart of a text selection method according to another exemplary embodiment
- FIG. 3A is a schematic diagram of an interface according to another exemplary embodiment
- FIG. 3B is a schematic diagram of an interface according to another exemplary embodiment
- FIG. 4A is a schematic diagram of an interface according to another exemplary embodiment
- 4B is a schematic diagram of an interface, according to another exemplary embodiment.
- 4C is a schematic diagram of an interface, according to another exemplary embodiment.
- FIG. 5A is a schematic diagram of an interface according to another exemplary embodiment
- FIG. 5B is a schematic diagram of an interface according to another exemplary embodiment
- FIG. 5C is a schematic diagram of an interface according to another exemplary embodiment.
- FIG. 6 is a flowchart of a text selection method according to another exemplary embodiment
- FIG. 7 is a block diagram of a text selection apparatus according to an exemplary embodiment
- FIG. 8 is a block diagram of a text selection apparatus according to another exemplary embodiment.
- FIG. 9 is a block diagram of a text selection apparatus, according to another exemplary embodiment.
- the text selection method provided by various embodiments of the present disclosure may be implemented by a terminal having a display screen.
- the terminal can be a mobile phone, a tablet computer, an e-book reader, a MP3 (Moving Picture Experts Group Audio Layer III) player, and an MP4 (Moving Picture Experts Group Audio Layer IV). Level 4) Electronic devices such as players, laptops, and desktop computers.
- FIG. 1 is a flow chart showing a text selection method according to an exemplary embodiment. This embodiment is exemplified by applying the text selection method to the terminal, and includes the following steps:
- step 101 in the text to be selected, the first display position of the start selection point and the end selection point is determined, and the text between the start selection point and the end selection point is the target text, and the target text includes at least one character.
- step 102 the text to be selected is semantically divided into a number of text blocks.
- step 103 a drag operation corresponding to the start selection point or the end selection point is received.
- step 104 the first display position of the start selection point or the end selection point is changed to the second display position according to the drag operation in units of text blocks.
- the text selection method determines the first display position of the initial selection point and the end selection point in the text to be selected, and divides the text to be selected into semantics according to semantics. Drying a text block, receiving a drag operation corresponding to the start selection point or the end selection point, and changing the first display position of the start selection point or the end selection point to the second display according to the drag operation in units of text blocks Position; solves the problem that the display position of the selection point is determined only according to the user operation in the related art, and the selection of the target text is not accurate due to the inaccurate user operation; the selection is made in units of text blocks divided according to semantics.
- the target text makes the content of the selected target text conform to the semantics and more accurate effects.
- FIG. 2 is a flow chart showing a text selection method according to another exemplary embodiment. This embodiment is exemplified by applying the text selection method to the terminal, and includes the following steps:
- step 201 an operation corresponding to the text to be selected is received, the operation causing the text to be selected to enter the selection mode.
- the text to be selected is any one of the texts displayed in the terminal.
- the operation is a click operation, when the terminal detects that the operation duration of the click operation corresponding to the text to be selected is greater than a predetermined threshold, or when detecting that the click operation is a double-click operation, the text to be selected is entered into the selection mode, wherein
- the predetermined threshold is preset by the system or customized by the user, which is not limited in this embodiment.
- step 202 in the text to be selected, the first display position of the start selection point and the end selection point is determined, and the text between the start selection point and the end selection point is the target text, and the target text includes at least one character.
- a start selection point and an end selection point appear in the text, and the text between the start selection point and the end selection point is the target text, the start selection point and the end selection point.
- the first display position is within a predetermined area of the operation point at which the operation is received, and the present embodiment does not limit the style of the start selection point and the end selection point, and the predetermined area.
- the first display position of the initial selection point is in front of the first display position of the end selection point, and the front side is at least one of a horizontal left side and a vertical upper side.
- an operation menu for operating the target text appears, and the operation menu includes: setting options of semantic granularity, and operation options for the selected target text, this embodiment
- the content and form of the operation menu and the position where it appears are not limited.
- At least one of the background display color, the text color, and the text font of the target text is different from the other texts, so that the display effect of the target text is different from other texts, which is not limited in this embodiment. set.
- the terminal 301 displays the text 302 to be selected.
- the text 302 to be selected enters. Select the mode.
- a start selection point 304 and an end selection point 305 appear, and an operation menu 306, as shown in FIG. 3B.
- the first display position of the start selection point 304 and the end selection point 305 is within a predetermined area around the operation point 303, and the target text between the start selection point 304 and the end selection point 305 is the target text.
- the operation menu 306 includes a setting option 307 for semantic granularity and an operational option 308 for the target text.
- the setting option 307 of the semantic granularity includes: words, sentences and paragraphs
- the operation options 308 for the target text include: copying and cutting.
- step 203 semantic granularity is determined, which is a word, sentence, or paragraph.
- the terminal receives the operation corresponding to the setting option of the semantic granularity in the operation menu to determine the semantic granularity.
- step 204 the text to be selected is semantically divided into a number of text blocks that conform to the semantic granularity.
- the terminal matches the character string in the text to be selected with the term in the machine dictionary, if the character string in the text to be selected is a term in the machine dictionary, then Dividing the string into a block of text. If the character in the text to be selected cannot be combined with the characters before and after it becomes a term in the machine dictionary, the character is used as a block of text, that is, when the semantic granularity is a word
- the divided blocks of text are words, characters, or punctuation.
- the terminal divides the text to be selected into several text blocks by detecting punctuation of the text to be selected, and each text block is a sentence, including a string and a character string. Punctuation.
- the terminal divides the text to be selected into a plurality of text blocks by detecting a line break in the text to be selected, and each text block is a paragraph.
- This embodiment does not limit the division method.
- the division result of the text 302 to be selected is as shown in FIG. 4A, with "/" as a gap between text blocks; when semantic granularity When it is a sentence, the division result of the selection text 302 is as shown in FIG. 4B, with "/" as the text block.
- the gap; when the semantic granularity is a paragraph, the division result of the text 302 to be selected is as shown in FIG. 4C, with "/" as a gap between the text blocks.
- step 205 when the first display position of the at least one selection point in the initial selection point and the end selection point is located inside the text block, the first display position of the start selection point and the end selection point is adjusted according to the text block, so that The first display position of the start selection point and the end selection point respectively stay at a closest gap position, and the gap position is a position between two text blocks.
- adjusting the first display position of the start selection point and the end selection point according to the text block so that the first display position of the start selection point moves forward and stays at a gap position between the text block and the previous text block, so that The second display position of the end selection point moves backward and stays at a gap position between the text block and the next text block, wherein the forward movement is at least one of a lateral leftward movement and a vertical upward movement, and the backward movement is At least one of a lateral rightward movement and a vertical downward movement.
- step is optional.
- the step is not necessary to perform the step to adjust the first display position.
- the result of dividing the text to be selected 302 is as shown in FIG. 4A, and the initial selection point 304 and the end selection point 305 in FIG. 3B are adjusted to As shown in FIG. 5A; when the semantic granularity is a sentence, the initial selection point 304 and the end selection point 305 in FIG. 3B are adjusted as shown in FIG. 5B; when the semantic granularity is a paragraph, in FIG. 3B The start selection point 304 and the end selection point 305 are adjusted as shown in FIG. 5C.
- step 206 a drag operation corresponding to the start selection point or the end selection point is received.
- step 207 when the drag operation is to drag the start selection point forward, the first display position of the start selection point is moved forward by several text blocks to obtain a second display position.
- the forward drag is at least one of a horizontal left drag and a vertical upward drag.
- the backward dragging is at least one of a horizontal right drag and a vertical downward drag.
- the first display position moves forward or backward according to the drag operation by a predetermined number.
- any of the foregoing steps 207-210 may be replaced by the steps shown in FIG. 6:
- step 602 a gap position closest to the end position is found, the gap position being the position between the two text blocks.
- the end position is the same as the distance between the left and right gap positions, it randomly stays at one of the gap positions.
- the dividing module 720 is configured to divide the text to be selected into a plurality of text blocks according to semantics
- the text selection method determines the first display position of the start selection point and the end selection point in the text to be selected, and divides the text to be selected into several text blocks according to semantics. Receiving a drag operation corresponding to the start selection point or the end selection point, and changing the first display position of the start selection point or the end selection point to the second display position according to the drag operation in units of text blocks;
- the display position of the selection point is determined according to the user operation, and the selection of the target text is not accurate due to the inaccurate user operation; the selected target text is changed in units of text blocks divided according to semantics.
- the content of the selected target text is semantic and more Accurate results.
- the dividing module 820 includes:
- the operation module 850 is configured to change the first display position of the start selection point or the end selection point to the second display position according to the drag operation in units of text blocks.
- An exemplary embodiment of the present disclosure provides a text selection apparatus capable of implementing a text selection method provided by the present disclosure, the apparatus comprising: a processor, a memory for storing processor executable instructions;
- Memory 904 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 906 provides power to various components of device 900.
- Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
- the I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 914 includes one or more sensors for providing device 900 with various aspects of status assessment.
- sensor component 914 can detect an open/closed state of device 900, a relative positioning of components, such as a display and a keypad of device 900, and sensor component 914 can also detect a change in position of one component of device 900 or device 900, user The presence or absence of contact with device 900, device 900 orientation or acceleration/deceleration and temperature variation of device 900.
- Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices.
- the device 900 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof.
- communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- communication component 916 also includes a near field communication (NFC) module to facilitate short range communication.
- NFC near field communication
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
Claims (11)
- 一种文本选择方法,其特征在于,所述方法包括:在待选择文本中,确定起始选择点和结束选择点的第一显示位置,所述起始选择点和所述结束选择点之间的文本为目标文本,所述目标文本至少包括一个字符;将所述待选择文本按照语义划分为若干个文本块;接收对应于所述起始选择点或所述结束选择点的拖动操作;以所述文本块为单位,根据所述拖动操作将所述起始选择点或所述结束选择点的所述第一显示位置改变为第二显示位置。
- 根据权利要求1所述的方法,其特征在于,所述将所述待选择文本按照语义划分为若干个文本块,包括:确定语义颗粒度,所述语义颗粒度是词语、句子或段落;将所述待选择文本按照语义划分为符合所述语义颗粒度的若干个文本块。
- 根据权利要求1或2所述的方法,其特征在于,所述根据所述拖动操作将所述起始选择点或所述结束选择点的所述第一显示位置改变为第二显示位置,包括:当所述拖动操作是将所述起始选择点向前拖动时,将所述起始选择点的所述第一显示位置向前移动若干个文本块得到所述第二显示位置;当所述拖动操作是将所述起始选择点向后拖动时,将所述起始选择点的所述第一显示位置向后移动若干个文本块得到所述第二显示位置;当所述拖动操作是将所述结束选择点向前拖动时,将所述结束选择点的所述第一显示位置向前移动若干个文本块得到所述第二显示位置;当所述拖动操作是将所述结束选择点向后拖动时,将所述结束选择点的所述第一显示位置向后移动若干个文本块得到所述第二显示位置;其中,向前拖动是横向向左拖动和竖向向上拖动中的至少一种,向后拖动是横向向右拖动和竖向向下拖动中的至少一种。
- 根据权利要求1或2所述的方法,其特征在于,所述根据所述拖动操作将所述起始选择点或所述结束选择点的所述第一显示位置改变为第二显示位置,包括:获取所述拖动操作的结束位置;查找与所述结束位置距离最近的一个间隙位置,所述间隙位置是两个文本块之间的位置;将所述间隙位置确定为所述起始选择点或所述结束选择点的所述第二显示位置。
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:当所述起始选择点和所述结束选择点中存在至少一个选择点的所述第一显示位置位于所述文本块内部时,根据所述文本块调整所述起始选择点和所述结束选择点的所述第一显示位置,使所述起始选择点和所述结束选择点的所述第一显示位置分别停留在距离最近的一个间隙位置,所述间隙位置是两个文本块之间的位置。
- 一种文本选择装置,其特征在于,所述装置包括:确定模块,被配置为在待选择文本中,确定起始选择点和结束选择点的第一显示位置,所述起始选择点和所述结束选择点之间的文本为目标文本,所述目标文本至少包括一个字符;划分模块,被配置为将所述待选择文本按照语义划分为若干个文本块;接收模块,被配置为接收对应于所述起始选择点或所述结束选择点的拖动操作;操作模块,被配置为以所述文本块为单位,根据所述拖动操作将所述起始选择点或所述结束选择点的所述第一显示位置改变为第二显示位置。
- 根据权利要求6所述的装置,其特征在于,所述划分模块包括:第一确定子模块,被配置为确定语义颗粒度,所述语义颗粒度是词语、句子或段落;划分子模块,被配置为将所述待选择文本按照语义划分为符合所述语义颗 粒度的若干个文本块。
- 根据权利要求6或7所述的装置,其特征在于,所述操作模块被配置为:当所述拖动操作是将所述起始选择点向前拖动时,将所述起始选择点的所述第一显示位置向前移动若干个文本块得到所述第二显示位置;当所述拖动操作是将所述起始选择点向后拖动时,将所述起始选择点的所述第一显示位置向后移动若干个文本块得到所述第二显示位置;当所述拖动操作是将所述结束选择点向前拖动时,将所述结束选择点的所述第一显示位置向前移动若干个文本块得到所述第二显示位置;当所述拖动操作是将所述结束选择点向后拖动时,将所述结束选择点的所述第一显示位置向后移动若干个文本块得到所述第二显示位置;其中,向前拖动是横向向左拖动和竖向向上拖动中的至少一种,向后拖动是横向向右拖动和竖向向下拖动中的至少一种。
- 根据权利要求6或7所述的装置,其特征在于,所述操作模块包括:获取子模块,被配置为获取所述拖动操作的结束位置;查找子模块,被配置为查找与所述结束位置距离最近的一个间隙位置,所述间隙位置是两个文本块之间的位置;第二确定子模块,被配置为将所述间隙位置确定为所述起始选择点或所述结束选择点的所述第二显示位置。
- 根据权利要求6或7所述的装置,其特征在于,所述装置还包括:调整模块,被配置为当所述起始选择点和所述结束选择点中存在至少一个选择点的所述第一显示位置位于所述文本块内部时,根据所述文本块调整所述起始选择点和所述结束选择点的所述第一显示位置,使所述起始选择点和所述结束选择点的所述第一显示位置分别停留在距离最近的一个间隙位置,所述间隙位置是两个文本块之间的位置。
- 一种文本选择装置,其特征在于,所述装置包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为:在待选择文本中,确定起始选择点和结束选择点的第一显示位置,所述起始选择点和所述结束选择点之间的文本为目标文本,所述目标文本至少包括一个字符;将所述待选择文本按照语义划分为若干个文本块;接收对应于所述起始选择点或所述结束选择点的拖动操作;以所述文本块为单位,根据所述拖动操作将所述起始选择点或所述结束选择点的所述第一显示位置改变为第二显示位置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2017112514A RU2668736C1 (ru) | 2016-06-23 | 2016-11-18 | Способ и устройство для выбора текста |
JP2017502605A JP2018530015A (ja) | 2016-06-23 | 2016-11-18 | テキスト選択方法及び装置 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610466423.1A CN106126052A (zh) | 2016-06-23 | 2016-06-23 | 文本选择方法及装置 |
CN201610466423.1 | 2016-06-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017219595A1 true WO2017219595A1 (zh) | 2017-12-28 |
Family
ID=57268197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/106379 WO2017219595A1 (zh) | 2016-06-23 | 2016-11-18 | 文本选择方法及装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US10296201B2 (zh) |
EP (1) | EP3260967A1 (zh) |
JP (1) | JP2018530015A (zh) |
CN (1) | CN106126052A (zh) |
RU (1) | RU2668736C1 (zh) |
WO (1) | WO2017219595A1 (zh) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126052A (zh) * | 2016-06-23 | 2016-11-16 | 北京小米移动软件有限公司 | 文本选择方法及装置 |
CN106325688B (zh) * | 2016-08-17 | 2020-01-14 | 北京字节跳动网络技术有限公司 | 一种文本处理方法及装置 |
CN107015738A (zh) * | 2016-09-20 | 2017-08-04 | 阿里巴巴集团控股有限公司 | 一种文本选择方法和设备 |
CN106844317A (zh) * | 2016-12-19 | 2017-06-13 | 深圳众思科技有限公司 | 文本选择方法及装置 |
CN106951168B (zh) * | 2017-03-03 | 2020-05-19 | 宇龙计算机通信科技(深圳)有限公司 | 一种文字处理方法及移动终端 |
CN106919307B (zh) * | 2017-03-09 | 2018-12-04 | 维沃移动通信有限公司 | 一种文本复制方法及移动终端 |
CN108664201B (zh) * | 2017-03-29 | 2021-12-28 | 北京搜狗科技发展有限公司 | 一种文本编辑方法、装置及电子设备 |
CN107423273B (zh) * | 2017-05-09 | 2020-05-05 | 北京字节跳动网络技术有限公司 | 一种文本编辑方法及装置 |
CN110032324B (zh) * | 2018-01-11 | 2024-03-05 | 荣耀终端有限公司 | 一种文本选中方法及终端 |
US10684764B2 (en) | 2018-03-28 | 2020-06-16 | Microsoft Technology Licensing, Llc | Facilitating movement of objects using semantic analysis and target identifiers |
CN108717347B (zh) * | 2018-05-25 | 2020-04-14 | 北京金堤科技有限公司 | 商业信息交互识别方法、装置和电子设备 |
CN108959248A (zh) * | 2018-06-21 | 2018-12-07 | 北京明略软件***有限公司 | 一种实体标注方法和装置、计算机可读存储介质 |
CN109241541A (zh) * | 2018-08-14 | 2019-01-18 | 平安普惠企业管理有限公司 | 基于语音转换的交互方法及终端设备 |
JP7238314B2 (ja) * | 2018-10-02 | 2023-03-14 | カシオ計算機株式会社 | 電子機器、テキスト処理方法、およびプログラム |
CN110825285B (zh) * | 2019-10-28 | 2022-02-08 | 维沃移动通信有限公司 | 一种文本复制方法及移动终端 |
CN113254815B (zh) * | 2020-02-08 | 2023-11-10 | 钉钉控股(开曼)有限公司 | 文档处理、页面处理方法及设备 |
CN114265525A (zh) * | 2021-12-27 | 2022-04-01 | 咪咕数字传媒有限公司 | 文本选中方法、装置、电子设备及可读存储介质 |
CN115080170A (zh) * | 2022-06-29 | 2022-09-20 | 维沃移动通信有限公司 | 信息处理方法、信息处理装置和电子设备 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526881A (zh) * | 2008-03-04 | 2009-09-09 | 苹果公司 | 使用手势选择文本 |
US20120229493A1 (en) * | 2011-03-09 | 2012-09-13 | Lg Electronics Inc. | Mobile terminal and text cursor operating method thereof |
CN103186345A (zh) * | 2013-02-25 | 2013-07-03 | 北京极兴莱博信息科技有限公司 | 一种文段选择方法、字段选择方法、装置及终端 |
CN103608760A (zh) * | 2011-06-03 | 2014-02-26 | 谷歌公司 | 用于选择文本的手势 |
CN104375980A (zh) * | 2014-11-18 | 2015-02-25 | 小米科技有限责任公司 | 文本内容选择方法及装置 |
CN106126052A (zh) * | 2016-06-23 | 2016-11-16 | 北京小米移动软件有限公司 | 文本选择方法及装置 |
Family Cites Families (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0612411A (ja) * | 1992-06-25 | 1994-01-21 | Sanyo Electric Co Ltd | 文書処理装置 |
JPH09190436A (ja) * | 1996-01-12 | 1997-07-22 | Toshiba Corp | 情報処理装置及び範囲指定方法 |
US20060053382A1 (en) * | 2004-09-03 | 2006-03-09 | Biowisdom Limited | System and method for facilitating user interaction with multi-relational ontologies |
DE102005003333A1 (de) * | 2005-01-25 | 2006-07-27 | Büstgens, Burkhard, Dr.-Ing. | Verfahren für den positionsabhängigen Farbauftrag auf konturierten Flächen |
US8201109B2 (en) * | 2008-03-04 | 2012-06-12 | Apple Inc. | Methods and graphical user interfaces for editing on a portable multifunction device |
JP5368547B2 (ja) * | 2008-04-05 | 2013-12-18 | ソーシャル・コミュニケーションズ・カンパニー | 共有仮想エリアコミュニケーション環境ベースの装置および方法 |
US20100030549A1 (en) * | 2008-07-31 | 2010-02-04 | Lee Michael M | Mobile device having human language translation capability with positional feedback |
JP2012027723A (ja) * | 2010-07-23 | 2012-02-09 | Sony Corp | 情報処理装置、情報処理方法及び情報処理プログラム |
US9002701B2 (en) * | 2010-09-29 | 2015-04-07 | Rhonda Enterprises, Llc | Method, system, and computer readable medium for graphically displaying related text in an electronic document |
US20120185787A1 (en) * | 2011-01-13 | 2012-07-19 | Microsoft Corporation | User interface interaction behavior based on insertion point |
US9215506B2 (en) * | 2011-03-31 | 2015-12-15 | Tivo Inc. | Phrase-based communication system |
US8750042B2 (en) | 2011-07-28 | 2014-06-10 | Sandisk Technologies Inc. | Combined simultaneous sensing of multiple wordlines in a post-write read (PWR) and detection of NAND failures |
US9146670B2 (en) * | 2011-09-10 | 2015-09-29 | Microsoft Technology Licensing, Llc | Progressively indicating new content in an application-selectable user interface |
US20130125008A1 (en) * | 2011-11-15 | 2013-05-16 | Stremor Corporation | Systems And Methods For Providing Content Streams |
CA2821814C (en) * | 2012-04-30 | 2017-01-10 | Research In Motion Limited | Method and apparatus for text selection |
CN102937864B (zh) * | 2012-10-31 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | 一种用于在触摸终端上确定所选文本的方法与设备 |
CN104007832B (zh) * | 2013-02-25 | 2017-09-01 | 上海触乐信息科技有限公司 | 连续滑行输入文本的方法、***及设备 |
US20140280109A1 (en) * | 2013-03-14 | 2014-09-18 | Google Inc. | User-Guided Term Suggestions |
US9431008B2 (en) * | 2013-05-29 | 2016-08-30 | Nuance Communications, Inc. | Multiple parallel dialogs in smart phone applications |
US20150121179A1 (en) * | 2013-10-25 | 2015-04-30 | Palo Alto Research Center Incorporated | System and method for creating graphically rich messages incorporating shared docments |
RU2608884C2 (ru) * | 2014-06-30 | 2017-01-25 | Общество С Ограниченной Ответственностью "Яндекс" | Реализуемый компьютером способ обеспечения графического пользовательского интерфейса на экране дисплея электронного устройства браузерным контекстным помощником (варианты), сервер и электронное устройство, используемые в нем |
US10387034B2 (en) * | 2015-09-03 | 2019-08-20 | Microsoft Technology Licensing, Llc | Modifying captured stroke information into an actionable form |
US20170109335A1 (en) * | 2015-10-16 | 2017-04-20 | Microsoft Technology Licensing, Llc | Authoring visual representations for text-based documents |
US10565225B2 (en) * | 2016-03-04 | 2020-02-18 | International Business Machines Corporation | Exploration and navigation of a content collection |
US10102191B2 (en) * | 2016-06-16 | 2018-10-16 | Adobe Systems Incorporated | Propagation of changes in master content to variant content |
-
2016
- 2016-06-23 CN CN201610466423.1A patent/CN106126052A/zh active Pending
- 2016-11-18 RU RU2017112514A patent/RU2668736C1/ru active
- 2016-11-18 JP JP2017502605A patent/JP2018530015A/ja active Pending
- 2016-11-18 WO PCT/CN2016/106379 patent/WO2017219595A1/zh active Application Filing
-
2017
- 2017-06-16 US US15/625,158 patent/US10296201B2/en active Active
- 2017-06-19 EP EP17176659.5A patent/EP3260967A1/en not_active Ceased
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526881A (zh) * | 2008-03-04 | 2009-09-09 | 苹果公司 | 使用手势选择文本 |
US20120229493A1 (en) * | 2011-03-09 | 2012-09-13 | Lg Electronics Inc. | Mobile terminal and text cursor operating method thereof |
CN103608760A (zh) * | 2011-06-03 | 2014-02-26 | 谷歌公司 | 用于选择文本的手势 |
CN103186345A (zh) * | 2013-02-25 | 2013-07-03 | 北京极兴莱博信息科技有限公司 | 一种文段选择方法、字段选择方法、装置及终端 |
CN104375980A (zh) * | 2014-11-18 | 2015-02-25 | 小米科技有限责任公司 | 文本内容选择方法及装置 |
CN106126052A (zh) * | 2016-06-23 | 2016-11-16 | 北京小米移动软件有限公司 | 文本选择方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106126052A (zh) | 2016-11-16 |
US10296201B2 (en) | 2019-05-21 |
US20170371513A1 (en) | 2017-12-28 |
RU2668736C1 (ru) | 2018-10-02 |
EP3260967A1 (en) | 2017-12-27 |
JP2018530015A (ja) | 2018-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017219595A1 (zh) | 文本选择方法及装置 | |
US10936798B2 (en) | Text editing method, device, and electronic apparatus | |
JP6321296B2 (ja) | テキスト入力方法、装置、プログラム及び記録媒体 | |
WO2015176483A1 (zh) | 标签创建方法、装置及终端 | |
WO2016065814A1 (zh) | 信息选取方法及装置 | |
US9959487B2 (en) | Method and device for adding font | |
US10078422B2 (en) | Method and device for updating a list | |
US20150242118A1 (en) | Method and device for inputting | |
WO2015139469A1 (zh) | 网页调整方法、装置及电子设备 | |
CN104133623B (zh) | 页面缩放方法和装置 | |
WO2016206295A1 (zh) | 字符确定方法及装置 | |
WO2016061927A1 (zh) | 描述信息的显示方法及装置、电子设备 | |
WO2020042468A1 (zh) | 一种数据处理方法、装置和用于数据处理的装置 | |
US20150116368A1 (en) | Method and device for adjusting characters of application | |
CN105094539B (zh) | 参考信息显示方法和装置 | |
WO2016026297A1 (zh) | 光标定位的方法及装置 | |
CN112584222A (zh) | 视频处理方法和装置、用于视频处理的装置 | |
US10013151B2 (en) | Method and terminal device for adjusting widget | |
WO2021000450A1 (zh) | 一种触控信号处理方法、装置及介质 | |
CN109977424B (zh) | 一种机器翻译模型的训练方法及装置 | |
CN112329480A (zh) | 一种区域调整方法、装置和电子设备 | |
CN109308126B (zh) | 一种候选词展示方法和装置 | |
CN111092971A (zh) | 一种显示方法、装置和用于显示的装置 | |
US10423706B2 (en) | Method and device for selecting information | |
CN112115947A (zh) | 文本处理方法及装置、电子设备、存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2017502605 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2017112514 Country of ref document: RU Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16906134 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16906134 Country of ref document: EP Kind code of ref document: A1 |