Method, device and equipment for generating reading note

文档序号:1577651 发布日期:2020-01-31 浏览:13次 中文

阅读说明:本技术 读书笔记的生成方法、装置及设备 (Method, device and equipment for generating reading note ) 是由 苏云琳 于 2018-07-03 设计创作,主要内容包括:本发明提供一种读书笔记的生成方法、装置及设备。方法包括:接收用户输入的笔记内容;对笔记内容进行分析,根据分析结果确定与笔记内容对应的特征标识;获取与特征标识关联的目标模板,并根据目标模板、笔记内容生成读书笔记。本发明能够生成具有趣味性的读书笔记,解决了现有技术中生成的笔记或心得的方案较为单一,趣味性差,导致用户体验较差的问题。(The invention provides reading notes generation method, device and equipment, wherein the method comprises the steps of receiving note contents input by a user, analyzing the note contents, determining a feature identifier corresponding to the note contents according to an analysis result, acquiring a target template associated with the feature identifier, and generating the reading notes according to the target template and the note contents.)

1, kind of reading notes generation method, characterized by, including:

receiving note content input by a user;

analyzing the note content, and determining a feature identifier corresponding to the note content according to an analysis result;

and acquiring a target template associated with the feature identifier, and generating a reading note according to the target template and the note content.

2. The method of claim 1, wherein analyzing the note content and determining a feature identifier corresponding to the note content according to the analysis result comprises:

analyzing the note content and determining keywords contained in the note content;

and determining a feature identifier corresponding to the note content according to the keyword.

3. The method according to claim 1 or 2, wherein the obtaining of the target template associated with the feature identifier comprises:

determining target labels according to the feature identifiers, and determining a template carrying at least target labels as a preselected template;

and determining a target template in the pre-selected templates according to a preset rule.

4. The method of claim 3, wherein said determining a target template among said preselected templates according to a preset rule comprises:

acquiring a weight value of an identification category to which the feature identification belongs;

and determining a comprehensive score of the preselected template according to the weight value, and determining the target template in the preselected template according to the comprehensive score.

5. The method of any one of claims 1, 2, and 4, , further comprising:

and associating the generated reading note with the electronic book operated by the user, so that other users can read the reading note when reading the electronic book.

6, kind reads the generating device of the note, its characterized in that includes:

the receiving module is used for receiving note content input by a user;

the analysis module is used for analyzing the note content and determining a feature identifier corresponding to the note content according to an analysis result;

the acquisition module is used for acquiring a target template associated with the feature identifier;

and the generating module is used for generating a reading note according to the target template and the note content.

7. The apparatus of claim 6, wherein the analysis module comprises:

the analysis unit is used for analyzing the note content and determining keywords contained in the note content;

and the characteristic identification determining unit is used for determining the characteristic identification corresponding to the note content according to the keyword.

8. The apparatus of claim 6 or 7, wherein the obtaining module comprises:

a preselected template determining unit, configured to determine target tags according to the feature identifiers, and determine a template carrying at least target tags as a preselected template;

and the target template determining unit is used for determining a target template in the pre-selected templates according to a preset rule.

9. The apparatus according to claim 8, wherein the target template determination unit is specifically configured to:

acquiring a weight value of an identification category to which the feature identification belongs;

and determining a comprehensive score of the preselected template according to the weight value, and determining the target template in the preselected template according to the comprehensive score.

10. The apparatus of any one of claims 6, 7, 9 and , further comprising:

and the association module is used for associating the generated reading note with the electronic book operated by the user so that other users can read the reading note when reading the electronic book.

11, kind of equipment for generating reading notes, characterized by comprising:

a memory;

a processor; and

a computer program;

wherein the computer program is stored in the memory and configured to be executed by the processor to implement any methods of claims 1-5.

Technical Field

The invention relates to an electronic book technology, in particular to a method, a device and equipment for generating reading notes.

Background

Currently, since electronic books can be stored in portable electronic devices, such as mobile phones, electronic paper books, and the like, and are convenient to carry, more and more users select to watch the electronic books. Generally, when a user sees favorite sentences or contents capable of inducing comprehension, the user writes notes or hearts for the sentences and stores the notes or hearts in an electronic book.

The user selects an input location in the e-book, or selects paragraphs, which in turn selects a tag function in the e-book, and inputs a note.

However, in the prior art, the generated reading note only includes specific note content or electronic book content associated with the note, which results in that the note or the thoughtful solution generated in the prior art is relatively simple , and is not interesting, thus resulting in poor user experience.

Disclosure of Invention

The invention provides a method, a device and equipment for generating reading notes, and aims to solve the problems that a note or hearty scheme generated in the prior art is single , the interestingness is poor, and the user experience is poor.

The th aspect of the invention is to provide a generation method of reading notes, which comprises the following steps:

receiving note content input by a user;

analyzing the note content, and determining a feature identifier corresponding to the note content according to an analysis result;

and acquiring a target template associated with the feature identifier, and generating a reading note according to the target template and the note content.

Another aspects of the present invention are to provide a kind of reading notes generating device, including:

the receiving module is used for receiving note content input by a user;

the analysis module is used for analyzing the note content and determining a feature identifier corresponding to the note content according to an analysis result;

the acquisition module is used for acquiring a target template associated with the feature identifier;

and the generating module is used for generating a reading note according to the target template and the note content.

Still another aspect of the present invention provides a generating apparatus of reading notes, comprising:

a memory;

a processor; and

a computer program;

wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of generating a reading note as described in above.

The method, the device and the equipment for generating the reading note have the technical effects that:

the method, the device and the equipment for generating the reading note comprise the steps of receiving note content input by a user; analyzing the note content, and determining a feature identifier corresponding to the note content according to an analysis result; and acquiring a target template associated with the feature identifier, and generating a reading note according to the target template and the note content. The method, the device and the equipment provided by the embodiment can determine the template according with the characteristics of the note content input by the user, and generate the reading note by combining the template and the note content, so that the generated reading note has interestingness, and the user experience is further improved.

Drawings

FIG. 1 is a flow chart illustrating a method for generating a reading note according to an exemplary embodiment of the invention ;

FIG. 2 is a flow chart illustrating a method for generating a reading note according to another exemplary embodiment of the present invention;

FIG. 2A is a flow chart illustrating a method for generating a reading note according to yet another exemplary embodiment ;

FIG. 3 is a block diagram of a device for generating a reading note according to an exemplary embodiment of the present invention ;

fig. 4 is a block diagram of a device for generating a reading note according to another exemplary embodiment of the present invention.

Detailed Description

Fig. 1 is a flowchart illustrating a method for generating a reading note according to an exemplary embodiment of the invention .

As shown in fig. 1, the method for generating a reading note provided by this embodiment includes:

step 101, receiving note content input by a user.

The user can input reading notes by operating the electronic device, so that the electronic device can receive the reading notes and execute the method provided by the embodiment.

Specifically, the note content can be input by the user through a labeling function of the reading software, or can be input by the user through a highlighting function of the reading software, wherein the labeling function is that the user selects segments of characters in the reading software and selects the labeling function to input the note content of the user, and the highlighting function is that the user selects segments of characters and selects highlighting so that the segments of characters can be highlighted.

, when the user inputs the note content by reading the annotation function of the software, the form of the note content is not limited to text form, but also can be the voice content input by the user.

And 102, analyzing the note content, and determining a feature identifier corresponding to the note content according to an analysis result.

In actual application, the electronic equipment analyzes the note content after receiving the note content. If the note content is in a character form, the note content can be directly analyzed by adopting a semantic recognition algorithm, and if the note content is in a voice form, the voice content can be converted into the character form through the voice recognition function, and then the semantic recognition is carried out on the character form.

