CN106339360B - Choosing method, device and the terminal of content of text - Google Patents
Choosing method, device and the terminal of content of text Download PDFInfo
- Publication number
- CN106339360B CN106339360B CN201610787098.9A CN201610787098A CN106339360B CN 106339360 B CN106339360 B CN 106339360B CN 201610787098 A CN201610787098 A CN 201610787098A CN 106339360 B CN106339360 B CN 106339360B
- Authority
- CN
- China
- Prior art keywords
- text
- content
- identification information
- information
- character
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/117—Tagging; Marking up; Designating a block; Setting of attributes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure provides the choosing method, device and terminal of a kind of content of text, and a specific embodiment of the method includes: to obtain the content identification information of user's input;It is found out from the text information of current page and the matched object content of the content identification information;The part or all of object content is labeled as selected state;Wherein, the content identification information is different information from the object content.The embodiment is not necessarily to that content can be chosen by dragging cursor sliding, saves the time, improves the service efficiency of terminal.
Description
Technical field
This disclosure relates to field of terminal technology, in particular to a kind of choosing method of content of text, device and terminal.
Background technique
In general, user would generally choose one section of content from the text information of current page, and to the content chosen
Carry out some operations, such as replicate, highlight, shear etc..Currently, when user chooses content from text information, generally
It is that slide is carried out in the content area for needing to choose by dragging cursor, to choose content.But this choose content
Mode it is easy to appear maloperations, if the content area mistake chosen it is necessary to re-start the operation for choosing content, thus
The time is wasted, the service efficiency of terminal is reduced.
Summary of the invention
In order to solve the above-mentioned technical problem, the disclosure provides the method, apparatus and terminal of a kind of selection of content of text.
According to the first aspect of the embodiments of the present disclosure, a kind of choosing method of content of text is provided, comprising:
Obtain the content identification information of user's input;
It is found out from the text information of current page and the matched object content of the content identification information;
The part or all of object content is labeled as selected state;
Wherein, the content identification information is different information from the object content.
Optionally, the content identification information includes following any one:
The corresponding initial of text;
Voice messaging.
Optionally, found out in the text information from current page in the matched target of the content identification information
Hold, comprising:
When the content identification information includes the corresponding initial of text, and when not including gap character, from current page
Text information in find out the continuous text of the corresponding target of the content identification information as the object content, the target
The sequence of the continuous corresponding initial of text and initial is identical as the content identification information.
Optionally, found out in the text information from current page in the matched target of the content identification information
Hold, comprising:
When the content identification information includes the corresponding initial of text, and when including gap character, according to the interval
The corresponding initial of text is grouped by the position of character, to obtain multiple groups identification information;
For every group of identification information, the corresponding target of this group of identification information is found out from the text information of current page and is connected
The sequence of continuous text, the corresponding initial of the continuous text of target and initial is identical as this group of identification information;
Object content is determined according to the gap character and the continuous text of target;
Wherein, the gap character includes interruption gap character and consecutive intervals character.
It is optionally, described that object content is determined according to the gap character and the continuous text of target, comprising:
The continuous text of all targets is determined as object content;And
Text between the continuous text of the corresponding two groups of targets of consecutive intervals character is determined as object content, described two groups
The continuous text of target is the adjacent continuous text of the corresponding two groups of targets of two groups of identification informations of the consecutive intervals character.
It is optionally, described that the part or all of object content is labeled as selected state, comprising:
The object content is marked with Option;
The object content that the Option that user selects is marked is labeled as selected state.
Optionally, the method also includes:
Output is marked as the option of operation of the content of selected state.
According to the second aspect of an embodiment of the present disclosure, a kind of selecting device of content of text is provided, comprising:
Module is obtained, is configured as obtaining the content identification information of user's input;
Searching module is configured as finding out from the text information of current page matched with the content identification information
Object content;
Mark module is configured as the part or all of object content labeled as selected state;
Wherein, the content identification information is different information from the object content.
Optionally, the content identification information includes following any one:
The corresponding initial of text;
Voice messaging.
Optionally, the searching module includes:
First searches submodule, is configured as when the content identification information including the corresponding initial of text, and do not wrap
When including gap character, the continuous text of the corresponding target of the content identification information is found out from the text information of current page and is made
For the object content, the sequence and the content identification information of the corresponding initial of the continuous text of target and initial
It is identical.
Optionally, the searching module includes:
It is grouped submodule, is configured as when the content identification information including the corresponding initial of text, and including interval
When character, according to the position of the gap character, the corresponding initial of text is grouped, to obtain multiple groups identification information;
Second searches submodule, is configured as finding out from the text information of current page for every group of identification information
The sequence of the continuous text of the corresponding target of this group of identification information, the corresponding initial of the continuous text of target and initial with
This group of identification information is identical;
It determines submodule, is configured as determining object content according to the gap character and the continuous text of target;
Wherein, the gap character includes interruption gap character and consecutive intervals character.
Optionally, the determining submodule includes:
First content determines submodule, is configured as the continuous text of all targets being determined as object content;And
Second content determines submodule, and being configured as will be between the continuous text of the corresponding two groups of targets of consecutive intervals character
Text is determined as object content, and the continuous text of two groups of targets is two groups of adjacent identification informations pair of the consecutive intervals character
The two groups of continuous texts of target answered.
Optionally, the mark module includes:
First label submodule, is configured as marking the object content with Option;
Second label submodule is configured as being labeled as choosing by the object content that the Option that user selects is marked
State.
Optionally, described device further include:
Output module is configured as the option of operation that output is marked as the content of selected state.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the content identification information of user's input;
It is found out from the text information of current page and the matched object content of the content identification information;
The part or all of object content is labeled as selected state;
Wherein, the content identification information is different information from the object content.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The choosing method of the content of text provided by the above embodiment of the disclosure, in the content recognition for getting user's input
After information, found out from the text information of current page with the matched object content of the content identification information, and will part or
Target complete content-label is selected state.Without content can be chosen by dragging cursor sliding, the time is saved, is mentioned
The high service efficiency of terminal.
The choosing method of the content of text provided by the above embodiment of the disclosure, in the content recognition for getting user's input
After information, found out from the text information of current page with the matched object content of the content identification information, use Option
Above-mentioned object content is marked, and the object content that the Option that user selects is marked exports quilt labeled as selected state
Labeled as the option of operation of the content of selected state.Without content can be chosen by dragging cursor sliding, when saving
Between, improve the service efficiency of terminal.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of disclosure flow chart of the choosing method of content of text shown according to an exemplary embodiment;
Fig. 2A is the flow chart of the choosing method of the disclosure another content of text shown according to an exemplary embodiment;
Fig. 2 B is a kind of disclosure application scenarios signal of the selection of content of text shown according to an exemplary embodiment
Figure;
Fig. 3 is a kind of disclosure block diagram of the selecting device of content of text shown according to an exemplary embodiment;
Fig. 4 is the block diagram of the selecting device of the disclosure another content of text shown according to an exemplary embodiment;
Fig. 5 is the block diagram of the selecting device of the disclosure another content of text shown according to an exemplary embodiment;
Fig. 6 is the block diagram of the selecting device of the disclosure another content of text shown according to an exemplary embodiment;
Fig. 7 is the block diagram of the selecting device of the disclosure another content of text shown according to an exemplary embodiment;
Fig. 8 is the block diagram of the selecting device of the disclosure another content of text shown according to an exemplary embodiment;
Fig. 9 is an a kind of disclosure structural representation of the selecting device of content of text shown according to an exemplary embodiment
Figure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses.
The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".Term " longitudinal direction ", " transverse direction ", "upper", "lower", "front", "rear", "left", "right", "vertical", " water
It is flat ", "top", "bottom" "inner", the instructions such as "outside" orientation or positional relationship be to be based on the orientation or positional relationship shown in the drawings, only
It is that for the convenience of describing the present invention and simplifying the description, rather than the device or element of indication or suggestion meaning must have specifically
Orientation is constructed and operated in a specific orientation, therefore should not be understood as the limitation to the disclosure.
As shown in Figure 1, Fig. 1 is a kind of process of the method for the selection of content of text shown according to an exemplary embodiment
Figure, this method can be applied in terminal.It will be understood by those skilled in the art that the terminal device can include but is not limited to it is all
Such as the mobile terminal device of smart phone, intelligent wearable equipment, tablet computer, personal digital assistant, E-book reader, knee
Upper portable computer and desktop computer etc..Method includes the following steps:
In a step 101, the content identification information of user's input is obtained.
In the present embodiment, when certain contents in the text information that user needs to choose current page, it is necessary first to
Pass through the identification information input interface input content identification information of terminal.In the content identification information is to be chosen for identification
Hold, content identification information may include following any one: the corresponding initial of text and voice messaging etc..It is appreciated that
Content identification information can be the information of other any proper forms, the disclosure in terms of the concrete form of content identification information not
It limits.When content identification information includes voice messaging, which can be the voice letter for chanting content to be chosen
Breath.When content identification information includes the corresponding initial of text, which can be the text of content to be chosen
Corresponding initial, it should be noted that the initial can be case sensitive, can also be with case-insensitive, the disclosure
To not limiting in this respect.
In the present embodiment, the text information of current page can be using any language text as the text information of carrier,
For example, it may be being also possible to the text information using English words as carrier using Chinese text as the text information of carrier, may be used also
To be using arabian writing as text information of carrier etc..Therefore, the corresponding initial of text can also be according to text information
Spoken and written languages carrier difference and have different representations.For example, when text information is using Chinese text as carrier, text
The corresponding initial of word can be the initial of Chinese text phonetic.In another example when text information is using English words as carrier,
The corresponding initial of text can be initial of English word, etc..It is appreciated that the disclosure is to the corresponding initial of text
Concrete form in terms of do not limit.
In a step 102, it is found out from the text information of current page and the matched target of above content identification information
Content.
In the present embodiment, it can be found out from the text information of current page matched with above content identification information
Content is as object content.Specifically, in one implementation, when content identification information includes voice messaging, first
Speech recognition can be carried out to voice messaging, so that the corresponding text information of voice messaging is obtained, further, from current page
Text information in find out word content identical with obtained text information, as object content.
It in another implementation, when content identification information includes the corresponding initial of text, and does not include interval
When character, the continuous text of the corresponding target of content identification information can be found out from the text information of current page as target
The sequence of content, the corresponding initial of the continuous text of the target and initial is identical as content identification information.
For example, it is assumed that content identification information include " FBSSQ ", if the text information of current page be "Open authorization
RelativelyClosed authorizationFor, that is, at will anyone can apply for the registration of, as long as meeting its condition, and seal
Enclosed authorization be just for internal authorization, such as computer system management person authorizes, and just belongs to closed authorization ", then can be with
The continuous text of target " closed authorization " corresponding with " FBSSQ " is found out from the text information of current page.It is " closed to award
Power " may be content to be chosen.In another example, it is assumed that content to be chosen is " open authorization ", then can input " KFSSQ " conduct
Content identification information, so as to find out " open authorization " from the text information of current page.
In another implementation, when content identification information includes the corresponding initial of text, and including gap character
When, according to the position of gap character, the corresponding initial of text is grouped, to obtain multiple groups identification information.For every group
Identification information, finds out the continuous text of the corresponding target of this group of identification information from the text information of current page, which connects
The sequence of the continuous corresponding initial of text and initial is identical as this group of identification information, continuous according to gap character and target
Text determines object content.Wherein, gap character includes interruption gap character and consecutive intervals character.Specifically, will own
The continuous text of target is determined as object content, and by the text between the continuous text of the corresponding two groups of targets of consecutive intervals character
It is determined as object content, the continuous text of above-mentioned two groups of targets is that two groups of adjacent identification informations of consecutive intervals character are two groups corresponding
The continuous text of target.In the present embodiment, gap character can be indicated using the character of any non-letter, also, between interruption
Different characters is used from consecutive intervals character every character, the disclosure does not limit the specific representation aspect of gap character.
For example, it is assumed that interruption gap character is indicated with " _ ", consecutive intervals character is indicated with "-", content identification information packet
" KFS-LS_SBRH-ZC " is included, if the text information of current page is " for open authorization relative close type authorization, to be exactly
Say, at will anyone can apply for the registration of, as long as meeting its condition, and it is closed authorization be just for internal authorization,
Such as computer system management person authorizes, and just belongs to closed authorization ", then the corresponding initial of text can be carried out first
Grouping, to obtain multiple groups identification information, these identification informations are respectively " KFS ", " LS ", " SBRH ", " ZC ".
Then, can be directed to every group of identification information, found out respectively from the text information of current page " KFS ", " LS ",
" SBRH ", the continuous text of " ZC " corresponding target, the continuous text of these targets be respectively " open ", " for ", " at will it is any
People ", " registration ".It can be first using the continuous text of these targets as object content.By above content identification information it is found that
Between " KFS " and " LS " be consecutive intervals character, therefore, can will " open " and " for " between continuous text " authorize
Relative close type authorization " is used as object content.Also, it similarly, can be by the continuous text between " at will anyone " and " registration "
Word " anyone can apply " at the same be used as object content.And be interruption gap character between " LS " and " SBRH ", therefore, suddenly
Slightly " for " with the continuous text between " careless anyone ".In conclusion object content is " open authorization relative close type
For authorization " and " at will anyone can apply for the registration of ".
In the present embodiment, content identification information can be found out from the text information of current page in the following way
The corresponding continuous text of target.Specifically, available pre-stored mapping table, the mapping table is for recording text
Mapping relations between word and corresponding initial.Then, according to the mapping table to the text information of current page into
Row Context resolution, the information table of the corresponding initial of text in the text information to obtain current page.Then, from initial
Information table in search with the matched initial of content identification information, and obtain the corresponding text of the initial, connect as target
Continuous text.It is appreciated that content identification information can also be found out from the text information of current page by another way
The corresponding continuous text of target, the disclosure from the text information of current page to finding out the corresponding target of content identification information
It is not limited in terms of the concrete mode of continuous text.
In step 103, part or all of object content is labeled as selected state.
In the present embodiment, the content to be chosen that user wants to choose can be target complete content, be also possible to part
Object content.For example, it is assumed that content to be chosen is " neighbouring ", then content identification information is " FJD ", and from current page
The object content found out in text information may be other than including " neighbouring ", it is also possible to including " antistatic ", therefore, also
The further selection operation of user is needed, is selected state by partial target content-label.
In another example, it is assumed that content to be chosen is " neighbouring ", and content identification information is " FJD ", from the text of current page
The object content found out in information only includes " nearby ", can be selected state by target complete content-label therefore.
It should be noted that content identification information is different information from object content.
The choosing method of the content of text provided by the above embodiment of the disclosure, in the content recognition for getting user's input
After information, found out from the text information of current page with the matched object content of the content identification information, and will part or
Target complete content-label is selected state.Without content can be chosen by dragging cursor sliding, the time is saved, is mentioned
The high service efficiency of terminal.
As shown in Figure 2 A, the process of the choosing method of Fig. 2A another content of text shown according to an exemplary embodiment
Figure, the embodiment are described in detail the process that the part or all of object content is labeled as to selected state, and this method can be with
Applied in terminal, comprising the following steps:
In step 201, the content identification information of user's input is obtained.
In step 202, it is found out from the text information of current page and the matched target of above content identification information
Content.
In step 203, above-mentioned object content is marked with Option.
In step 204, the object content Option that user selects marked is labeled as selected state.
In the present embodiment, Option can be a kind of option tags for identifying content, and user can be by pre-
The content that fixed operation (such as clicking operation) selects it to mark by Option.Above-mentioned mesh can be marked using Option
Content is marked, while above-mentioned object content can also be highlighted, so that user easier can find above-mentioned object content.Such as
Shown in Fig. 2 B, mark 211 is Option, is marked with 211 pairs of object contents 212 of mark and object content 213.User can
To select content to be chosen in object content 212 and object content 213 by click or other selection operations, for example,
The Option for needing the object content of selection is clicked, so that the object content is chosen for content to be chosen etc., and will be to be selected
Middle content-label is selected state.
In step 205, output is marked as the option of operation of the content of selected state.
In the present embodiment, can also will wait choose content-label be selected state after, further output be marked as
The option of operation of the content of selected state.Wherein, option of operation is to carry out some operations to the content for being marked as selected state
Option, these operations may include such as replicating, highlighting, shearing operation.User can choose an option of operation, with
The content for being marked as selected state is performed corresponding processing.
It should be noted that no longer going to live in the household of one's in-laws on getting married in above-mentioned Fig. 2A embodiment for the step identical with Fig. 1 embodiment
It states, related content can be found in Fig. 1 embodiment.
The choosing method of the content of text provided by the above embodiment of the disclosure, in the content recognition for getting user's input
After information, found out from the text information of current page with the matched object content of the content identification information, use Option
Above-mentioned object content is marked, and the object content that the Option that user selects is marked exports quilt labeled as selected state
Labeled as the option of operation of the content of selected state.Without content can be chosen by dragging cursor sliding, when saving
Between, improve the service efficiency of terminal.
It should be noted that although describing the operation of the method for the present invention in the accompanying drawings with particular order, this is not required that
Or hint must execute these operations in this particular order, or have to carry out operation shown in whole and be just able to achieve the phase
The result of prestige.On the contrary, the step of describing in flow chart can change and execute sequence.Additionally or alternatively, it is convenient to omit certain
Multiple steps are merged into a step and executed, and/or a step is decomposed into execution of multiple steps by step.
Corresponding with the choosing method embodiment of aforementioned texts content, the disclosure additionally provides the selecting device of content of text
And its embodiment of applied terminal.
As shown in figure 3, Fig. 3 is a kind of disclosure selecting device frame of content of text shown according to an exemplary embodiment
Figure, the device include: to obtain module 301, searching module 302 and mark module 303.
Wherein, module 301 is obtained, is configured as obtaining the content identification information of user's input.
Searching module 302 is configured as finding out from the text information of current page matched with content identification information
Object content.
Mark module 303 is configured as part or all of object content labeled as selected state.
Wherein, which is different information from object content.
As seen from the above-described embodiment, the terminal in the embodiment can be in the content identification information for getting user's input
Afterwards, found out from the text information of current page with the matched object content of the content identification information, and will be part or all of
Object content is labeled as selected state.Without content can be chosen by dragging cursor sliding, the time is saved, is improved
The service efficiency of terminal.
In some optional embodiments, above content identification information includes following any one: the corresponding lead-in of text
It is female;Voice messaging.
As shown in figure 4, Fig. 4 is the selecting device of the disclosure another content of text shown according to an exemplary embodiment
Block diagram, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 3, searching module 302 may include: the first lookup submodule
401。
Wherein, first submodule 401 is searched, is configured as when content identification information including the corresponding initial of text, and
When not including gap character, the continuous text of the corresponding target of content identification information is found out from the text information of current page and is made
For object content, the sequence of the corresponding initial of the continuous text of the target and initial is identical as content identification information.
As shown in figure 5, Fig. 5 is the selecting device of the disclosure another content of text shown according to an exemplary embodiment
Block diagram, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 3, searching module 302 may include: grouping submodule 501,
Second searches submodule 502 and determines submodule 503.
Wherein, it is grouped submodule 501, is configured as when content identification information including the corresponding initial of text, and including
When gap character, according to the position of gap character, the corresponding initial of text is grouped, to obtain multiple groups identification information.
Second searches submodule 502, is configured as searching from the text information of current page for every group of identification information
The sequence of the continuous text of the corresponding target of this group of identification information out, the corresponding initial of the continuous text of the target and initial with
This group of identification information is identical.
It determines submodule 503, is configured as determining object content according to gap character and the continuous text of target.
Wherein, which includes interruption gap character and consecutive intervals character.
As shown in fig. 6, Fig. 6 is the selecting device of the disclosure another content of text shown according to an exemplary embodiment
Block diagram, the embodiment determine that submodule 503 may include: that first content determines on the basis of aforementioned embodiment illustrated in fig. 5
Submodule 601 and the second content determine submodule 602.
Wherein, first content determines submodule 601, is configured as the continuous text of all targets being determined as object content.
Second content determines submodule 602, be configured as by the continuous text of the corresponding two groups of targets of consecutive intervals character it
Between text be determined as object content, which is that the adjacent two groups of identification informations of consecutive intervals character are corresponding
Two groups of continuous texts of target.
As shown in fig. 7, Fig. 7 is the selecting device of the disclosure another content of text shown according to an exemplary embodiment
Block diagram, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 3, mark module 303 may include: the first label submodule
701 and second mark submodule 702.
Wherein, the first label submodule 701 is configured as marking object content with Option.
Second label submodule 702 is configured as the object content that the Option that user selects is marked being labeled as
Selected state.
As shown in figure 8, Fig. 8 is the selecting device of the disclosure another content of text shown according to an exemplary embodiment
Block diagram, on the basis of aforementioned embodiment illustrated in fig. 3, which can further include the embodiment: output module 304.
Wherein, output module 304 are configured as the option of operation that output is marked as the content of selected state.
It should be appreciated that above-mentioned apparatus can be preset in the terminal, end can also be loaded by modes such as downloadings
In end.Corresponding module in above-mentioned apparatus can be cooperated with the module in terminal to realize the Choice of content of text.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure also provides a kind of terminal, which includes processor;For the executable finger of storage processor
The memory of order;Wherein, which is configured as:
Obtain the content identification information of user's input;
It is found out from the text information of current page and the matched object content of the content identification information;
The part or all of object content is labeled as selected state;
Wherein, the content identification information is different information from the object content.
Fig. 9 is an a kind of structural representation of the selecting device 9900 of content of text shown according to an exemplary embodiment
Figure.For example, device 9900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console put down
Panel device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 9, device 9900 may include following one or more components: processing component 9902, memory 9904, electricity
Source component 9906, multimedia component 9908, audio component 9910, the interface 9912 of input/output (I/ O), sensor module
9914 and communication component 9916.
The integrated operation of the usual control device 9900 of processing component 9902, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing element 9902 may include one or more processors 9920 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 9902 may include one or more moulds
Block, convenient for the interaction between processing component 9902 and other assemblies.For example, processing component 9902 may include multi-media module,
To facilitate the interaction between multimedia component 9908 and processing component 9902.
Memory 9904 is configured as storing various types of data to support the operation in device 9900.These data
Example includes the instruction of any application or method for operating on device 9900, contact data, telephone book data,
Message, picture, video etc..Memory 9904 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 9906 provides electric power for the various assemblies of device 9900.Power supply module 9906 may include power management
System, one or more power supplys and other with for device 9900 generate, manage, and distribute the associated component of electric power.
Multimedia component 9908 includes the screen of one output interface of offer between described device 9900 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 9908 includes a front camera and/or rear camera.When device 9900 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 9910 is configured as output and/or input audio signal.For example, audio component 9910 includes one
Microphone (MIC), when device 9900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone
It is configured as receiving external audio signal.The received audio signal can be further stored in memory 9904 or via logical
Believe that component 9916 is sent.In some embodiments, audio component 9910 further includes a loudspeaker, is used for output audio signal.
I/O interface 9912 provides interface, above-mentioned peripheral interface module between processing component 9902 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 9914 includes one or more sensors, and the state for providing various aspects for device 9900 is commented
Estimate.For example, sensor module 9914 can detecte the state that opens/closes of device 9900, the relative positioning of component, such as institute
The display and keypad that component is device 9900 are stated, sensor module 9914 can be with detection device 9900 or device 9,900 1
The position change of a component, the existence or non-existence that user contacts with device 9900,9900 orientation of device or acceleration/deceleration and dress
Set 9900 temperature change.Sensor module 9914 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 9914 can also include optical sensor, as CMOS or ccd image are passed
Sensor, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor, microwave remote sensor or temperature sensor.
Communication component 9916 is configured to facilitate the communication of wired or wireless way between device 9900 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 9900,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 9916 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 9916 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 9900 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 9904 of instruction, above-metioned instruction can be executed by the processor 9920 of device 9900 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (11)
1. a kind of choosing method of content of text, which is characterized in that the described method includes:
Obtain the content identification information of user's input;
It is found out from the text information of current page and the matched object content of the content identification information;
The part or all of object content is labeled as selected state;
Wherein, the content identification information is different information from the object content;
Wherein, the content identification information includes: the corresponding initial of text;
Wherein, it is found out in the text information from current page and the matched object content of the content identification information, packet
It includes:
When the content identification information includes the corresponding initial of text, and when including gap character, according to the gap character
Position, the corresponding initial of text is grouped, to obtain multiple groups identification information;
For every group of identification information, it is continuously literary that the corresponding target of this group of identification information is found out from the text information of current page
The sequence of word, the corresponding initial of the continuous text of target and initial is identical as this group of identification information;
Object content is determined according to the gap character and the continuous text of target;
Wherein, the gap character includes interruption gap character and consecutive intervals character.
2. the method according to claim 1, wherein being found out in the text information from current page and institute
State the matched object content of content identification information, comprising:
When the content identification information includes the corresponding initial of text, and when not including gap character, from the text of current page
The continuous text of the corresponding target of the content identification information is found out in this information as the object content, the target is continuous
The sequence of the corresponding initial of text and initial is identical as the content identification information.
3. the method according to claim 1, wherein described according to the gap character and the continuous text of target
Determine object content, comprising:
The continuous text of all targets is determined as object content;And
Text between the continuous text of the corresponding two groups of targets of consecutive intervals character is determined as object content, two groups of targets
Continuous text is the adjacent continuous text of the corresponding two groups of targets of two groups of identification informations of the consecutive intervals character.
4. the method according to claim 1, wherein described be labeled as choosing for the part or all of object content
Middle state, comprising:
The object content is marked with Option;
The object content that the Option that user selects is marked is labeled as selected state.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Output is marked as the option of operation of the content of selected state.
6. a kind of selecting device of content of text, which is characterized in that described device includes:
Module is obtained, is configured as obtaining the content identification information of user's input;
Searching module is configured as finding out from the text information of current page and the matched target of the content identification information
Content;
Mark module is configured as the part or all of object content labeled as selected state;
Wherein, the content identification information is different information from the object content;
Wherein, the content identification information includes: the corresponding initial of text;
Wherein, the searching module includes:
It is grouped submodule, is configured as when the content identification information including the corresponding initial of text, and including gap character
When, according to the position of the gap character, the corresponding initial of text is grouped, to obtain multiple groups identification information;
Second searches submodule, is configured as finding out the group from the text information of current page for every group of identification information
The continuous text of the corresponding target of identification information, the sequence and the group of the corresponding initial of the continuous text of target and initial
Identification information is identical;
It determines submodule, is configured as determining object content according to the gap character and the continuous text of target;
Wherein, the gap character includes interruption gap character and consecutive intervals character.
7. device according to claim 6, which is characterized in that the searching module includes:
First searches submodule, is configured as when the content identification information includes the corresponding initial of text, and between not including
When character, the continuous text of the corresponding target of the content identification information is found out from the text information of current page as institute
State object content, the sequence and the content identification information phase of the corresponding initial of the continuous text of target and initial
Together.
8. device according to claim 6, which is characterized in that the determining submodule includes:
First content determines submodule, is configured as the continuous text of all targets being determined as object content;And
Second content determines submodule, is configured as the text between the continuous text of the corresponding two groups of targets of consecutive intervals character
It is determined as object content, the continuous text of two groups of targets is that two groups of adjacent identification informations of the consecutive intervals character are corresponding
Two groups of continuous texts of target.
9. device according to claim 6, which is characterized in that the mark module includes:
First label submodule, is configured as marking the object content with Option;
Second label submodule is configured as being labeled as the object content that the Option that user selects is marked to choose shape
State.
10. device according to claim 9, which is characterized in that described device further include:
Output module is configured as the option of operation that output is marked as the content of selected state.
11. a kind of terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the content identification information of user's input;
It is found out from the text information of current page and the matched object content of the content identification information;
The part or all of object content is labeled as selected state;
Wherein, the content identification information is different information from the object content;
Wherein, the content identification information includes: the corresponding initial of text;
Wherein, it is found out in the text information from current page and the matched object content of the content identification information, packet
It includes:
When the content identification information includes the corresponding initial of text, and when including gap character, according to the gap character
Position, the corresponding initial of text is grouped, to obtain multiple groups identification information;
For every group of identification information, it is continuously literary that the corresponding target of this group of identification information is found out from the text information of current page
The sequence of word, the corresponding initial of the continuous text of target and initial is identical as this group of identification information;
Object content is determined according to the gap character and the continuous text of target;
Wherein, the gap character includes interruption gap character and consecutive intervals character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610787098.9A CN106339360B (en) | 2016-08-30 | 2016-08-30 | Choosing method, device and the terminal of content of text |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610787098.9A CN106339360B (en) | 2016-08-30 | 2016-08-30 | Choosing method, device and the terminal of content of text |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106339360A CN106339360A (en) | 2017-01-18 |
CN106339360B true CN106339360B (en) | 2019-06-18 |
Family
ID=57823453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610787098.9A Active CN106339360B (en) | 2016-08-30 | 2016-08-30 | Choosing method, device and the terminal of content of text |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339360B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101052061A (en) * | 2006-04-05 | 2007-10-10 | 乐金电子(中国)研究开发中心有限公司 | Searching method for telephone record of mobile terminal |
CN101127798A (en) * | 2007-09-14 | 2008-02-20 | 深圳华为通信技术有限公司 | Sorting and searching method and device for number book and mobile terminal |
CN101853280A (en) * | 2010-05-19 | 2010-10-06 | 北京友录在线科技发展有限公司 | Method for searching for contacts in hand-held equipment |
CN102710854A (en) * | 2012-05-18 | 2012-10-03 | 惠州Tcl移动通信有限公司 | Method and mobile terminal for fast matching dialing of Android system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100682331B1 (en) * | 2005-12-23 | 2007-02-15 | 삼성전자주식회사 | Method for searching phone-book in portable communication terminal |
-
2016
- 2016-08-30 CN CN201610787098.9A patent/CN106339360B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101052061A (en) * | 2006-04-05 | 2007-10-10 | 乐金电子(中国)研究开发中心有限公司 | Searching method for telephone record of mobile terminal |
CN101127798A (en) * | 2007-09-14 | 2008-02-20 | 深圳华为通信技术有限公司 | Sorting and searching method and device for number book and mobile terminal |
CN101853280A (en) * | 2010-05-19 | 2010-10-06 | 北京友录在线科技发展有限公司 | Method for searching for contacts in hand-held equipment |
CN102710854A (en) * | 2012-05-18 | 2012-10-03 | 惠州Tcl移动通信有限公司 | Method and mobile terminal for fast matching dialing of Android system |
Also Published As
Publication number | Publication date |
---|---|
CN106339360A (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8775969B2 (en) | Contact searching method and apparatus, and applied mobile terminal | |
JP6239783B2 (en) | Information selection method and apparatus | |
CN106202223A (en) | Content collection method, device and for collecting the device of content in application program | |
CN104679599A (en) | Application program duplicating method and device | |
CN105094527A (en) | Icon exchanging method and device | |
CN105447109A (en) | Key word searching method and apparatus | |
CN106648141A (en) | Candidate word display method and device | |
CN104216973A (en) | Data search method and data search device | |
CN104679386B (en) | The method and apparatus of recording processing | |
CN105094357A (en) | Input method and device as well as electronic equipment | |
CN105430194B (en) | Method, apparatus and terminal for making a phone call | |
CN105487799A (en) | Content conversion method and device | |
CN108073291B (en) | Input method and device and input device | |
CN105930034B (en) | The method and apparatus for showing dialog box | |
CN107943317A (en) | Input method and device | |
CN104951522A (en) | Searching method and device | |
WO2018000136A1 (en) | Input method and user input interface | |
CN112307294A (en) | Data processing method and device | |
CN103927334B (en) | Webpage acquisition methods and device | |
CN106339360B (en) | Choosing method, device and the terminal of content of text | |
CN105975428A (en) | Method and device for displaying character and terminal | |
CN105487746A (en) | Search result displaying method and device | |
CN104991779A (en) | Presentation method and device | |
CN105955616B (en) | A kind of method and apparatus for choosing document content | |
CN105446521A (en) | Touch operation setting method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |