Online document author portrait updating method and device

By obtaining and grouping the editor information and paragraphs of online documents, extracting tags and updating tag portraits, the problem of low value utilization of online documents is solved, and more accurate author information acquisition and personnel management are achieved.

CN113688607BActive Publication Date: 2024-10-01BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110880729.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-02
Publication Date
2024-10-01
Estimated Expiration
2041-08-02

AI Technical Summary

Technical Problem

The value utilization rate of online documents is low, and existing technologies cannot effectively solve this problem.

Method used

By obtaining the editor information of online documents and the paragraphs written by each editor, grouping and extracting tags, updating the tag portrait of each editor, and using tag portraits for personnel management and information recommendation.

Benefits of technology

It improves the value utilization of online documents, achieves more accurate author information acquisition and tag portrait updates, and enhances the effects of personnel management and information recommendation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113688607B_ABST
    Figure CN113688607B_ABST
Patent Text Reader

Abstract

This application discloses a method and device for updating the portrait of an online document author. The invention includes: through this application, the editor information of the online document and the paragraphs written by each editor are obtained through the interface of Tencent Documents, etc., and then all the paragraphs written by each editor are extracted as a group, and tags such as skill tags, industry tags, etc. are extracted from the group, and the tag portrait of each editor in the database is drawn or updated with the above tags. The tag portrait can be used to implement functions such as personnel management and information recommendation in the future, which solves the problem of low value utilization of online documents in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and more specifically, to a method and device for updating a portrait of an online document author. Background Art

[0002] In related technologies, the use of online documents within corporate organizations has become increasingly common, including Shimo Documents, Tencent Documents, Feishu, Office 365, etc. The biggest difference between online documents and offline documents is that online documents can be edited by multiple people at the same time without causing conflicts, and the edited content, author, time and other information will be recorded in real time.

[0003] Based on such a document collaboration model, the related technologies only make full use of providing collaborators with a convenient way of working, but fail to give full play to the advantages of online documents.

[0004] Currently, no effective solution has been proposed to address the problem of low value utilization of online documents in related technologies. Summary of the invention

[0005] The main purpose of this application is to provide a method and device for updating the portrait of an online document author to solve the problem of low value utilization of online documents in related technologies.

[0006] According to an embodiment of the present application, a method for updating the portrait of an online document author is provided, comprising: obtaining the following information of an online document: all editors of the online document and paragraphs written by each editor; grouping the paragraphs of the online document according to different editors, wherein the paragraphs in each group are content written by the same editor; extracting tags of the online document fragments in each group, and updating the tag portrait of the editor corresponding to each group based on the tags.

[0007] According to another embodiment of the present application, a method for updating the portrait of an online document author is also provided, including: obtaining the first ID of the person whose label portrait is to be updated; obtaining all paragraphs of the online document edited by the first ID; extracting labels from all the paragraphs, and updating the label portrait of the person with the first ID based on the labels.

[0008] According to another embodiment of the present application, a device for updating the portrait of an online document author is also provided, including: an acquisition module, used to obtain the following information of the online document: all editors of the online document and paragraphs written by each editor; a grouping module, used to group the paragraphs of the online document according to different editors, and the paragraphs in each group are content written by the same editor; an update label module, used to extract labels of the online document fragments in each group, and update the label portrait of the editor corresponding to each group according to the labels.

[0009] Through this application, the editor information of the online document and the paragraphs written by each editor are obtained through the interface of Tencent Documents, and then all the paragraphs written by each editor are extracted as a group, and tags such as skill tags, industry tags, etc. are extracted from the group. The above tags are used to draw or update the tag portrait of each editor in the database. The tag portrait can be used to implement personnel management, information recommendation and other functions subsequently, solving the problem of low value utilization of online documents in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0011] Figure 1 is a flowchart of a method for updating a portrait of an online document author provided in an embodiment of the present application; and

[0012] Figure 2 It is a schematic diagram of a portrait updating device for an online document author provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0013] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0014] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0015] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0016] The following is an explanation of the terms used in this application:

[0017] Online documents: documents that can be created and edited online. Multiple people can collaborate on editing the same document. Each person can see the content edited by the other person and can also restore to a specified version. Similar to Graphite Documents, Tencent Documents, Feishu Documents, etc.

[0018] Offline documents: Documents created using traditional office software such as word, excel, ppt, etc. can only be edited by one person at a time.

