CN104102452A - Enhancement mode text selection method of touch screen - Google Patents

Enhancement mode text selection method of touch screen Download PDF

Info

Publication number
CN104102452A
CN104102452A CN201410330723.8A CN201410330723A CN104102452A CN 104102452 A CN104102452 A CN 104102452A CN 201410330723 A CN201410330723 A CN 201410330723A CN 104102452 A CN104102452 A CN 104102452A
Authority
CN
China
Prior art keywords
cursor
initial
sentence
word
index address
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.)
Pending
Application number
CN201410330723.8A
Other languages
Chinese (zh)
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.)
Xiamen Meitu Mobile Technology Co Ltd
Original Assignee
Xiamen Meitu Mobile 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 Xiamen Meitu Mobile Technology Co Ltd filed Critical Xiamen Meitu Mobile Technology Co Ltd
Priority to CN201410330723.8A priority Critical patent/CN104102452A/en
Publication of CN104102452A publication Critical patent/CN104102452A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention relates to an enhancement mode text selection method of a touch screen. The enhancement mode text selection method includes setting a start cursor and a finish cursor for dragging, and providing select-all, segment-selection, sentence-selection and word-selection options on a graphical interface, wherein the start cursor and the finish cursor are used for indicating a start index address and a finish index address of text selection respectively. The select-all option is used for selecting all texts, the segment-selection option is used for selecting a start segment and a finish segment where the start cursor and the finish cursor are located and selecting segments between the start segment and the finish segment, the sentence-selection option is used for selecting a start sentence and a finish sentence where the start cursor and the finish cursor are located and selecting sentences between the start sentence and the finish sentence, and the word-selection option is used for selecting a start word and a finish word where the start cursor and the finish cursor are located and selecting words between the start word and the finish word. The enhancement mode text selection method brings convenience for users and texts are accurately selected no matter the enhancement mode text selection method is applicable to Android system, iOS system or WP system.

Description