The semantic recognition algorithm can be preset, and after the note content is received, the note content is analyzed according to the preset semantic recognition algorithm.

For example, parts of nonsense words, such as ' yes ', thought, feel ' and the like, can be preset, multi-angle analysis is carried out on the remaining words to determine a characteristic mark, for example, emotion analysis can be carried out to determine emotional characteristics in the note content, such as ' sadness, joy, happiness ' and the like.

Specifically, a feature word corresponding to the feature identifier may be preset, for example, the sad emotion feature may include a plurality of words, such as "hurt, cry", and the like, and if the remaining words include the preset feature word, the feature identifier corresponding to the feature word is obtained, and it is determined that the note content corresponds to the feature identifier.

And 103, acquiring a target template associated with the feature identifier, and generating a reading note according to the target template and the note content.

The template may include various types, such as a music template, a picture template, and the like. The music template can be music with original singing or pure music.

In practice, at least labels are preset for the template, and the labels are used for identifying the characteristics of the template, such as "sadness, rain, snow" and the like.

The reading note generation method comprises the steps of obtaining a template associated with the feature identifier according to the corresponding relation between the label and the preset feature identifier, and generating the reading note by combining note content. Through analyzing the note content and acquiring the target template associated with the note content, the template which is more consistent with the characteristics included in the note content can be obtained, so that the style of the generated reading note is more fit with the reading comprehension issued by the user, and the user experience is further improved.

Specifically, if the template includes a picture template, the acquired target picture template may be used as a background pattern of the reading note, and the note content may be displayed on the target picture template. The specific display area of the note content can also be determined according to the pixel value of the target picture template, for example, the note content is displayed at a position with lighter color in the picture. According to the embodiment, the reading note with the picture can be generated according to the note content input by the user, so that the user is more interesting when reading the reading note.

, if the template includes a music template, the acquired target music template can be used as the background music of the reading note, the target music template can be embedded in the reading note, or the target music template and the reading note can be associated, and the background music is played at the same time when the reading note is displayed.

If the note content is in a voice form, a target music template of pure music can be selected, and when the user operation terminal triggers and displays the reading pen, the voice note content of the user and the target music template of the pure music are played at the same time.

In practical application, when the user operation terminal triggers and displays the reading notes, the generated reading notes can be displayed in a card form, and background music is played at the same time.

The method provided by the embodiment is used for generating the reading note, and is executed by the device provided with the method provided by the embodiment, and the device is generally realized in a hardware and/or software mode.

The method for generating the reading note comprises the steps of receiving note content input by a user; analyzing the note content, and determining a feature identifier corresponding to the note content according to an analysis result; and acquiring a target template associated with the feature identifier, and generating a reading note according to the target template and the note content. According to the method provided by the embodiment, the target template which is consistent with the characteristics of the note content input by the user can be determined according to the note content input by the user, and the reading note is generated by combining the target template and the note content, so that the generated reading note has interestingness, and the user experience is further improved.

Fig. 2 is a flowchart illustrating a method for generating a reading note according to another exemplary embodiment of the present invention.

As shown in fig. 2, the method for generating a reading note provided by this embodiment includes:

step 201, receiving note content input by a user.

The specific principle and implementation of step 201 are similar to those of step 101, and are not described herein again.

Step 202, analyzing the note content, and determining keywords included in the note content.

For example, parts of nonsense words, such as "yes, o, considered, felt" and the like, may be preset, and the remaining words are used as the keywords of the note content.

And step 203, determining a feature identifier corresponding to the note content according to the keyword.

The characteristic identification can belong to at least identification categories including an emotion identification category, a scene identification category, a person identification category, a place identification category and a time identification category.

Specifically, the vocabulary corresponding to the feature identifier may be preset, and it is determined whether the keyword corresponds to the preset vocabulary, and if so, the keyword may be considered to correspond to the feature identifier of the preset vocabulary.