[0019] Entity recognition: Identify entities in text. Entities refer to objects with specific meanings in text, such as names, company names, product names, customer names, etc.

[0020] Collaborators: People who contribute to the writing of an online document, including the creator of the online document. Different collaborators may edit different text fragments of the document, or one collaborator may modify a text fragment written by another collaborator.

[0021] The authors obtained from offline documents in related technologies are not accurate. There is no explicit author information in offline documents. When an office file is created, the system collaborator will be the author of the document by default (usually Administrator). The first page of some documents contains author information, but the first page of the document still needs to be parsed to extract the title and the names of people near the title as the document author. This extraction method will result in both mis-extraction and omission. In short, it is difficult to obtain author information from offline documents. Many offline documents cannot obtain the author, and the accuracy of the extracted author is not high.

[0022] In the related art, offline documents can only obtain the creator of the document. By default, the creator completes the writing of all the contents of the document, but this is not true. The same document may be modified and edited by multiple people. The final document may have different parts completed by different people. In this way, extracting the label of the entire content of the document as the label of the creator will result in a wrong image (some labels may be extracted from text fragments not written by the creator)

[0023] To address the above issues, this application targets online documents, calls an interface to obtain the document creator and collaborators, as well as the text snippets edited by each, and uses entity recognition, keyword extraction, and text classification methods to obtain corresponding tags, including product name tags, customer name tags, industry tags, skill tags, keyword tags, etc., and counts the frequency of different tags for the same collaborator; weights the tags (you can directly use the frequency to score, or use other formulas to calculate the weight score of the tag). Finally, you get a tag portrait of the collaborator.

[0024] Figure 1 The flowchart of the method for updating the portrait of the online document author provided in the embodiment of the present application is characterized by comprising:

[0025] Step S101, obtaining the following information of an online document: all editors of the online document and paragraphs written by each editor;

[0026] The online document may include all or part of the online documents. The more online documents used in step S101 are, and the richer the types are, the more accurate the label portrait finally obtained will be.

[0027] All editors can include document creators and collaborators, and can be customized based on who you ultimately want to tag the profile for.

[0028] The above information can be obtained through the interface provided by the online document in the relevant technology.

[0029] Step S102, grouping the paragraphs of the online document according to different editors, wherein the paragraphs in each group are the content written by the same editor;

[0030] Optionally, get all online documents, and use the interface provided by the online documents to get the text snippets edited by the document collaborators, and group them by collaborators. In this way, you can get a list of text snippets grouped with collaborators as the key. The format is as follows:

[0031] Collaborator 1: [text snippet 1, text snippet 2, text snippet 3…]

[0032] Collaborator 2: [text snippet 1, text snippet 2, text snippet 3…]

[0033] Step S103: extract the tags of the online document fragments in each group, and update the tag portrait of the editor corresponding to each group according to the tags.

[0034] Optionally, extracting labels of online document fragments in each group includes at least one of the following: using entity recognition technology to process paragraphs in each group to extract entity labels and their word frequencies; using keyword extraction technology to process paragraphs in each group to extract keyword labels and their word frequencies; using text classification technology to process paragraphs in each group to obtain industry labels and their frequencies.

[0035] Optionally, use entity recognition technology to process the paragraphs in each group and extract entity labels and their word frequencies, that is, extract entity labels from all text fragments of a single collaborator. Entities are extracted from text fragments as labels for collaborators. Entity types include but are not limited to product names, customer names, skill labels (such as: java, neural networks, deep learning, etc.), which can all be used as labels for authors. Methods for extracting entities include but are not limited to entity recognition by models, recognition by rules, and recognition by dictionary matching. Model-based entity recognition methods include but are not limited to CRF, BiLSTM+CRF, and BERT. The recognized entities are counted for word frequency as entity labels for the author. For example, the product tags and their corresponding frequencies that appear in the text fragment extracted from collaborator 1 are: [“Product 1”: 32, “Product 2”: 10…], the customer tags and their corresponding frequencies that appear in the text fragment extracted from collaborator 1 are: [“Tencent”: 25, “Huawei”: 10…], the skill tags and their corresponding frequencies that appear in the text fragment extracted from collaborator 1 are: [“python”: 20, “Deep Learning”: 10…] The higher the label frequency, the more familiar the collaborator is with the entity object, or the more he pays attention to the corresponding entity object.