A kind of enhancement mode text selecting method of touch-screen
Technical field
The present invention relates to text selecting method, more particularly, relate to a kind of enhancement mode text selecting method of touch-screen.
Background technology
At current touch apparatus, comprise in mobile phone, flat-panel devices, the mode of selecting text to copy has full choosing and drags the mode of cursor.Adopting on the equipment of touch-screen, especially on undersized touch-screen mobile phone, dragging cursor, to realize precise positioning more difficult.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide one to include conventional selection, comprise the enhancement mode text selecting method of the touch-screen of free selection, Quan Xuan, Duan Xuan, sentence choosing, selected ci poem.
Technical scheme of the present invention is as follows:
An enhancement mode text selecting method for touch-screen, the initial cursor that is provided for dragging and end cursor, indicate respectively the initial index address of text selecting and finish index address, and full choosing, Duan Xuan, sentence choosing, selected ci poem option are provided on graphical interfaces;
Entirely elect as and choose full text;
Duan Xuanwei chooses initial cursor and finishes the initial segment and the ending segment at cursor place, and section between the initial segment and ending segment;
Sentence is elected as and is chosen initial cursor and the initial sentence that finishes cursor place and finish sentence, and initial sentence with finish between sentence;
Selected ci poem is choose initial cursor and the initial word that finishes cursor place and finish word, and initial word and the word of end between word.
As preferably, Duan Xuanshi:
From finishing the current index address of cursor, to the section tail scanning direction that finishes cursor place section, run into section end mark or document end mark, will finish the so far index address of section section tail of cursor location;
From the current index address of initial cursor, to the first scanning direction of section of initial cursor place section, the section of running into end mark or document initial character, navigate to initial cursor the index address of this section of section head;
Choose the index address of initial cursor now and finish the text between the index address of cursor.
As preferably, when sentence selects:
From finishing the current index address of cursor, to the sentence tail scanning direction that finishes cursor place sentence, run into sentence end mark, section end mark or document end mark, will finish the so far index address of sentence sentence tail of cursor location;
From the current index address of initial cursor, to the beginning of the sentence scanning direction of initial cursor place sentence, run into an end mark, section end mark or document initial character, initial cursor is navigated to the index address of this beginning of the sentence;
Choose the index address of initial cursor now and finish the text between the index address of cursor.
As preferably, when selected ci poem:
Find out respectively the current index address of initial cursor and the sentence that finishes the current index address of cursor place, choose two texts between sentence, according to default dictionary, current sentence is carried out to word segmentation processing, the word of gained after word segmentation processing is generated initial cursor and finishes cursor, respectively initial cursor and end cursor are positioned to respectively to the index address of the prefix of initial cursor place word and the suffix of end cursor place word.
As preferably, participle adopts reverse Best Match Method, and dictionary word frequency size is arranged; Start coupling from the end of sentence, it fails to match removes top Chinese character, and the match is successful records word frequency information, chooses optimum combination word frequency; After having divided word, record glossarial index, initial cursor is adjusted to the initial index address of word of initial cursor place word, the word of end cursor being adjusted to end cursor place word finishes index address; Choose all words, form character set.
As preferably, drag initial cursor and finish cursor, reorientate initial cursor and the index address that finishes cursor, choose the text between the index address of initial cursor and end cursor.
Beneficial effect of the present invention is as follows:
The enhancement mode text selecting method of touch-screen of the present invention, no matter be applied in Android system, iOS system or WP system, on touch panel device, conventional several document-choosing policies are provided, comprise full choosing, free selection, Duan Xuan, sentence choosing, selected ci poem, realize user quick and convenient, and selected exactly the object of text.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail.
The enhancement mode text selecting method of touch-screen of the present invention, the initial cursor that is provided for dragging and end cursor, indicate respectively the initial index address of text selecting and finish index address, full choosing, Duan Xuan, sentence choosing, selected ci poem option are provided on graphical interfaces.
Entirely elect as and choose full text;
Duan Xuanwei chooses initial cursor and finishes the initial segment and the ending segment at cursor place, and section between the initial segment and ending segment;
Sentence is elected as and is chosen initial cursor and the initial sentence that finishes cursor place and finish sentence, and initial sentence with finish between sentence;
Selected ci poem is choose initial cursor and the initial word that finishes cursor place and finish word, and initial word and the word of end between word.
When concrete enforcement is used, enter text reading interactive interface; Length is pressed touch-screen, enters copied text preference pattern; There will be two to drag cursor at this interface, indicate initial index address (the follow-up S1 of being denoted as) and end index address (the follow-up E1 that is denoted as) that copied text is selected, on screen, show that choice menus comprises full choosing, selected ci poem, sentence choosing and Duan Xuan simultaneously.
User can drag initial cursor position on touch-screen to optional position (S2), also can drag and finish cursor position to optional position (E2).
If user selects Duan Xuan, from E2, carry out scan forward (to the section tail scanning direction that finishes cursor place section), section end mark or document end mark are run into, will finish cursor and locate so far index address (E3), from S2, carry out reverse scanning (to the first scanning direction of section of initial cursor place section), the section of running into end mark or document initial character, navigate to initial cursor this index address (S3).
If user selects sentence choosing, from E2, carry out scan forward (to the sentence tail scanning direction that finishes cursor place sentence), sentence end mark, section end mark or document end mark are run into, will finish cursor and locate so far index address (E3), from S2, carry out reverse scanning (to the beginning of the sentence scanning direction of initial cursor place sentence), run into an end mark, section end mark or document initial character, initial cursor is navigated to this index address (S3).
If user selects selected ci poem, in two steps: the first step is found out the sentence at E2 place and the sentence at S2 place, to two sentences and between text adopt reverse Best Match Method, be that dictionary adopts the large minispread of word frequency, start coupling from the end of sentence, it fails to match removes top Chinese character, the match is successful records word frequency information, choose optimum combination word frequency, after having divided word, record glossarial index, second step is adjusted to S2 the initial index address of word (S3) of S2 place word, and the word of E2 being adjusted to E2 place word finishes index address (E3).Be exactly the character set that user wants copy from the beginning index address of first word to selected all characters the end index address of last word like this.
Above-described embodiment is only for the present invention is described, and not as limitation of the invention.As long as according to technical spirit of the present invention, to above-described embodiment change, modification etc. all will drop in the scope of claim of the present invention.