, semantic recognition can be performed on the keywords to determine the feature identifiers corresponding to the keywords, i.e., the feature identifiers corresponding to the note content, a plurality of feature identifiers can be preset, such as "happy, sad", etc., the keywords can be recognized to determine whether they correspond to any feature identifiers, and if so, the note content can be determined to correspond to the feature identifiers, the note content can be composed of a plurality of keywords, and the keywords can correspond to a plurality of feature identifiers, so the note content can correspond to a plurality of feature identifiers.

In practical application, when the feature identifiers are preset, categories can be set for the feature identifiers, for example, an emotion identifier category, a scene identifier category, a person identifier category, a place identifier category and a time identifier category can be set, each mark category comprises at least preset feature identifiers, when the keywords are subjected to semantic recognition, the keywords can be analyzed from the dimensions of the set identifier categories, for example, the keywords are analyzed from the perspective of the emotion categories, the keywords are analyzed from the perspective of places, and the like.

And 204, determining target labels according to the characteristic identifications, and determining the template carrying at least target labels as a preselected template.

The corresponding relation between the characteristic mark and the label can be preset, so that the target label corresponding to the characteristic mark is determined according to the preset corresponding relation, each template carries at least label information, and the label information of the template is preset according to the style and the content of the template.

For example, the feature identifier comprises "sadness, rain, woman, bridge", the label of the template comprises "sadness, city, light", and the template is determined preselected templates.

Step 205, determining a target template in the pre-selected templates according to a preset rule.

The template may include any types including music template and picture template.

For example, 5 pre-selected templates are provided, wherein pre-selected templates carry all target labels, and other templates carry only partial target labels, and the pre-selected templates carrying all target labels are determined as target templates.

In practice, the templates may include any types of music templates, picture templates, if only templates are included, only categories of preselected templates and target templates are determined.

Since different identification categories have different degrees of importance, as alternative embodiments, as shown in fig. 2A, fig. 2A is a flowchart of a method for generating a reading note according to another exemplary embodiment of the present invention , on the basis of fig. 2, step 205 further includes:

step 2051, a weight value of an identifier category to which the feature identifier belongs is obtained.

All the feature identifiers of the reading notes can be acquired, and the weight values are determined according to the categories of the feature identifiers.

Specifically, the weight value of each feature identifier category may be preset, for example, if the emotion identifier is more important, the weight value of the emotion identifier category may be set to be larger.

And step 2052, determining a comprehensive score of the preselected template according to the weight value, and determining a target template in the preselected template according to the comprehensive score.

Specifically, the weighted values of the categories to which the feature identifiers corresponding to each target tag carried in the preselection template belong may be superimposed to obtain a composite score, and then the preselection template with the highest composite score is used as the target template.

, when multiple template types are included, a target template of each type can be determined according to the above steps, for example, if the template types include a music template and a picture template, a target music template and a target picture template are determined according to the above steps, and then a reading note is generated based on the determined target music template and the target picture template.

And step 206, generating a reading note according to the target template and the note content.

Step 206 is similar to step 103 in specific principles and implementation, and is not described herein again.

And step 207, associating the generated reading note with the electronic book operated by the user, so that other users can read the reading note when reading the electronic book.

After the reading note is generated, the electronic book information operated by the user can be acquired, and the reading note is associated with the electronic book. If the device for executing the embodiment is a server, the reading note and the association relationship between the reading note and the reading note can be stored in the server; if the device executing the embodiment is a terminal, the terminal can upload the reading notes and the association relationship between the reading notes and the association relationship to the server so that the server can store the reading notes and the association relationship.

Specifically, when other users download the electronic book for reading or browse the profile of the electronic book, the list of reading notes may be presented in the form of a list, and if the user selects a reading note therein, the reading note including the template, that is, the reading note including the music template and/or the picture template may be displayed, so that the user who has not read the electronic book can learn the electronic book through the notes of the other users.