[0036] Optionally, use keyword extraction technology to process the paragraphs in each group, extract keyword tags and their word frequencies, that is, extract keyword tags from all text fragments of a single collaborator. From all text fragments of a single collaborator, use methods such as tf-idf or textrank to extract keywords in the text fragments, take the top 10 as the collaborator's keyword tags, and count the total frequency of keyword tags. For example, extract the keyword tags from the document fragment of collaborator 1: ["product": 50, "collaborative analysis": 23, "knowledge graph": 21, "knowledge base": 20...] and use them as the collaborator's keyword tags.

[0037] Optionally, use text classification technology to process the paragraphs in each group to obtain industry labels and their frequencies, that is, use text classification to identify industry labels from each text fragment of a single collaborator. Some labels cannot be matched and obtained from the text, and the entire text fragment needs to be classified to obtain classification labels. For example, when obtaining industry labels, an industry classification model is applied to each text fragment for identification. The classification models used include but are not limited to text classification models such as SVM, fasttext, TextCNN, and bert. For example, for collaborator 1, the industry categories of its text fragments may be [other, finance, industry, finance, other...], then the industry labels identified in the text fragments are counted, and the "other" category is removed to obtain the collaborator's industry labels: ["Finance": 20, "Industry": 5...], which is used as the collaborator's industry label portrait.

[0038] Optionally, the label portrait of the editor corresponding to each group is updated based on the label, including the following: sorting the entity labels, keyword labels and / or industry labels extracted from each group according to the frequency of occurrence, taking the labels whose sorting meets the target rules as the label portrait of the editor, and updating them to the background knowledge graph.

[0039] Optionally, a scoring mechanism is provided to utilize tags to update the tag portrait. Here, another scoring mechanism is provided, which scores from two dimensions, vertical and horizontal.

[0040] Optionally, extracting tags of online document fragments in each group, and updating a tag portrait of an editor corresponding to each group according to the tags, includes:

[0041] Get the number of times each tag appears in all documents for all editors;

[0042] For each tag, the following operations are performed: the number of times the first tag appears in all tags of all editors is recorded as C, the number of times the first tag appears in the first user is recorded as k, and k / C is recorded as the vertical weight vi of the first tag;

[0043] The following operations are performed for each editor: the second category label of the second editor is recorded as Cp, the second label in the second category label of the second editor is recorded as k1, and k1 / Cp is recorded as the horizontal weight hi of the second label; the horizontal weight makes the weights of the same type of labels of the same person comparable. The method is to calculate the proportion of the frequency of each label in the same type of labels of each person to the total frequency of the label of this category. Specific approach: For a single person, traverse all labels under different label categories (such as product labels, customer labels, skill labels, industry labels, and keyword labels). Count the frequency and number of labels under each category. For example, the frequency and number of product labels Cp=79, and the frequency and number of industry labels Ci=50, then calculate the proportion of each label under each label category to the label of this category. For example, the frequency of product 1 is k1=32, and its weight is k1 / Cp=32 / 79=0.405. Then, repeat the above steps for all labels of the same category of all collaborators to calculate the label weight score as the horizontal weight hi of the label.

[0044] The vertical weight vi and horizontal weight hi of each tag are used as the input of the target calculation rule, and the tag portrait of the editor is updated according to the output result. Finally, each tag has two weight scores [vi,hi]. In practical applications, different weight scores are taken for calculation as needed.

[0045] Optionally, the tag portrait of the editor corresponding to each group is updated according to the tag, including: when the online document is a Tencent document, linking to the person in the background knowledge graph through the Tencent document ID or the enterprise WeChat ID.

[0046] According to the collaborator's name and ID (online documents such as Tencent Docs can obtain the ID of the logged-in collaborator; if you log in with Enterprise WeChat, you can obtain the Enterprise WeChat ID), link the people in the graph and use product tags, customer tags, skill tags, industry tags and keyword tags as the person's portrait to realize the collaborator portrait and provide a label data foundation for subsequent recommendation, search and other applications.

[0047] Through this application, the editor information of the online document and the paragraphs written by each editor are obtained through the interface of Tencent Documents, and then all the paragraphs written by each editor are extracted as a group, and tags such as skill tags, industry tags, etc. are extracted from the group. The above tags are used to draw or update the tag portrait of each editor in the database. The tag portrait can be used to implement personnel management, information recommendation and other functions subsequently, solving the problem of low value utilization of online documents in related technologies.

[0048] According to another embodiment of the present application, a method for updating a portrait of an online document author is also provided, comprising:

[0049] Step 1: Obtain the first ID of the person whose label portrait is to be updated;

[0050] Step 2, obtaining all paragraphs of the online document edited by the first ID;

[0051] Step three, extracting tags from all the paragraphs, and updating the tag portrait of the person with the first ID based on the tags.

[0052] By adopting the above scheme, the ID of the person whose portrait is to be updated is obtained, the paragraphs of all online documents edited by the person are extracted, and the corresponding tags, such as product tags, skill tags, and industry tags, are identified to update the label portrait of the person, providing a basis for subsequent person-job matching, information recommendation, etc., solving the problem of low utilization rate of the value of online documents in related technologies.

[0053] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0054] The embodiment of the present application also provides a schematic diagram of a portrait updating device for an online document author. It should be noted that the portrait updating device for an online document author in the embodiment of the present application can be used to execute the portrait updating method for an online document author provided in the embodiment of the present application. The portrait updating device for an online document author provided in the embodiment of the present application is introduced below.

[0055] Figure 2 is a schematic diagram of a device for updating a portrait of an online document author provided in accordance with an embodiment of the present application, such as Figure 2 As shown, including:

[0056] The acquisition module 22 is used to acquire the following information of the online document: all editors of the online document and the paragraphs written by each editor;

[0057] A grouping module 24, used for grouping the paragraphs of the online document according to different editors, wherein the paragraphs in each group are the content written by the same editor;

[0058] The tag updating module 26 is used to extract the tags of the online document fragments in each group, and update the tag portrait of the editor corresponding to each group according to the tags.

[0059] Optionally, the update label module 26 extracts labels of online document fragments in each group through at least one of the following schemes: using entity recognition technology to process paragraphs in each group to extract entity labels and their word frequencies; using keyword extraction technology to process paragraphs in each group to extract keyword labels and their word frequencies; using text classification technology to process paragraphs in each group to obtain industry labels and their frequencies.

[0060] Optionally, the label update module 26 updates the label portrait of the editor corresponding to each group in the following manner: sorting the entity labels, keyword labels and / or industry labels extracted from each group according to their frequency of occurrence, taking the labels whose sorting meets the target rules as the label portrait of the editor, and updating them to the background knowledge graph.

[0061] Optionally, the update label module 26 is also used to perform the following steps: obtain the number of times each label appears in all documents of all editors; perform the following operations for each label: record the number of times the first label appears in all labels of all editors as C, record the number of times the first label of the first user appears as k, and record k / C as the vertical weight vi of the first label; perform the following operations for each editor: record the second category label of the second editor as Cp, record the number of times the second label in the second category label of the second editor appears here as k1, and record k1 / Cp as the horizontal weight hi of the second label; use the vertical weight vi and horizontal weight hi of each label as input of the target calculation rule, and update the label portrait of the editor based on the output result.

[0062] Optionally, the update label module 26 is also used to update the label portrait of the editor corresponding to each group based on the label, including: when the online document is a Tencent document, linking to the person in the background knowledge graph through the Tencent document ID or the enterprise WeChat ID.

[0063] The online document author portrait updating device comprises a processor and a memory. The acquisition module 22 and the like are stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.

[0064] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to obtain the editor information of the online document and the paragraphs written by each editor through the interface of Tencent Documents, etc., and then all the paragraphs written by each editor are extracted as a group, and tags such as skill tags, industry tags, etc. are extracted from the group. The above tags are used to draw or update the tag portrait of each editor in the database, and the tag portrait can be used to implement functions such as personnel management and information recommendation in the future, solving the problem of low value utilization of online documents in related technologies.

[0065] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0066] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the method for updating the portrait of the online document author is implemented.

[0067] An embodiment of the present application provides a processor, which is used to run a program, wherein the method for updating the portrait of the online document author is executed when the program is running.

[0068] The embodiment of the present application provides a device, the device includes a processor, a memory, and a program stored in the memory and can be run on the processor, and the processor implements the following steps when executing the program: obtaining the following information of an online document: all editors of the online document, paragraphs written by each editor; grouping the paragraphs of the online document according to different editors, and the paragraphs in each group are the content written by the same editor; extracting the tags of the online document fragments in each group, and updating the tag portrait of the editor corresponding to each group according to the tags. The device in this article can be a server, PC, PAD, mobile phone, etc.