Claims (6)

1. the enhancement mode text selecting method of a touch-screen, the initial cursor that is provided for dragging and end cursor, indicate respectively the initial index address of text selecting and finish index address, it is characterized in that, full choosing, Duan Xuan, sentence choosing, selected ci poem option are provided on graphical interfaces;
Entirely elect as and choose full text;
Duan Xuanwei chooses initial cursor and finishes the initial segment and the ending segment at cursor place, and section between the initial segment and ending segment;
Sentence is elected as and is chosen initial cursor and the initial sentence that finishes cursor place and finish sentence, and initial sentence with finish between sentence;
Selected ci poem is choose initial cursor and the initial word that finishes cursor place and finish word, and initial word and the word of end between word.
2. the enhancement mode text selecting method of touch-screen according to claim 1, is characterized in that Duan Xuanshi:
From finishing the current index address of cursor, to the section tail scanning direction that finishes cursor place section, run into section end mark or document end mark, will finish the so far index address of section section tail of cursor location;
From the current index address of initial cursor, to the first scanning direction of section of initial cursor place section, the section of running into end mark or document initial character, navigate to initial cursor the index address of this section of section head;
Choose the index address of initial cursor now and finish the text between the index address of cursor.
3. the enhancement mode text selecting method of touch-screen according to claim 1, is characterized in that, when sentence selects:
From finishing the current index address of cursor, to the sentence tail scanning direction that finishes cursor place sentence, run into sentence end mark, section end mark or document end mark, will finish the so far index address of sentence sentence tail of cursor location;
From the current index address of initial cursor, to the beginning of the sentence scanning direction of initial cursor place sentence, run into an end mark, section end mark or document initial character, initial cursor is navigated to the index address of this beginning of the sentence;
Choose the index address of initial cursor now and finish the text between the index address of cursor.
4. the enhancement mode text selecting method of touch-screen according to claim 1, is characterized in that, when selected ci poem:
Find out respectively the current index address of initial cursor and the sentence that finishes the current index address of cursor place, choose two texts between sentence, according to default dictionary, current sentence is carried out to word segmentation processing, the word of gained after word segmentation processing is generated initial cursor and finishes cursor, respectively initial cursor and end cursor are positioned to respectively to the index address of the prefix of initial cursor place word and the suffix of end cursor place word.
5. the enhancement mode text selecting method of touch-screen according to claim 4, is characterized in that, participle adopts reverse Best Match Method: dictionary word frequency size is arranged; Start coupling from the end of sentence, it fails to match removes top Chinese character, and the match is successful records word frequency information, chooses optimum combination word frequency; After having divided word, record glossarial index, initial cursor is adjusted to the initial index address of word of initial cursor place word, the word of end cursor being adjusted to end cursor place word finishes index address; Choose all words, form character set.
6. the enhancement mode text selecting method of touch-screen according to claim 1, it is characterized in that, drag initial cursor and finish cursor, reorientate initial cursor and finish the index address of cursor, choosing the text between the index address of initial cursor and end cursor.
CN201410330723.8A 2014-07-11 2014-07-11 Enhancement mode text selection method of touch screen Pending CN104102452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410330723.8A CN104102452A (en) 2014-07-11 2014-07-11 Enhancement mode text selection method of touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410330723.8A CN104102452A (en) 2014-07-11 2014-07-11 Enhancement mode text selection method of touch screen

Publications (1)

Publication Number Publication Date
CN104102452A true CN104102452A (en) 2014-10-15

Family

ID=51670634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410330723.8A Pending CN104102452A (en) 2014-07-11 2014-07-11 Enhancement mode text selection method of touch screen

Country Status (1)