According to the method for generating the reading note, the data processing amount can be reduced by determining the keyword included in the note content and then determining the characteristic identifier; meanwhile, the target label is determined according to the characteristic mark, the preselected template is further determined, and then the target template is determined, so that the target template matched with the meaning of the note content can be accurately determined, and the style of the generated reading note is closer to the reading comprehension of the user; the generated reading notes are associated with the electronic book, so that the sharing of the reading notes can be realized, and the reading comprehension communication among users is enhanced.

Fig. 3 is a block diagram of a device for generating a reading note according to an exemplary embodiment of the present invention.

As shown in fig. 3, the apparatus for generating a reading note provided in this embodiment includes:

a receiving module 31, configured to receive note content input by a user;

the analysis module 32 is configured to analyze the note content, and determine a feature identifier corresponding to the note content according to an analysis result;

an obtaining module 33, configured to obtain a target template associated with the feature identifier;

and the generating module 34 is configured to generate a reading note according to the target template and the note content.

The receiving module 31, the analyzing module 32, the obtaining module 33 and the generating module 34 are connected in sequence.

The reading note generation device provided by the embodiment comprises a note content receiving unit, a note processing unit and a note processing unit, wherein the note content receiving unit receives note content input by a user; analyzing the note content, and determining a feature identifier corresponding to the note content according to an analysis result; and acquiring a target template associated with the feature identifier, and generating a reading note according to the target template and the note content. The device provided by the embodiment can determine the template according with the characteristics of the note content input by the user, and generates the reading note by combining the template and the note content, so that the generated reading note has interestingness, and the user experience is improved.

The specific principle and implementation of the device for generating reading notes provided by this embodiment are similar to those of the embodiment shown in fig. 1, and are not described herein again.

Fig. 4 is a block diagram of a device for generating a reading note according to another exemplary embodiment of the present invention.

As shown in fig. 4, on the basis of the foregoing embodiment, in the apparatus for generating a reading note provided by this embodiment, the analysis module 32 includes:

an analyzing unit 321, configured to analyze the note content and determine a keyword included in the note content;

a feature identifier determining unit 322, configured to determine, according to the keyword, a feature identifier corresponding to the note content;

optionally, the feature identifier belongs to at least identifier categories:

emotion identification type, scene identification type, person identification type, place identification type and time identification type.

The analyzing unit 321 is connected to the feature identifier determining unit 322.

Optionally, the obtaining module 33 includes:

a preselected template determining unit 331, configured to determine target tags according to the feature identifiers, and determine a template carrying at least target tags as a preselected template;

a target template determining unit 332, configured to determine a target template in the preselected templates according to a preset rule.

The preselected template determining unit 331 is connected to the target template determining unit 332.

Optionally, the target template determining unit 332 is specifically configured to:

acquiring a weight value of an identification category to which the feature identification belongs;

and determining a comprehensive score of the preselected template according to the weight value, and determining the target template in the preselected template according to the comprehensive score.

Optionally, the apparatus provided in this embodiment further includes:

the associating module 35 is configured to associate the generated reading note with an electronic book operated by a user, so that when another user reads the electronic book, the reading note can be read.

The association module 35 is connected to the generation module 34.

The specific principle and implementation of the device for generating reading notes provided by this embodiment are similar to those of the embodiment shown in fig. 2-2A, and are not described herein again.

The embodiment further provides types of generating equipment for reading notes, which includes:

a memory;

a processor; and

a computer program;

wherein the computer program is stored in the memory and configured to be executed by the processor to implement any methods as described above.

It will be understood by those skilled in the art that all or a portion of the steps of implementing the various method embodiments described above may be performed by hardware associated with program instructions, and that the program may be stored in a computer readable storage medium, which when executed performs the steps comprising the various method embodiments described above, including ROM, RAM, magnetic or optical disks, among various media capable of storing program code.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种生成裁判文书本院认为段的方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!