CN107861927A - Document annotation method and device, readable storage medium and computer equipment - Google Patents
Document annotation method and device, readable storage medium and computer equipment Download PDFInfo
- Publication number
- CN107861927A CN107861927A CN201710858655.6A CN201710858655A CN107861927A CN 107861927 A CN107861927 A CN 107861927A CN 201710858655 A CN201710858655 A CN 201710858655A CN 107861927 A CN107861927 A CN 107861927A
- Authority
- CN
- China
- Prior art keywords
- annotation
- document
- target
- keyword
- text message
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000012790 confirmation Methods 0.000 claims description 10
- 230000004048 modification Effects 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 230000015607 signal release Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- 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
- G06F40/169—Annotation, e.g. comment data or footnotes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Document Processing Apparatus (AREA)
Abstract
A document annotation method, a device, a readable storage medium and a computer device are provided, wherein the method comprises the following steps: acquiring text information to be annotated, and segmenting the text information to obtain keywords in the text information, wherein the text information is text content selected by a user in a document; inquiring all annotations corresponding to the keywords, and determining a target annotation corresponding to the keywords according to the weight value of each annotation; adding the target annotation in the document. According to the method and the device for determining the target annotation, the target annotation is determined according to the weight information, the target annotation is added into the document, the annotation efficiency can be improved and the annotation difficulty can be reduced by determining the target annotation through the weight information, and a user can easily understand the content of the document and learn the content.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of document annotation, device, readable storage medium storing program for executing and
Computer equipment.
Background technology
For user in study, what the implication of some specific words of article was often understood is not accurate enough, is particularly learning
During practising classic poetry, because poem language is terse, many allusions are usually quoted, or use many images, thus are not allowed
It is readily understood.It is then desired to understand that an article or one section of content of text need to annotate to the meaning of word, word, sentence.
Existing note to an article method is typically searching for the related lexical or textual analysis of words on the net by user, then with text box
Or addition annotation mode is added in document, the method for its addition annotation takes considerable time and energy, and efficiency is low, influences user
Use.
The content of the invention
In view of above-mentioned condition, it is necessary to for it is low to document annotation efficiency in the prior art the problem of, there is provided a kind of document
Annotate method, apparatus, readable storage medium storing program for executing and computer equipment.
A kind of document annotation, including:
Text message to be annotated is obtained, and the text message is segmented, obtains the pass in the text message
Keyword, the text message are the content of text that user chooses in a document;
All annotations corresponding to the keyword are inquired about, and the keyword is determined according to the weighted value of each annotation
Corresponding target annotation;
The target annotation is added within said document.
The present embodiment determines that target annotates according to weight information, and adds target annotation in a document, passes through weight information
Determine that target annotation can improve annotation efficiency, reduce annotation difficulty, be easy to user more easily to understand the content of document and learned
Practise.
Further, above-mentioned document annotation, wherein, the weighted value of each annotation of the basis determines the pass
The step of target corresponding to keyword annotates includes:
The annotation of weighted value predetermined number in the top is alternately annotated;
A prompt message is sent, the prompt message is used to prompt user's selection one that alternatively annotation annotates as target;
According to the confirmation of user feedback, the target annotation is determined.
Further, above-mentioned document annotation, wherein, when receiving the confirmation of user feedback, the document
Annotation method also includes step:
The annotated weight of institute according to corresponding to the feedback information changes the keyword.
Further, above-mentioned document annotation, wherein, it is described corresponding according to the feedback information modification keyword
Institute annotated weight the step of include:
The frequency of use of each annotation of statistics, carries out frequency analysis, and every according to the frequency analysis results modification
The weight of the individual annotation.
Further, above-mentioned document annotation, wherein, the present count for determining that weight is in the top in the annotation
The step of alternative annotation of amount, includes:
The contextual information of keyword described in the text message is obtained, inquires about in the annotation and believes with the context
Association annotation corresponding to breath;
The association annotation for determining weight predetermined number in the top according to Query Result alternately annotates.
Further, above-mentioned document annotation, wherein, described the step of adding the target annotation within said document
Including:
It is added to target annotation as the annotation of the keyword in the document;
Or, a link information is added within said document, the link information is used to show the mesh according to trigger signal
Mark is released.
The embodiment of the present invention additionally provides a kind of document annotation device, including:
Keyword extracting module, segment, obtain for obtaining text message to be annotated, and to the text message
Keyword in the text message, the text message are the content of text that user chooses in a document;
Enquiry module, for inquiring about all annotations corresponding to the keyword;
Determining module, target annotates according to corresponding to the weighted value of each annotation determines the keyword;
Add module is annotated, for adding the target annotation within said document.
Further, above-mentioned document annotation device, wherein, the determining module is used for:
The annotation of weighted value predetermined number in the top is alternately annotated;
A prompt message is sent, the prompt message is used to prompt user's selection one that alternatively annotation annotates as target;
According to the confirmation of user feedback, the target annotation is determined.
Further, above-mentioned document annotation device, in addition to:
Modified module, for the annotated weight of institute according to corresponding to the feedback information modification keyword.
Further, above-mentioned document annotation device, wherein, the modified module is specifically used for:
The frequency of use of each annotation of statistics, carries out frequency analysis, and repair according to each frequency analysis result
Change the weight of the annotation.
Further, above-mentioned document annotation device, wherein, the determining module is specifically used for:
The contextual information of keyword described in the text message is obtained, inquires about in the annotation and believes with the context
Association annotation corresponding to breath;
The association annotation for determining weight predetermined number in the top according to Query Result alternately annotates.
Further, above-mentioned document annotation device, wherein, the annotation add module is specifically used for:
It is added to target annotation as the annotation of the keyword in the document;
Or, a link information is added within said document, the link information is used to show the mesh according to trigger signal
Mark is released.
The embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, described program quilt
The step of above method is realized during computing device.
The embodiment of the present invention additionally provides a kind of computer equipment, including memory, processor and is stored in memory
Computer program that is upper and can running on a processor, the step of realizing the above method during computing device described program.
Brief description of the drawings
Fig. 1 is the flow chart of the document annotation in first embodiment of the invention;
Fig. 2 is the flow chart of the document annotation in second embodiment of the invention;
Fig. 3 is the flow chart of the document annotation device in third embodiment of the invention;
Fig. 4 is the structural representation of the document annotation system in the embodiment of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
With reference to following description and accompanying drawing, it will be clear that these and other aspects of embodiments of the invention.In these descriptions
In accompanying drawing, some particular implementations in embodiments of the invention are specifically disclosed, to represent to implement the implementation of the present invention
Some modes of the principle of example, but it is to be understood that the scope of embodiments of the invention is not limited.On the contrary, the present invention
Embodiment includes all changes, modification and the equivalent fallen into the range of the spirit and intension of attached claims.
Fig. 1 is referred to as the document annotation in first embodiment of the invention, including step S11~S14.
Document annotation in the present embodiment applied to server side to be illustrated, the database of the server
It is middle to store a large amount of words, the annotation information of word.The document annotation of addition is shown in the terminal, is provided with and is serviced in the terminal
Applications client corresponding to device, the applications client are used to obtain text message in terminal, transmission, receive information, with clothes
Business device carries out information exchange.The terminal is, for example, mobile phone, computer and the blank of education equipment etc..User is in terminal editor text
During shelves, text message can be obtained by client in real time and sent to server lookup annotation, and be shown in the terminal, it is convenient
User is understood words.
Document annotation in the embodiment of the present invention is applied in server, allow for the memory capacity of server compared with
The big and speed of service factor such as comparatively fast.But it is not limited only to using in the server, and it should individually can also pass through in terminal
Terminal can individually implement document annotation, its implementation with it is basically identical in server.
Step S11, the text message to be annotated that terminal is sent is obtained, and the text message is segmented, obtained
Keyword in the text message, the text message are the content of text that user chooses in a document.
After user starts application client, the part or all of content in a certain document can be chosen by the applications client
Cursor selection text message can be dragged as text message and transmission to server, such as user, passes through the choosing that right button ejects
Delivery option in item frame sends text message, or passes through fast plus key and send text message.Server gets terminal transmission
Text message when, text message is segmented, extract keyword.Existing participle is typically using based on string matching point
Word method or the segmenting method either segmenting method based on statistics based on understanding.The present embodiment passes through string matching point
Word hair is segmented, such as text message " biography is neglected outside sword and receives Ji north " is segmented to obtain " sword is outer, neglects biography, receives, Ji north ", from
The annotation in " outside sword " " Ji north " is obtained in annotations database.
It should be understood that the text message of user's selection can be a word, word or passage, it is not
All texts need to be segmented, therefore the text message for that need not segment, and such as selection is a word, then need not
Segmented.
Step S12, all annotations corresponding to the keyword are inquired about, and institute is determined according to the weighted value of each annotation
Target corresponding to keyword is stated to annotate.
The text message that server is sent to terminal is segmented to obtain at least one keyword, server ergodic data storehouse
In all words, inquire about in database whether to have annotating corresponding to the keyword.Noted corresponding to a word in server
At least one is released, the annotation of each word is assigned to weighted value according to frequency of use.In server, for only have one annotation
Word, its weight annotated are 100%.And for there is the word of multiple annotations, each annotation enters according to the frequency of use of statistics
Line frequency is analyzed, it is determined that the weight each annotated, total weight sum of annotation is 100% corresponding to a word, each annotation
Weighted value determine that frequency of use is higher, and its weight is bigger according to frequency of use, therefore as target annotation probability it is also bigger.
When it is implemented, in addition to obtaining weighted value by frequency analysis, some annotations can also be artificially improved
Weight.Corresponding to whois lookup to keyword during all annotations, determine that target annotates according to the weight of each annotation.It is specific real
Shi Shi, target annotation is pre-set according to user's request and determines rule, you can to regard a maximum annotation of weight as target
Annotation, or annotated the larger several annotations of weight as target.
Step S13, target annotation is issued to the terminal so that the terminal add within said document it is described
Target annotates.
After server determines target annotation, target annotation is sent to terminal, terminal shows the annotation.Specific implementation
When, the target that terminal the reception server is sent is annotated, and is stored, and target annotation is closed in the form of annotating with keyword
Connection display.The display mode wherein annotated is led to such as current input content can be marked to (highlighted, overstriking show)
Cross certain trigger invocation target lexical or textual analysis and be associated display.Such as when cursor moves in document the highlighted words established and annotated
When, document calls target annotation corresponding to the highlighted words of storage, is loaded for document, during loading in the form of annotating
Shown together with the highlighted words.
It should be understood that the mode of terminal display annotation is not limited to the form of annotation, for example, the other embodiment of the present invention
In, the target annotation that terminal the reception server is sent is stored, and shows a link information in a document.The link information
For showing that the target annotates according to trigger signal, i.e., keyword below or above in a document shows a link information,
The link information can be represented with a diagram, when user clicks on the link information, be annotated in the junction display target, again point
Vanishing target annotates when hitting the link information.
The present embodiment determines that target annotates according to weight information, and target annotation is added in the document of terminal, passes through power
Weight information determines that target annotation can improve annotation efficiency, reduces annotation difficulty, is easy to user more easily to understand the content of document.
It should be understood that in the other embodiment of the present invention, the document annotation method can also individually should be in terminal.Eventually
End is realized that participle, searching keyword are corresponding and annotated, and determines that target annotates according to the weighted value of each annotation, and add in a document
Target is added to annotate.
Referring to Fig. 2, be the document annotation in second embodiment of the invention, including step S21~S25.
Step S21, the text message that terminal is sent is obtained, and the text message is segmented, obtain the text
Keyword in information, the text message are the content of text that user chooses in a document.
Step S22, all annotations corresponding to the keyword are inquired about, obtain the upper of keyword described in the text message
Context information, inquire about association annotation corresponding with the contextual information in the annotation.
Chinese words typically has a variety of meanings, and the meaning of same words is different in different context.Therefore in server
Each word correspondingly stores a variety of annotations in database, in order in different linguistic context, use different annotations.For with more
For the word of kind annotation, how quickly to select appropriate annotation particularly significant.For poem, word therein
The meaning of word is hard to understand, therefore is contextual information according to linguistic context, to determine appropriate annotation, tends to improve correct annotation
Efficiency of selection.
When server gets the text message of terminal transmission, keyword and contextual information are extracted, based on context
Association annotation corresponding to letter determination.Each annotation in server for each word is at least correspondingly arranged a language ambience information, i.e.,
The conventional language environment information of the annotation.Such as keyword " asks " annotation " "
Such as the text message that user chooses on terminal documentation obtains key for " not knowing institute's limit " after participle
Word " poor ", and inquired in server corresponding to keyword " poor " annotation including " shortage property ", " exhausting ", " situation is severe ",
" examining limit ", " culminating ".Contextual information i.e. " most " in server extraction text message " not knowing institute's limit ",
And annotation related to " most " in these annotations is " exhausting ", " examining limit " and " culminating ", therefore " will exhaust ",
" examining limit " and " culminating " is defined as the association annotation related to contextual information.
When it is implemented, a Comments List can be set in server, the Comments List includes keyword, each keyword pair
Contextual information corresponding at least one annotation and annotation answered.The keyword pair for finding user by inquiring about the Comments List and selecting
It should annotate, then contextual information finds corresponding association annotation in the Comments List.
Step S23, the association annotation for determining weight predetermined number in the top according to Query Result alternately annotate,
And a prompt message is sent to the terminal, the prompt message is used to prompt user's selection one that alternatively annotation is noted as target
Release.
The default different weight of annotation corresponding to each word in server.When server contextual information inquires
Corresponding to keyword during one or more association annotations, alternative annotation is determined according to the size of weighted value.By weight from greatly to small
Ranking, the association annotation of weight selection predetermined number in the top alternately annotate.When server determines alternative annotation
When, will determine alternatively annotate as the suggestion content of prompt message and be sent to user, using confirm one of them alternatively annotate as
Target annotates.
The quantity of the alternative annotation obtained is pre-set, such as can determine that 2 alternative annotations are used as suggestion content.Such as
The alternative annotation determined in step S22 is " exhausting ", " examining limit " and " culminating ", wherein, " exhausting " and " reach pole
The two alternative annotations larger for weight of point ".When it is implemented, two in suggestion content alternatively annotate according to the big of weight
It is small to be arranged, weight it is big preceding, weight is less rear, and the prompt message is, for example, " please to select one from following annotations
Target annotation is added:" 1. exhausting ";" 2. culminating ".The mode of its selection target annotation can be that user's transmission is corresponding
Sequence number to server or double-click target annotation.
It is easy to user to determine accurately annotation by way of selection, if user can not confirm target annotation, writes from memory
Recognize and annotated the larger annotation of weight as target.Facilitate understanding of the user to article, particularly in teaching is applied, can help
Student's fast understanding article.
If it is appreciated that server lookup to association annotation there was only one when, directly as target note
Release, and sent as the suggestion content of prompt message to the terminal, so that user is confirmed whether to add target annotation.
It should be understood that in another embodiment of the present invention, can not also implementation steps S23, directly in the pass inquired
After all annotations corresponding to keyword, the annotation of weighted value predetermined number in the top is alternately annotated, and sends
Prompt message is to terminal, so that user confirms target annotation.
Step S24, when receiving the confirmation for the user feedback that the terminal is sent, target annotation is issued
To the terminal, so that the terminal adds the target annotation within said document.
When terminal receives the prompt message of server transmission, user carries out confirming that a target is noted according to the prompt message
Release, terminal to server sends the feedback information of user.When server receives the confirmation of the feedback of terminal transmission, it will use
The target annotation that family confirms is sent to terminal.After terminal receives target annotation, load and show in a document.
In above-mentioned steps, the terminal mode that display target annotates in a document can be one kind in following two kinds:
It is added to first, the terminal annotates the target as the annotation of the keyword in the document;
Second, the terminal adds a link information within said document, the link information is used for according to trigger signal
Show the target annotation.
In first way, by a collection of note of crucial word association, the annotation be shown in the keyword lower section or other specify
Region.Can also be that display is associated by certain trigger invocation target lexical or textual analysis.Such as established when cursor is moved in document
During the highlighted words of annotation, document calls target annotation corresponding to the highlighted words of storage, is loaded for document, loads
When shown together with the highlighted words in the form of annotating.
The second way, a link information is shown on keyword, when triggering the link information, display target annotation,
Trigger signal is, for example, to click the link information.
Step S25, the frequency of use of each annotation is counted, carries out frequency analysis, and according to the frequency analysis knot
The weight of each annotation of fruit modification.
When server receives the feedback information of terminal transmission, the weight letter of annotation corresponding to the keyword is redistributed
Breath.Annotation information determines weighted value according to frequency of use corresponding to keyword.In server, each annotation sets an initial weight
Value, initial weight value can be according to the determine the probabilities of actual use process, and in the database of write service device.
The initial value of the access times of each annotation is have recorded in server, when server receives the target of user's confirmation
During annotation information, the access times that the target annotates are added 1, and recalculate the frequency of use of each annotation, by each annotation
Weight readjusted according to the size of frequency of use.The weight of the target annotation information in database is heightened accordingly,
The weight of other annotations is turned down simultaneously.
The present embodiment combination contextual information and weight information determine that target annotates, and improve the efficiency that annotates selection and accurate
Degree.Meanwhile the present embodiment is dynamically adapted the annotation weight of each word, continues to optimize database, make the note of server selection
Release and more matched with the demand of user.
Further, in other embodiment of the invention, user can also be directly in a document to a certain word, word or one section
Word addition annotation, and the content of the annotation and corresponding document is stored in local, while send and deposited into server
Storage, is called when being needed for next time.
Referring to Fig. 3, be the document annotation device in third embodiment of the invention, including:
Keyword extracting module 100, segmented for obtaining text message to be annotated, and to the text message,
The keyword in the text message is obtained, the text message is the content of text that user chooses in a document;
Enquiry module 200, for inquiring about all annotations corresponding to the keyword;
Determining module 300, target annotates according to corresponding to the weighted value of each annotation determines the keyword;
Add module 400 is annotated, for adding the target annotation within said document.
Further, above-mentioned document annotation device, wherein, the determining module 300 is used for:
The annotation of weighted value predetermined number in the top is alternately annotated;
A prompt message is sent, the prompt message is used to prompt user's selection one that alternatively annotation annotates as target;
According to the confirmation of user feedback, the target annotation is determined.
Further, above-mentioned document annotation device, in addition to:
Modified module 500, for the annotated weight of institute according to corresponding to the feedback information modification keyword.
Further, above-mentioned document annotation device, wherein, the modified module 500 is specifically used for:
The frequency of use of each annotation of statistics, carries out frequency analysis, and repair according to each frequency analysis result
Change the weight of the annotation.
Further, above-mentioned document annotation device, wherein, the determining module 300 is specifically used for:
The contextual information of the keyword is obtained, inquires about association note corresponding with the contextual information in the annotation
Release;
The association annotation for determining weight predetermined number in the top according to Query Result alternately annotates.
Further, above-mentioned document annotation device, wherein, the annotation add module 400 is specifically used for:
It is added to target annotation as the annotation of the keyword in the document;
Or, a link information is added within said document, the link information is used to show the mesh according to trigger signal
Mark is released.
The document annotation device of the present embodiment, it can be used for the technical side for performing any shown embodiments of the method for Fig. 1 to Fig. 2
Case, its implementing principle and technical effect is similar, and here is omitted.
Present invention also offers a kind of readable storage medium storing program for executing, computer program is stored thereon with, it is characterised in that the journey
The step of method of any one in above-described embodiment 1 to 2 is realized when sequence is executed by processor.
As shown in figure 4, be the structural representation of the document annotation system in the embodiment of the present invention, including computer equipment 10
With terminal 20.Computer equipment 10 provided in an embodiment of the present invention, including memory 11, processor 12 and it is stored in memory
On 11 and the computer program that can run on the processor 12, the processor 12 realize above-described embodiment when performing described program
The step of method of any one in 1 to 2.The computer equipment 10 is connected with terminal 20, and terminal 20 includes a display device 21
With input unit 22.The target annotation that the computer equipment 10 issues is shown by the display device 21.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:Connected up with one or more
Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
- A kind of 1. document annotation, it is characterised in that including:Text message to be annotated is obtained, and the text message is segmented, obtains the keyword in the text message, The text message is the content of text that user chooses in a document;All annotations corresponding to the keyword are inquired about, and determine that the keyword is corresponding according to the weighted value of each annotation Target annotation;The target annotation is added within said document.
- 2. document annotation as claimed in claim 1, it is characterised in that the weighted value of each annotation of the basis is true Include corresponding to the fixed keyword the step of target annotation:The annotation of weighted value predetermined number in the top is alternately annotated;A prompt message is sent, the prompt message is used to prompt user's selection one that alternatively annotation annotates as target;According to the confirmation of user feedback, the target annotation is determined.
- 3. document annotation as claimed in claim 2, it is characterised in that when receiving the confirmation of user feedback, The document annotation also includes step:The annotated weight of institute according to corresponding to the feedback information changes the keyword.
- 4. document annotation as claimed in claim 3, it is characterised in that described that the pass is changed according to the feedback information Include corresponding to keyword the step of institute's annotated weight:The frequency of use of each annotation of statistics, carries out frequency analysis, and according to each institute of the frequency analysis results modification State the weight of annotation.
- 5. document annotation as claimed in claim 2, it is characterised in that described to determine that weight is in the top in the annotation Predetermined number alternative annotation the step of include:Obtain the contextual information of keyword described in the text message, inquire about in the annotation with the contextual information pair The association annotation answered;The association annotation for determining weight predetermined number in the top according to Query Result alternately annotates.
- 6. document annotation as claimed in claim 1, it is characterised in that described to add the target note within said document The step of releasing includes:It is added to target annotation as the annotation of the keyword in the document;Or, a link information is added within said document, the link information is used to show that the target is noted according to trigger signal Release.
- A kind of 7. document annotation device, it is characterised in that including:Keyword extracting module, segment, obtain described for obtaining text message to be annotated, and to the text message Keyword in text message, the text message are the content of text that user chooses in a document;Enquiry module, for inquiring about all annotations corresponding to the keyword;Determining module, target annotates according to corresponding to the weighted value of each annotation determines the keyword;Add module is annotated, for adding the target annotation within said document.
- 8. document annotation device as claimed in claim 7, it is characterised in that the determining module is used for:The annotation of weighted value predetermined number in the top is alternately annotated;A prompt message is sent, the prompt message is used to prompt user's selection one that alternatively annotation annotates as target;According to the confirmation of user feedback, the target annotation is determined.
- 9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, it is characterised in that when described program is executed by processor The step of realizing the method as described in any one in claim 1-6.
- 10. a kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, it is characterised in that realized during the computing device described program such as any one institute in claim 1-6 The step of method stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710858655.6A CN107861927A (en) | 2017-09-21 | 2017-09-21 | Document annotation method and device, readable storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710858655.6A CN107861927A (en) | 2017-09-21 | 2017-09-21 | Document annotation method and device, readable storage medium and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107861927A true CN107861927A (en) | 2018-03-30 |
Family
ID=61698237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710858655.6A Pending CN107861927A (en) | 2017-09-21 | 2017-09-21 | Document annotation method and device, readable storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107861927A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008460A (en) * | 2019-04-12 | 2019-07-12 | 深圳市永兴元科技股份有限公司 | Information edit method, device, equipment and computer storage medium |
CN110717312A (en) * | 2019-10-10 | 2020-01-21 | 北京明略软件系统有限公司 | Text labeling method and device |
CN111046169A (en) * | 2019-12-24 | 2020-04-21 | 东软集团股份有限公司 | Method, device and equipment for extracting subject term and storage medium |
CN111161737A (en) * | 2019-12-23 | 2020-05-15 | 北京欧珀通信有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111966932A (en) * | 2019-05-20 | 2020-11-20 | 富士通株式会社 | Information processing method and information processing apparatus |
CN112199470A (en) * | 2020-10-09 | 2021-01-08 | 康佳集团股份有限公司 | Session-based customer complaint service method, intelligent terminal and storage medium |
CN113255306A (en) * | 2021-07-07 | 2021-08-13 | 明品云(北京)数据科技有限公司 | Insurance contract auxiliary reading method, insurance contract auxiliary reading system, electronic equipment and medium |
CN113657113A (en) * | 2021-08-24 | 2021-11-16 | 北京字跳网络技术有限公司 | Text processing method and device and electronic equipment |
CN115904482A (en) * | 2022-11-30 | 2023-04-04 | 杭州巨灵兽智能科技有限公司 | Interface document generation method, device, equipment and storage medium |
CN115934647A (en) * | 2022-10-21 | 2023-04-07 | 广州文石信息科技有限公司 | Note label generation method and device, storage medium and computer equipment |
CN116167344A (en) * | 2023-02-17 | 2023-05-26 | 广州市奇之信息技术有限公司 | Automatic text generation method for deep learning creative science and technology |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436205A (en) * | 2008-11-28 | 2009-05-20 | 无敌科技(西安)有限公司 | Method and apparatus for enquiring unique word by explanation |
CN104123653A (en) * | 2013-04-27 | 2014-10-29 | 株式会社日立制作所 | A supplier evaluation method and device for one or more users |
CN104182469A (en) * | 2014-07-25 | 2014-12-03 | 北京搜狗科技发展有限公司 | Method for annotating document and input system |
US8909563B1 (en) * | 2011-06-17 | 2014-12-09 | Google Inc. | Methods, systems, and programming for annotating an image including scoring using a plurality of trained classifiers corresponding to a plurality of clustered image groups associated with a set of weighted labels |
CN104281568A (en) * | 2013-07-12 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Paraphrase display method and paraphrase display device |
CN104919457A (en) * | 2013-01-11 | 2015-09-16 | 诺基亚技术有限公司 | Method and apparatus for enriching social media to improve personalized user experience |
CN105956161A (en) * | 2016-05-17 | 2016-09-21 | 北京奇虎科技有限公司 | Information recommendation method and apparatus |
CN106919689A (en) * | 2017-03-03 | 2017-07-04 | 中国科学技术信息研究所 | Professional domain knowledge mapping dynamic fixing method based on definitions blocks of knowledge |
-
2017
- 2017-09-21 CN CN201710858655.6A patent/CN107861927A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436205A (en) * | 2008-11-28 | 2009-05-20 | 无敌科技(西安)有限公司 | Method and apparatus for enquiring unique word by explanation |
US8909563B1 (en) * | 2011-06-17 | 2014-12-09 | Google Inc. | Methods, systems, and programming for annotating an image including scoring using a plurality of trained classifiers corresponding to a plurality of clustered image groups associated with a set of weighted labels |
CN104919457A (en) * | 2013-01-11 | 2015-09-16 | 诺基亚技术有限公司 | Method and apparatus for enriching social media to improve personalized user experience |
CN104123653A (en) * | 2013-04-27 | 2014-10-29 | 株式会社日立制作所 | A supplier evaluation method and device for one or more users |
CN104281568A (en) * | 2013-07-12 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Paraphrase display method and paraphrase display device |
CN104182469A (en) * | 2014-07-25 | 2014-12-03 | 北京搜狗科技发展有限公司 | Method for annotating document and input system |
CN105956161A (en) * | 2016-05-17 | 2016-09-21 | 北京奇虎科技有限公司 | Information recommendation method and apparatus |
CN106919689A (en) * | 2017-03-03 | 2017-07-04 | 中国科学技术信息研究所 | Professional domain knowledge mapping dynamic fixing method based on definitions blocks of knowledge |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008460A (en) * | 2019-04-12 | 2019-07-12 | 深圳市永兴元科技股份有限公司 | Information edit method, device, equipment and computer storage medium |
CN111966932A (en) * | 2019-05-20 | 2020-11-20 | 富士通株式会社 | Information processing method and information processing apparatus |
CN110717312A (en) * | 2019-10-10 | 2020-01-21 | 北京明略软件系统有限公司 | Text labeling method and device |
CN110717312B (en) * | 2019-10-10 | 2024-02-20 | 北京明略软件系统有限公司 | Text labeling method and device |
CN111161737A (en) * | 2019-12-23 | 2020-05-15 | 北京欧珀通信有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111046169A (en) * | 2019-12-24 | 2020-04-21 | 东软集团股份有限公司 | Method, device and equipment for extracting subject term and storage medium |
CN111046169B (en) * | 2019-12-24 | 2024-03-26 | 东软集团股份有限公司 | Method, device, equipment and storage medium for extracting subject term |
CN112199470A (en) * | 2020-10-09 | 2021-01-08 | 康佳集团股份有限公司 | Session-based customer complaint service method, intelligent terminal and storage medium |
CN112199470B (en) * | 2020-10-09 | 2023-12-05 | 康佳集团股份有限公司 | Customer complaint service method based on session, intelligent terminal and storage medium |
CN113255306A (en) * | 2021-07-07 | 2021-08-13 | 明品云(北京)数据科技有限公司 | Insurance contract auxiliary reading method, insurance contract auxiliary reading system, electronic equipment and medium |
CN113657113A (en) * | 2021-08-24 | 2021-11-16 | 北京字跳网络技术有限公司 | Text processing method and device and electronic equipment |
CN113657113B (en) * | 2021-08-24 | 2024-08-02 | 北京字跳网络技术有限公司 | Text processing method and device and electronic equipment |
CN115934647B (en) * | 2022-10-21 | 2023-10-13 | 广州文石信息科技有限公司 | Notebook label generation method and device, storage medium and computer equipment |
CN115934647A (en) * | 2022-10-21 | 2023-04-07 | 广州文石信息科技有限公司 | Note label generation method and device, storage medium and computer equipment |
CN115904482B (en) * | 2022-11-30 | 2023-09-26 | 杭州巨灵兽智能科技有限公司 | Interface document generation method, device, equipment and storage medium |
CN115904482A (en) * | 2022-11-30 | 2023-04-04 | 杭州巨灵兽智能科技有限公司 | Interface document generation method, device, equipment and storage medium |
CN116167344B (en) * | 2023-02-17 | 2023-10-27 | 广州市奇之信息技术有限公司 | Automatic text generation method for deep learning creative science and technology |
CN116167344A (en) * | 2023-02-17 | 2023-05-26 | 广州市奇之信息技术有限公司 | Automatic text generation method for deep learning creative science and technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861927A (en) | Document annotation method and device, readable storage medium and computer equipment | |
CN107992585B (en) | Universal label mining method, device, server and medium | |
US11176453B2 (en) | System and method for detangling of interleaved conversations in communication platforms | |
CN103064826B (en) | A kind of method, equipment and system for input of expressing one's feelings | |
WO2015185019A1 (en) | Semantic comprehension-based expression input method and apparatus | |
CN109299399B (en) | Learning content recommendation method and terminal equipment | |
CN104933084A (en) | Method, apparatus and device for acquiring answer information | |
US20210133222A1 (en) | Method and apparatus for processing information of a terminal | |
CN111680517B (en) | Method, apparatus, device and storage medium for training model | |
CN106096037A (en) | Search Results polymerization based on artificial intelligence, device and search engine | |
CN105159977A (en) | Information interaction processing method and apparatus | |
CN109933708A (en) | Information retrieval method, device, storage medium and computer equipment | |
CN110691028B (en) | Message processing method, device, terminal and storage medium | |
US20160180560A1 (en) | Image insertion in a message | |
CN109634436A (en) | Association method, device, equipment and the readable storage medium storing program for executing of input method | |
US10528227B2 (en) | Systems and methods for linking attachments to chat messages | |
CN110377745B (en) | Information processing method, information retrieval device and server | |
CN111737443B (en) | Answer text processing method and device and key text determining method | |
US8296785B2 (en) | Providing links between application programs | |
CN103425257A (en) | Method and device for prompting information of uncommon characters | |
CN110187780A (en) | Long text prediction technique, device, equipment and storage medium | |
EP3961426A2 (en) | Method and apparatus for recommending document, electronic device and medium | |
CN105630849A (en) | Expression image recommendation system and method | |
CN104866527A (en) | Dynamic webpage template matching method and device | |
CN116016421A (en) | Method, computing device readable storage medium, and computing device for facilitating media-based content sharing performed in a computing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180330 |
|
WD01 | Invention patent application deemed withdrawn after publication |