[0069] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: obtaining the following information of an online document: all editors of the online document and paragraphs written by each editor; grouping the paragraphs of the online document according to different editors, and the paragraphs in each group are content written by the same editor; extracting the tags of the online document fragments in each group, and updating the tag portrait of the editor corresponding to each group based on the tags.

[0070] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0071] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0072] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0073] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0074] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0075] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0076] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0077] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0078] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0079] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for updating a portrait of an online document author, characterized in that: include: Obtain the following information of the online document: all editors of the online document and paragraphs written by each editor; Grouping the paragraphs of the online document according to different editors, wherein the paragraphs in each group are written by the same editor; Extracting tags of online document fragments in each group, and updating tag portraits of editors corresponding to each group according to the tags; The tags of the online document fragments in each group are extracted, including at least one of the following: Use entity recognition technology to process the paragraphs in each group and extract entity tags and their word frequencies; Use keyword extraction technology to process the paragraphs in each group and extract keyword tags and their frequency; Use text classification technology to process the paragraphs in each group to obtain industry labels and their frequencies; The steps of extracting the tags of the online document fragments in each group and updating the tag portrait of the editor corresponding to each group according to the tags include: Get the number of times each tag appears in all documents for all editors; For each tag, perform the following operations: record the number of times the first tag appears in all tags of all editors as C, record the number of times the first tag of the first user appears as k, and record k / C as the vertical weight vi of the first tag of the first user; For each editor, the following operations are performed: the second category label of the second editor is recorded as Cp, the number of occurrences of the second label in the second category label of the second editor is recorded as k1, and k1 / Cp is recorded as the horizontal weight hi of the second label; The vertical weight vi and horizontal weight hi of each tag are used as the input of the target calculation rule, and the tag portrait of the editor is updated according to the output results.

2. The method according to claim 1, characterized in that The tag portrait of the editor corresponding to each group is updated according to the tag, including: The entity tags, keyword tags and / or industry tags extracted from each group are sorted according to the frequency of occurrence, and the tags whose sorting meets the target rules are used as the tag portrait of the editor and updated to the background knowledge graph.

3. The method according to claim 1, characterized in that The tag portrait of the editor corresponding to each group is updated according to the tag, including: When the online document is a Tencent document, it is linked to the person in the background knowledge graph through the Tencent document ID or the enterprise WeChat ID.

4. A device for updating the portrait of an online document author, characterized in that: include: An acquisition module, used to acquire the following information of an online document: all editors of the online document and paragraphs written by each editor; A grouping module, used for grouping the paragraphs of the online document according to different editors, wherein the paragraphs in each group are the contents written by the same editor; An update tag module is used to extract tags of online document fragments in each group, and update the tag portrait of the editor corresponding to each group according to the tags; Among them, the update label module includes: Use entity recognition technology to process the paragraphs in each group and extract entity tags and their word frequencies; Use keyword extraction technology to process the paragraphs in each group and extract keyword tags and their frequency; Use text classification technology to process the paragraphs in each group to obtain industry labels and their frequencies; The steps of extracting the tags of the online document fragments in each group and updating the tag portrait of the editor corresponding to each group according to the tags include: Get the number of times each tag appears in all documents for all editors; For each tag, perform the following operations: record the number of times the first tag appears in all tags of all editors as C, record the number of times the first tag of the first user appears as k, and record k / C as the vertical weight vi of the first tag of the first user; For each editor, the following operations are performed: the second category label of the second editor is recorded as Cp, the number of occurrences of the second label in the second category label of the second editor is recorded as k1, and k1 / Cp is recorded as the horizontal weight hi of the second label; The vertical weight vi and horizontal weight hi of each tag are used as the input of the target calculation rule, and the tag portrait of the editor is updated according to the output results.

5. A storage medium having a program stored thereon, characterized in that: The storage medium is a computer-readable storage medium or a non-volatile storage medium, wherein when the program is running, the control device executes the portrait updating method according to any one of claims 1 to 3.

6. A processor, characterized in that: The processor is used to run a program, wherein the program executes the portrait updating method described in any one of claims 1 to 3 when running.

Citation Information

Patent Citations

  • Intelligent official document circulation technology based on user portrait

    CN110489667A

  • User portrait extraction method based on text information

    CN111429184A

  • User portrait construction method and device, storage medium and electronic equipment

    CN111814475A

  • Post portrait generation method, device and equipment and storage medium

    CN112364133A

  • KR20200063829A