Country Link
CN (1) CN104102452A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095170A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Text deleting method and device
CN105955616A (en) * 2016-04-29 2016-09-21 北京小米移动软件有限公司 Method and device for selecting document contents
CN113377254A (en) * 2021-06-23 2021-09-10 西安诺瓦星云科技股份有限公司 Input text selection method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228842A1 (en) * 2008-03-04 2009-09-10 Apple Inc. Selecting of text using gestures
CN102880418A (en) * 2012-09-14 2013-01-16 广州市动景计算机科技有限公司 Method and device for selecting text based on touch screen type mobile terminal
CN102880417A (en) * 2011-09-12 2013-01-16 微软公司 Dominant touch selection and the cursor is placed
CN103136180A (en) * 2013-02-25 2013-06-05 北京极兴莱博信息科技有限公司 Text segment copying and pasting method and device and terminal for implementing same
CN103186345A (en) * 2013-02-25 2013-07-03 北京极兴莱博信息科技有限公司 Text segment selecting method and field selecting method, device and terminal
CA2821692A1 (en) * 2013-03-04 2013-10-21 Quillsoft Ltd. Constrained digital text reader

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228842A1 (en) * 2008-03-04 2009-09-10 Apple Inc. Selecting of text using gestures
CN102880417A (en) * 2011-09-12 2013-01-16 微软公司 Dominant touch selection and the cursor is placed
CN102880418A (en) * 2012-09-14 2013-01-16 广州市动景计算机科技有限公司 Method and device for selecting text based on touch screen type mobile terminal
CN103136180A (en) * 2013-02-25 2013-06-05 北京极兴莱博信息科技有限公司 Text segment copying and pasting method and device and terminal for implementing same
CN103186345A (en) * 2013-02-25 2013-07-03 北京极兴莱博信息科技有限公司 Text segment selecting method and field selecting method, device and terminal
CA2821692A1 (en) * 2013-03-04 2013-10-21 Quillsoft Ltd. Constrained digital text reader

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095170A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Text deleting method and device
CN105955616A (en) * 2016-04-29 2016-09-21 北京小米移动软件有限公司 Method and device for selecting document contents
CN105955616B (en) * 2016-04-29 2019-05-07 北京小米移动软件有限公司 A kind of method and apparatus for choosing document content
CN113377254A (en) * 2021-06-23 2021-09-10 西安诺瓦星云科技股份有限公司 Input text selection method and device

Similar Documents

Publication Publication Date Title
US9665276B2 (en) Character deletion during keyboard gesture
US9524040B2 (en) Image editing apparatus and method for selecting area of interest
US9134893B2 (en) Block-based content selecting technique for touch screen UI
US10909308B2 (en) Information processing apparatus, information processing method, and program
US8418077B2 (en) File content navigation using binary search
JP6991486B2 (en) Methods and systems for inserting characters into strings
RU2015104790A (en) METHOD AND DEVICE OF THE USER INTERFACE FOR THE USER TERMINAL
JP2016071819A (en) Electronic apparatus and method
US20150277744A1 (en) Gesture Text Selection
CN103984709A (en) Method and device for carrying out search on any interface
US9507516B2 (en) Method for presenting different keypad configurations for data input and a portable device utilizing same
JP2014149612A (en) Voice recognition error correction device and its program
KR20160024583A (en) Electronic device and method for providing a drawing function thereof
CN104102452A (en) Enhancement mode text selection method of touch screen
AU2012382068B2 (en) Method and apparatus for entering symbols from a touch-sensitive screen
JP6054547B2 (en) Electronic device and method for processing handwritten document information
JP5690317B2 (en) Information display device and information display method
JP6359862B2 (en) Touch operation input device, touch operation input method, and program
JP2018049319A (en) Document browsing device and program
JP2014056389A (en) Character recognition device, character recognition method and program
CN103760990A (en) Pinyin input method and pinyin input device
US11481027B2 (en) Processing a document through a plurality of input modalities
JP2007102369A (en) Gesture recognition device and gesture recognition method
US10444984B2 (en) Device processing method and electronic device
WO2015107692A1 (en) Electronic device and method for handwriting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141015