A label system construction method, device, equipment and medium

By tagging and screening out key tags on multiple service platforms, a new tag system is constructed, which solves the problems of ineffective tag expansion and difficulty in cross-platform management in the existing technology, and achieves horizontal expansion of tags and unified data management. .

CN118503796BActive Publication Date: 2024-09-20BEIJING RUIQI INFORMATION TECH CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410966735.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-20
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

When the existing technology expands the tag system, it only achieves vertical extension and expansion, making it difficult to achieve unified management of data on multiple platforms, and the expanded tags are not effective enough.

Method used

By inputting target text samples into multiple service platforms for tagging, the frequency of tag usage on each platform is obtained, key tags are screened out, key tags are determined based on the number and ratio of frequencies, and added to the original tag system to build a new tag system and realize tagging horizontal expansion.

Benefits of technology

It realizes the horizontal expansion of tags, improves the value and effectiveness of tags, and supports unified management and analysis of cross-platform data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503796B
    Figure CN118503796B
Patent Text Reader

Abstract

The present invention relates to the field of text label processing technology, and in particular to a label system construction method, device, equipment and medium, the method comprising the following steps: inputting each target text sample into a second service platform for labeling, obtaining a number of second label usage frequencies corresponding to each second text label, and screening out a third label usage frequency therefrom, and determining a key text label from a number of second text labels according to the number of second label usage frequencies and the number of third label usage frequencies corresponding to each second text label, so as to construct a new label system; it can be seen that the present invention creates a comprehensive and efficient label system by analyzing and screening out high-value labels and adding them to the original label system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text label processing, and in particular to a label system construction method, device, equipment and medium. Background Art

[0002] With the increasing application of big data, the collected text data is growing exponentially. In order to facilitate text classification, query and management, each regional text service platform usually builds a label system. The construction of the label system will refer to the construction standards of the advanced text service platform and add customized scattered labels according to regional differences. There are many high-value labels among these scattered labels. Therefore, it is very meaningful to screen out high-value labels and expand the label system of the high-level service platform.

[0003] At present, when expanding the original label system, the secondary or tertiary labels are usually expanded based on the primary labels. For example, the patent document with application number "2021113670641" and titled "A method for building and iterating a multi-platform text secondary label system" determines the initial secondary label by iteratively expanding the representative words of the primary label, and completes the expansion and fusion of the secondary label. Although it can be applied to the expansion of labels on multiple platforms, it only realizes vertical extension and expansion. Although it is beneficial to the text classification of its own platform, it cannot achieve unified management of data on multiple platforms, and the effectiveness of the expanded labels needs to be improved. Summary of the invention

[0004] In view of the above technical problems, the technical solution adopted by the present invention is:

[0005] According to a first aspect of the present invention, a method for constructing a label system is provided, the method comprising the following steps:

[0006] S100, input the target text samples in each target text sample set into several second service platforms for labeling, and obtain the second label usage frequency of each second text label in several second text label sets in each target text sample set; each of the second service platforms stores the second text label set and the target text sample set corresponding to the second service platform itself.

[0007] S200 , according to a preset target tag usage frequency, respectively filter out a plurality of third tag usage frequencies corresponding to each second text tag from a plurality of second tag usage frequencies.

[0008] S300, according to the second tag usage frequency number and the third tag usage frequency number corresponding to each second text tag, determine the key text tags from a plurality of second text tags, add the determined plurality of key text tags to the first text tag set stored in the preset first service platform and construct a new tag system.

[0009] According to a second aspect of the present invention, there is provided a label system construction device, the device comprising:

[0010] The first acquisition module is used to input the target text samples in each target text sample set into several preset second service platforms for labeling, and obtain the second tag usage frequency of each second text tag in several second text tag sets in each target text sample set; each of the second service platforms stores the second text tag set and the target text sample set corresponding to the second service platform itself.

[0011] The first screening module is used to screen out a plurality of third tag usage frequencies corresponding to each second text tag from a plurality of second tag usage frequencies according to a preset target tag usage frequency.

[0012] A construction module is used to determine key text tags from a number of second text tags based on the second tag usage frequency number and the third tag usage frequency number corresponding to each second text tag, so as to add the determined several key text tags to the first text tag set stored in the preset first service platform and construct a new tag system.

[0013] According to a third aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned label system construction method when executing the computer program.

[0014] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned label system construction method when executed by a processor.

[0015] Compared with the prior art, the present invention has obvious beneficial effects. By means of the above technical solution, a label system construction method provided by the present invention can achieve considerable technical advancement and practicality, and has wide industrial utilization value, and has at least the following beneficial effects:

[0016] The present invention provides a labeling system construction method, firstly, each target text sample is input into a second service platform for labeling, the second label usage frequency of each second text label in each target text sample set is obtained, and a plurality of third label usage frequencies are screened out from a plurality of second label usage frequencies based on a preset target label usage frequency, wherein the target label usage frequency is determined based on the first label usage frequency, so that the formulation of the target label usage frequency is more reasonable, which is conducive to screening out a reasonable and effective third label usage frequency, and finally, the key text label is determined according to the number of second label usage frequencies and the number of third label usage frequencies corresponding to each second text label, and the determined key text label is added to the first text label set, the text labels screened out according to the label usage frequency by the above method have higher value and effectiveness, the existing labels are used to expand the original label system, and the horizontal expansion of the labels is realized, thereby creating a comprehensive and efficient labeling system, which is also of great significance for the unified management and analysis of cross-platform data. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 A flowchart of a label system construction method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes 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.

[0021] Embodiment 1

[0022] This embodiment provides a method for constructing a label system. Figure 1 As shown, the method comprises the following steps:

[0023] S100, input the target text samples in each target text sample set into several preset second service platforms for labeling, and obtain the second label usage frequency of each second text label in several second text label sets in each target text sample set; each second service platform stores a second text label set and a target text sample set corresponding to the second service platform itself; the second text label set includes several second text labels, and the target text sample set includes several target text samples.

[0024] Specifically, the first service platform is connected to each of the second service platforms for communication, and the number of the second service platforms is denoted as m.

[0025] Specifically, B={B1, B2, ..., B j , ..., B n}, where B j It refers to the jth first text label, j=1, 2, ..., n, where n is the number of first text labels.

[0026] The specific steps of step S100 are: inputting the obtained m target text sample sets into m second service platforms for labeling, and obtaining the second label usage frequency list set F corresponding to the m target text sample sets. 2 ={F 2 1, F 2 2, ..., F 2 i , ..., F 2 m}, F 2 i ={F 2i1 , F 2 i2 , ..., F 2 iu , ..., F 2 iq(i)}, F 2 iu ={F 2 iu1 , F 2 iu2 , ..., F 2 iux , ..., F 2 ium}, where F 2 iux It refers to the label usage frequency of the u-th second text label in the i-th second text label set in the x-th target text sample set, u=1, 2, ..., q(i), q(i) is the number of second text labels in the i-th second text label set, x=1, 2, ..., m.

[0027] Specifically, F 2 iux Meet the following conditions:

[0028] F 2 iux =L 2 iux / L 2 x , where L 2 iux is the number of uses of the u-th second text label in the i-th second text label set in the x-th target text sample set, L 2 x is the number of target text samples in the xth target text sample set.

[0029] In a specific embodiment, the target text sample set is obtained through the following steps:

[0030] S001, obtaining an initial text list pre-stored in each second service platform; the initial text list includes a plurality of initial texts.

[0031] Specifically, the initial text refers to any text pre-stored in any second service platform; it can be understood that: a number of initial texts is the sum of the initial texts in m second service platforms.

[0032] S002, according to preset screening conditions, a number of initial texts are screened out from any initial text list and combined into a target text sample set; it can be understood as: according to any initial text list stored in the second service platform, the corresponding target text sample set is obtained after screening.

[0033] In a specific embodiment, in step S002, the target text sample is determined by the following steps:

[0034] S0021, acquiring the text priority of each initial text in each initial text list according to the content data information of each initial text in the m initial text lists.

[0035] Specifically, the text priority of the initial text meets the following conditions:

[0036] W=ε1×(K1 / K2)+ε2×(K2 / K3)+ε3×(1 / K4), where W refers to the text priority of the corresponding initial text, K1 is the total number of characters of several keywords in the corresponding initial text, K2 is the total number of characters of the corresponding initial text, K3 is the average number of characters of the initial text in the m initial text list, K4 is the difference between the current time and the creation time of the corresponding initial text, ε1 is the preset first weight coefficient, ε2 is the preset second weight coefficient, and ε3 is the preset third weight coefficient.

[0037] Specifically, the several keywords in the initial text refer to several keywords obtained from the initial text through a keyword extraction model.

[0038] S0023, sorting the text priorities corresponding to the initial texts from high to low, and determining the initial texts corresponding to the first n text priorities as target text samples, where n is a preset text screening quantity threshold.

[0039] As described above, by calculating the text priorities of all initial texts in all initial text lists, a text screening quantity threshold number of initial texts can be screened out as target text samples according to the text priorities, so that the screened target text samples are at the forefront of priority, which is conducive to the analysis of text data.

[0040] In another specific embodiment, in step S002, the target text sample can also be determined by the following steps:

[0041] S0022, obtaining each initial text in each initial text list according to the content data information of each initial text one The text priority of each initial text in the initial text list; wherein, the method for obtaining the text priority of the initial text is consistent with the method for obtaining in step S0021, and will not be repeated here.

[0042] S0024, according to a preset text priority threshold, select a plurality of intermediate texts corresponding to the initial text list from each initial text list; the intermediate text refers to any initial text whose corresponding text priority is greater than the preset text priority threshold.

[0043] S0026, determining the number of target texts according to the number of intermediate texts corresponding to each initial text list.

[0044] Specifically, the target text quantity refers to a quantity that is not greater than the minimum intermediate text quantity, wherein the minimum intermediate text quantity refers to the minimum value of the m intermediate text quantities screened out from the m initial text lists; it can be understood that: each initial text list corresponds to an intermediate text quantity.

[0045] S0028, sorting the text priorities of several initial texts corresponding to any initial text list, and determining the intermediate texts corresponding to the text priorities of the first target text as the target text samples.

[0046] As described above, by determining the number of target texts and taking the number of target texts as the standard, the same number of initial texts can be screened out from each initial text list as target text samples, so that the same number of samples can be selected according to the differences in texts between different second service platforms to ensure the comprehensiveness of text analysis.

[0047] S200, according to a preset target tag usage frequency, a plurality of third tag usage frequencies corresponding to each second text tag are respectively screened out from a plurality of second tag usage frequencies; the third tag usage frequency refers to any second tag usage frequency among a plurality of second tag usage frequencies corresponding to the second text tag that is greater than the target tag usage frequency.

[0048] Specifically, the target tag usage frequency is determined through the following steps:

[0049] S201: Input all target text samples in each target text sample set into the first service platform for labeling, and obtain the first label usage frequency of each first text label in the first text label set in each target text sample set.

[0050] Specifically, each target text sample in the obtained m target text sample sets is input into the first service platform for labeling, and a first label usage frequency list set F corresponding to the m target text sample sets is obtained. 1 ={F 1 1, F 1 2, ..., F 1 i , ..., F 1 m}, F1 i ={F 1 i1 , F 1 i2 , ..., F 1 ij , ..., F 1 in}, F 1 ij For B j The frequency of label usage in the i-th target text sample set, i=1, 2, ..., m.

[0051] Specifically, the first service platform refers to the parent platform of the second service platform; it can be understood that: the label system in the second service platform is constructed with reference to the first service platform, and is expanded with other text labels according to its own region or service characteristics.

[0052] Specifically, F 1 ij Meet the following conditions:

[0053] F 1 ij =L 1 ij / L 1 i , where L 1 ij For B j The number of uses in the i-th target text sample set, L 1 i is the number of target text samples in the i-th target text sample set.

[0054] S202, sorting the usage frequencies of a plurality of first tags corresponding to each target text sample set from small to large.

[0055] S203, determining the numerical value at the target position in the sorting result as the target tag usage frequency corresponding to the target text sample set itself; the target text sample set corresponds to the target tag usage frequency one by one.

[0056] Specifically, the target position refers to a position determined by those skilled in the art in the art in the sorting result of the first tag usage frequency according to actual needs; for example, the target position may be the lower quartile in the sorting result of the first tag usage frequency.

[0057] S300, according to the second tag usage frequency number and the third tag usage frequency number corresponding to each second text tag, determine the key text tags from a number of second text tags, add the determined several key text tags to the first text tag set B stored in the preset first service platform and construct a new tag system.

[0058] Specifically, step S300 includes the following steps:

[0059] S301, calculating the ratio of the usage frequency of the third tag corresponding to any second text tag to the usage frequency of the second tag corresponding to the second text tag itself.

[0060] S302: When the ratio is not less than a preset ratio threshold, a second text tag corresponding to a ratio not less than the preset ratio threshold is determined as a key text tag.

[0061] Specifically, when y / m≥θ, F 2 iu The corresponding second text label is determined as the key text label, where θ is a preset ratio threshold; for example, 80%.

[0062] As mentioned above, when the proportion of the number of second tag usage frequencies that are greater than the target tag usage frequency among the several second tag usage frequencies corresponding to any second text tag is not less than a preset ratio threshold, this second text tag is considered to be an important tag, and then this second text tag is added to the first text tag set to construct a more comprehensive and effective new tag system.

[0063] In a specific embodiment, step S300 further includes the following steps:

[0064] S310, traversing the first text tag set B and several key text tags, when there is a key text tag that is the same as any first text tag in the first text tag set B, deleting the key text tag that is the same as any first text tag in the first text tag set B.

[0065] S320: Combine the remaining key text tags with the first text tag set B to construct a new tag system.

[0066] In the above, by filtering out the key text tags that are the same as any first text tag from the filtered key text tags, there are no duplicate tags in the constructed new tag system, thus avoiding duplicate storage of tags.

[0067] In another specific embodiment, the target text sample is obtained by further performing the following steps:

[0068] M100, based on the received initial text list set, obtains an initial text keyword set corresponding to the initial text itself from each initial text in the initial text list set; the initial text corresponds to the initial text keyword set one by one; the initial text keyword set includes a number of initial text keywords; it can be understood that: the initial text list set is a collection of initial text lists obtained from m second service platforms, and each initial text list can filter out the corresponding target text sample set.

[0069] In a specific embodiment, the M100 step includes the following steps:

[0070] M101, based on the keyword extraction model, extracts several initial text keywords corresponding to the initial text itself from each initial text. Those skilled in the art are aware of any keyword extraction model in the prior art that can extract keywords from text, which will not be described in detail here.

[0071] M102, performing deduplication processing on the several initial text keywords, and combining the remaining initial text keywords into an initial text keyword set.

[0072] M200, removing a plurality of initial text keywords corresponding to each initial text from the corresponding initial text, and obtaining an initial text segment set corresponding to each initial text; the initial text segment set includes a plurality of initial text segments.

[0073] In a specific embodiment, the M200 step also includes the following steps:

[0074] M201, removing a plurality of initial text keywords corresponding to each initial text from the corresponding initial text, and obtaining a plurality of pre-processed text segments corresponding to each initial text.

[0075] M202, according to a preset redundant word list, searching for a plurality of target redundant words from a plurality of preprocessed text segments corresponding to each initial text.

[0076] Specifically, the preset redundant word table refers to a data table recording a number of preset redundant words; for example, commonly used modal particles.

[0077] Specifically, the target redundant word refers to a word in the preprocessed text segment that is consistent with any preset redundant word.

[0078] M203, deleting the plurality of target redundant words from the plurality of preprocessed text segments, and obtaining an initial text segment corresponding to each preprocessed text segment.

[0079] As mentioned above, after obtaining the initial text keywords, the preprocessed text fragments in the initial text are also obtained and converted into standard initial text fragments. Through the combination of the initial text keywords and the initial text fragments, the generated key text is more accurate and more in line with the original meaning of the initial text, and the standardized text is conducive to processing and analysis.

[0080] M300 inputs the initial text keyword set and the initial text segment set corresponding to each initial text into a preset language processing model to obtain the key text corresponding to each initial text.

[0081] In another specific embodiment, the key text can also be directly obtained through keywords, including the following steps:

[0082] E100, the CE in the keyword set CE of the text to be processed α Add to the preset keyword sequence and add CE α Remove from CE to obtain a new CE; the initial state of the preset keyword sequence is empty.

[0083] Specifically, the to-be-processed text keyword refers to any keyword collected by the target user based on the target person's verbal statement text information.

[0084] Specifically, the preset keyword sequence refers to a sequence for sequentially storing keywords of the text to be processed that are removed from the CE.

[0085] Specifically, CE={CE1, CE2, ..., CE α ,……,CE β}, where CE α is the αth text keyword to be processed, α=1, 2,…, β, β is the number of text keywords to be processed.

[0086] E200, traverse the text keywords to be processed in the new CE, calculate the correlation between each text keyword to be processed in the new CE and the CE α The co-occurrence probability of CE; that is, by constructing a co-occurrence matrix, find the co-occurrence probability of CE from the new CE. α The vector distance of the text to be processed is the closest and most reasonable. Those skilled in the art are aware of the specific implementation method of calculating the co-occurrence probability in the prior art, which will not be repeated here.

[0087] E300, according to each to-be-processed text keyword in the new CE and CE α The co-occurrence probability determines the maximum co-occurrence probability, and CE α Update to the to-be-processed text keyword corresponding to the maximum co-occurrence probability, return to execute E100, until the new CE is an empty set, and obtain CE αThe corresponding maximum co-occurrence probabilities.

[0088] As described above, since a maximum co-occurrence probability is obtained in each cycle, when the new CE is an empty set, it has cycled β-1 times and obtained β-1 maximum co-occurrence probabilities.

[0089] E400, according to the maximum co-occurrence probabilities corresponding to each keyword of the text to be processed, obtain the first maximum co-occurrence probability list set P={P1, P2, ..., P α , ..., P β}, where P α ={P α1 , P α2 , ..., P αe , ..., P α(β-1)}, P αe For CE α The e-th maximum co-occurrence probability corresponding to the first keyword to be processed in the preset keyword sequence, e=1, 2, ..., β-1.

[0090] As mentioned above, by inputting β keywords of the text to be processed as starting keywords into the preset keyword sequence in turn, β maximum co-occurrence probability lists can be obtained, which is conducive to calculating the priority of each maximum co-occurrence probability list separately, so as to find the most reasonable order of sorting several keywords of the text to be processed and realize the order correction of keywords.

[0091] E500: According to P, obtain a first target co-occurrence probability list from β first maximum co-occurrence probability lists.

[0092] In a specific embodiment, in step E500, the first target co-occurrence probability list is obtained through the following steps:

[0093] E501, obtain CE α The co-occurrence probability list priority CS of the corresponding maximum co-occurrence probability list α ; can be understood as: CE α The corresponding maximum co-occurrence probability list refers to CE α The maximum co-occurrence probability list corresponding to when it is added as the starting keyword to the preset keyword sequence.

[0094] Among them, CS α Meet the following conditions:

[0095] CS α =∑ β-1 e=1 P αe .

[0096] E502 , according to the co-occurrence probability list priorities corresponding to each to-be-processed text keyword, determine the maximum co-occurrence probability list corresponding to the maximum co-occurrence probability list priority as the first target co-occurrence probability list.

[0097] As mentioned above, by adding up several co-occurrence probabilities in each maximum co-occurrence probability list respectively, the calculation result with the largest value can be found and the result can be used as the priority of the corresponding co-occurrence probability list. The larger the overall co-occurrence probability, the closer the average distance of several preset keywords is, and the most reasonable keyword sorting order can be found.

[0098] In another specific embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0099] E01, if CE α When only one text keyword to be processed remains in the new CE after being removed from the CE, the remaining text keyword to be processed is added to the preset keyword sequence and the CE is obtained. α The corresponding β-2 maximum co-occurrence probabilities.

[0100] E02, according to the β-2 maximum co-occurrence probabilities corresponding to each keyword in the text to be processed, obtain the second maximum co-occurrence probability list set corresponding to CE; the second maximum co-occurrence probability list set includes β second maximum co-occurrence probability lists, and each second maximum co-occurrence probability list includes β-2 maximum co-occurrence probabilities.

[0101] E03: According to the second maximum co-occurrence probability list set, a second target co-occurrence probability list is acquired from the second maximum co-occurrence probability list set.

[0102] Specifically, the method for acquiring the second target co-occurrence probability list is consistent with the method for acquiring the first target co-occurrence probability list.

[0103] As mentioned above, when there is only one keyword left in the keyword set, there is no other keyword in the keyword set. Therefore, there is no need to calculate and compare to find the maximum co-occurrence probability. It can be directly added to the preset keyword sequence.

[0104] E600, input the keywords of the text to be processed in the preset keyword sequence corresponding to the first target co-occurrence probability list into the preset language processing model in the order of addition to the preset keyword sequence, so as to obtain the key text corresponding to CE; those skilled in the art are aware of any language processing model in the prior art that can output corresponding text according to several keywords, and will not be described in detail here.

[0105] In another specific embodiment, in step E600, the first target co-occurrence probability list is replaced with the second target co-occurrence probability list to obtain the key text corresponding to CE.

[0106] In the above, by obtaining a reasonable arrangement order of several keywords of the text to be processed, the order correction of several keywords of the text to be processed is realized, and several preset keywords are input into the preset language processing model in sequence according to the corrected order to generate standardized processed text to realize the management and complete storage of the text.

[0107] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0108] E001, determining the initial text keyword set as a new text keyword set to be processed.

[0109] E002, acquiring key texts corresponding to the initial text keyword set according to the new to-be-processed text keyword set.

[0110] The above provides another form of obtaining standardized text, that is, when the data information collected by the target user is in text form rather than one-sided keywords, it is possible to extract several initial text keywords from the text and directly generate corresponding standardized text based on the several initial text keywords.

[0111] M400, according to a plurality of initial texts, an initial text keyword set corresponding to each initial text, and a key text corresponding to each initial text, obtain a text weight corresponding to each initial text.

[0112] Specifically, the text weight corresponding to the initial text meets the following conditions:

[0113] W 00 r =W 0 r / max(W 0 1,W 0 2,……,W 0 r ,……,W 0 g ), where W 00 r is the text weight corresponding to the rth initial text in the initial text list, W 0 r =δ r1 ×N r ×δ r2 ×(δ r1 / δ rg ), δ r1is the number of characters in the rth initial text, N r is the number of initial text keywords corresponding to the rth initial text, δ r2 is the number of characters of the key text corresponding to the rth initial text, the value range of r is 1 to g, and g is the number of initial texts in the initial text list set.

[0114] M500: When there is an initial text whose corresponding text weight is greater than a preset text weight threshold, the initial text whose corresponding text weight is greater than the preset text weight threshold is determined as a target text sample.

[0115] The above provides a technical solution for obtaining the corresponding key text based on the initial text keywords and the initial text fragments, and then calculating the text weight of the corresponding initial text based on the initial text and the key text. This calculation method makes full use of the structure and content information of the text to achieve a comprehensive evaluation of the text, and can quickly determine the effective and high-value target text, which is conducive to the processing and analysis of large amounts of text data.

[0116] In a specific embodiment, in step M500, the preset text weight threshold is obtained by the following steps:

[0117] M501, receiving a plurality of preprocessed texts and obtaining a text weight corresponding to each preprocessed text; the method for obtaining the text weight corresponding to the preprocessed text is consistent with the method for obtaining the text weight corresponding to the initial text.

[0118] M502, sorting the text weights corresponding to the plurality of preprocessed texts from small to large to obtain a weight sorting result.

[0119] M503: Determine the text weight at the target sorting position in the weight sorting result as a preset text weight threshold.

[0120] Specifically, the target ranking position refers to the position determined by technicians in this field in the weight ranking results according to actual needs; for example, it can be the middle position or the value at the 80% position.

[0121] In the above, by taking a number of preprocessed texts as sample sets and determining the text weight threshold according to the text weights of the preprocessed texts, the set text weight threshold is made more reasonable, which is conducive to selecting effective target texts.

[0122] In another specific embodiment, when constructing the new tag system, in order to further improve the effectiveness of the filtered key text tags, the key text tags are further filtered. The specific implementation method is as follows:

[0123] L100, input each initial text in the initial text list set into the first service platform for labeling, and obtain the first text list set B 1 ={B 1 1, B 1 2, ..., B 1 j , ..., B 1 n}, B 1 j ={B 1 j1 , B 1 j2 , ..., B 1 jd , ..., B 1 jh(j)}, where B 1 jd It refers to the dth initial text corresponding to the jth first text label, d=1, 2, ..., h(j), h(j) is the number of initial texts corresponding to the jth first text label; it can be understood that: the first text refers to any initial text marked with any first text label.

[0124] Specifically, the initial text list set is TE={TE1, TE2, ..., TE r ,……,TE g}, where TE r It refers to the rth initial text, r=1, 2,…, g, where g is the number of initial texts.

[0125] As mentioned above, by inputting each initial text into the first service platform for labeling, several first text labels corresponding to each initial text can be obtained, and therefore several initial texts corresponding to each first text label can also be obtained. By obtaining the number of initial texts corresponding to each first text label, it is helpful to measure the importance of each first text label.

[0126] L200, based on the text priority of each initial text and B 1 , get the first text label score set B corresponding to B 0 ={B 0 1, B 0 2, ..., B 0 j , ..., B 0 n}, where B 0 j For B j The corresponding first text label score.

[0127] Among them, B 0j Meet the following conditions:

[0128] B 0 j =(h(j) / g)×log(g / ∑ g r=1 (λ jr / W r )), where W r refers to the text priority of the rth initial text, λ jr The value of is 0 or 1. When the rth initial text tag has the jth first text tag, λ jr is 1, otherwise, λ jr is 0.

[0129] As described above, by obtaining the number of initial texts corresponding to each first text label and the priority of each initial text, the score of each first text label can be calculated. The score can reflect the importance of the first text label, which is conducive to achieving a comprehensive evaluation of the importance of the label.

[0130] L300, for B 0 The n first text label scores in the set are sorted, and the target label score is determined according to a preset score determination condition.

[0131] Specifically, the preset score determination condition refers to: determining the value at the target position in the sorting result as the target tag score.

[0132] L400, input each initial text in TE to m second service platforms for labeling, and obtain the second text list set B 2 ={B 2 1, B 2 2, ..., B 2 a , ..., B 2 c}, where B 2 a It refers to the ath second text list, and the ath second text list refers to a list composed of several initial texts corresponding to the ath key text tag; it can be understood that: the m second service platforms all receive g initial texts in the initial text list set.

[0133] Specifically, the method is also given a key text tag set TA={TA1, TA2, ..., TA a ,……,TA c},TA aIt refers to the ath key text tag, a=1, 2, ..., c, c is the number of key text tags; it can also be understood as: when the initial text is input to the second service platform for tagging, a second text tag consistent with the ath key text tag is obtained from the second service platform, and a number of initial texts corresponding to the second text tag are obtained as B 2 a .

[0134] L500, based on the text priority of each initial text and B 2 , get the second text label score set TA corresponding to TA 0 ={TA 0 1.TA 0 2, ..., TA 0 a ,……,TA 0 c}, where TA 0 a For TA a The corresponding second text label score.

[0135] Specifically, the method for obtaining the second text label score is the same as the method for obtaining the first text label score, which will not be described in detail here.

[0136] L600, when TA 0 a When the score of the target tag is not less than that of the target tag, a Determine the target text label.

[0137] As described above, by inputting the initial text into the first service platform for labeling, and calculating several first text label scores according to the labeling result and the text priority of the initial text, the set target label score is made more reasonable, which is conducive to screening out more valuable target text labels.

[0138] In a specific embodiment, after step L700, the following steps are also included:

[0139] L700, traverse B and several target text labels determined from TA, and when there is a target text label that is the same as any first text label in B, delete the target text label that is the same as any first text label in B.

[0140] L800, combines the remaining target text labels with B to construct a new label system.

[0141] As described above, by filtering out the target text tags that are the same as any first text tag from the filtered target text tags, there are no duplicate tags in the constructed new tag system, thus avoiding duplicate storage of tags.

[0142] As a parallel embodiment, this embodiment can also obtain the target text label through the following implementation method, including the following steps:

[0143] P100, from TE r Get TE r The corresponding keyword intermediate information set; the TE r The corresponding keyword intermediate information set includes TE r The number of initial text keywords in z r TE r The number of initial text keywords repeated in r 、z r The average number of characters of initial text keywords z 0 r and the number of characters in the intermediate text segment between each two adjacent initial text keywords.

[0144] For a better understanding, the number of repeated initial text keywords is given as an example: r When there are six initial text keywords in total, they are: initial text keyword 1, initial text keyword 1, initial text keyword 1, initial text keyword 2, initial text keyword 2, initial text keyword 3, among which initial text keyword 1 is repeated twice and initial text keyword 2 is repeated once, so the total number of repetitions is 2+1=3; it can also be understood as: for TE r The number of initial text keywords that need to be deleted when deduplicating the initial text keywords in the .

[0145] In a specific embodiment, in step P100, TE is obtained by the following steps: r The number of characters in the intermediate text fragment between each two adjacent initial text keywords:

[0146] P101, Get TE r The z initial text keywords in TE r The location information in.

[0147] P102, according to TE r The location information of each initial text keyword in TE r The intermediate text segment between each two adjacent initial text keywords in ; the intermediate text segment is also the preprocessed text segment obtained above.

[0148] P103, according to TE r The intermediate text segment between each two adjacent initial text keywords in the TE rThe number of characters in the intermediate text segment between each two adjacent initial text keywords.

[0149] P200, according to TE r and TE r Corresponding keyword intermediate information set, obtain TE r The corresponding initial text score ψ r .

[0150] Among them, ψ r Meet the following conditions:

[0151] ψ r =(z r ×ρ r × 0 r ) / (z 00 r ×(ζ r +1)), where ρ r For TE r The corresponding target number of characters, z 00 r For TE r The average number of characters in the corresponding intermediate text segments.

[0152] In this embodiment, TE r The corresponding target number of characters refers to TE r The number of characters.

[0153] In a specific embodiment, ρ can also be determined by the following steps: r :

[0154] P201, obtain the number of characters of each initial text in TE.

[0155] P202, according to the number of characters of some initial text, TE r The number of characters is normalized to between 0 and λ, and the normalized result is determined as ρ r , where λ is the preset normalization threshold.

[0156] As mentioned above, when calculating the initial text score, taking into account the situation that other parameters are small and relatively close, while the number of characters in the initial text is large, the method of normalizing the number of characters in the initial text is adopted. This can effectively reduce the influence of the number of characters in the initial text on the calculated initial text score and improve the rationality of calculating the initial text score.

[0157] P300, based on TA, labels each initial text in TE and obtains the second text list set B 2 ={B 2 1, B 2 2, ..., B2 a , ..., B 2 c}, where B 2 a It refers to the ath second text list, and the ath second text list refers to a list composed of several initial texts corresponding to the ath key text tag.

[0158] P400, based on the initial text score and B corresponding to each initial text 2 , get the second text label score set ST corresponding to TA = {ST1, ST2, ..., ST a , ..., ST c}, where ST a For TA a The corresponding second text label score.

[0159] Specifically, in step P400, ST a Meet the following conditions:

[0160] ST a =(ξ(a) / g)×log(g / ∑ g r=1 (λ ar / ψ r ), where λ ar The value of is 0 or 1. When the rth initial text is marked with the ath key text label, λ ar is 1, otherwise, λ ar is 0, ξ(a) is B 2 a The number of initial texts in .

[0161] P500, when ST a When the score is not less than the preset tag score, the TA is obtained. a The target text label.

[0162] Specifically, in one embodiment, the preset tag score is a score set by a person skilled in the art according to actual needs or experience. In a parallel embodiment, by replacing the text priority in step L200 with the initial text score, that is, replacing W r Replace with ψ r The target label score obtained after calculating the first text label score is used as the preset target label score. The calculation process is the same and will not be repeated here.

[0163] As described above, by using the intermediate information set of keywords in the initial text, the relevant parameters of each keyword in the initial text are obtained, and the score of this initial text is calculated separately according to the number of characters in the initial text and the parameters of each keyword. What is different from the previous implementation method of obtaining the target text label is that the text priority in the previous implementation method is based on the overall information of several initial texts to measure the score of each initial text, while this embodiment adopts a method of calculating the score of each initial text separately, which simplifies the calculation process.

[0164] In a specific embodiment, each of the second service platforms is respectively provided with a preset label model for labeling text, and when the computer program is executed by the processor, the following steps are also implemented:

[0165] P001, receiving a plurality of first predicted text labels marked by a target user for any preset text in a preset text set.

[0166] Specifically, the preset text refers to any initial text in the initial text list set or any text among several initial texts randomly selected from the initial text list set.

[0167] P002, input any of the preset texts into several preset label models, and obtain several second predicted text labels marked by each preset label model for the any of the preset texts; it can be understood that: the any of the preset texts here refers to the preset text marked with several first preset text labels in step P001.

[0168] P003, according to the plurality of first predicted text labels and the plurality of second predicted text labels marked by each preset label model for any preset text, obtain the label overlap rate corresponding to each preset label model.

[0169] In a specific embodiment, in step P003, the label overlap rate corresponding to any preset label model is obtained through the following steps:

[0170] P0031, traverse a number of first predicted text labels, and obtain a third predicted text label from a number of second predicted text labels corresponding to any of the preset label models; the third predicted text label refers to a second predicted text label that is the same as any first predicted text label among the number of second predicted text labels corresponding to any of the preset label models.

[0171] Specifically, the plurality of second predicted text labels corresponding to the preset label model refer to the plurality of second predicted text labels marked by the preset label model for any preset text.

[0172] P0032, according to the number of the third predicted text labels and the number of the first predicted text labels, obtain the label overlap rate corresponding to any one of the preset label models.

[0173] Specifically, the label overlap rate corresponding to any of the preset label models meets the following conditions:

[0174] RE v =φ v / φ, where RE v It refers to the label overlap rate corresponding to the vth preset label model, φ v refers to the same number of the second predicted text labels as the first predicted text labels, and φ refers to the number of the first predicted text labels.

[0175] As mentioned above, for a preset text, each preset label model can obtain a corresponding label overlap rate. The higher the label overlap rate, the higher the label accuracy of the preset label model, which is conducive to obtaining the priority of several preset label models according to the preset text set.

[0176] In a preferred embodiment, the key text tag set TA can also be obtained through the following steps:

[0177] P1, according to the number of preset texts in the preset text set, obtain several label overlap rates corresponding to any preset label model; it can be understood that: any preset label model labels each preset text separately, and several label overlap rates corresponding to the preset label model will be obtained.

[0178] P2, normalize the label overlap rates corresponding to each preset label model to obtain the label model priority corresponding to each preset label model; a person skilled in the art is aware of any implementation method of normalization in the prior art, for example, a method of averaging the label overlap rates, which will not be described here.

[0179] P3, when g≥γ, the preset label model with the highest corresponding label model priority is determined as the target label model, and several text labels in the second service platform corresponding to the target label model are used as TA, where γ is a preset quantity threshold.

[0180] P4, when g<γ, a preset number of preset label models are screened out according to the label model priority, and text labels in a plurality of second service platforms corresponding to the preset number of preset label models are merged as TA.

[0181] As mentioned above, taking into account the amount of initial text, when the amount of initial text is small, the text tags in several second service platforms corresponding to the multiple preset tag models screened out are used as key text tags to increase the number of key text tags, making the tags for the initial text more comprehensive. When the amount of initial text is large, using a preset tag model can reduce the complexity of operations and improve tagging efficiency.

[0182] In another specific embodiment, the rationality of the acquired second predicted text label can also be verified, that is, after step P003, the following steps are also included:

[0183] P004, based on a number of second predicted text labels of each preset label model for any preset text tag, the label overlap rate corresponding to each preset label model and the preset model credibility of each preset label model, obtain the credibility priority of each second predicted text label; it can be understood that: the preset label model is an open source label model carrying credibility information, and the model credibility can also be tested through samples.

[0184] In a specific embodiment, in step P004, the credibility priority of any second predicted text label is obtained through the following steps:

[0185] P0041, according to the preset model credibility of each preset label model and a number of second predicted text labels corresponding to each preset label model, obtain the target model credibility of each preset label model.

[0186] Among them, the target model credibility of any preset label model meets the following conditions:

[0187] CR 0 v =CR v ×(QU1 / QU), where CR 0 v is the target model credibility of the vth preset label model, CR v is the preset model credibility of the vth preset label model, QU1 is the number of preset label models that mark any second predicted text label, and QU is the number of preset label models.

[0188] P0042, obtaining the credibility priority of any second predicted text label according to the label overlap rate corresponding to each preset label model and the target model credibility of each preset label model.

[0189] Specifically, the credibility priority of any second predicted text label meets the following conditions:

[0190] ω=∑ QUv=1 (RE v ×CR 0 v ).

[0191] As described above, the preset model credibility of each preset label model is adjusted by marking the number of preset label models of any second predicted text label and the total number of preset label models. That is, the fewer the number of preset label models that type out a second predicted text label, the less credible the typed second predicted text label is, which will reduce the credibility of the preset label model that types out the second predicted text label. Therefore, the credibility of the preset label model needs to be adjusted to make the calculated credibility priority more accurate.

[0192] P005, when there is a second predicted text label whose credibility priority is greater than a preset credibility priority threshold, the result of verifying that the second predicted text label whose corresponding credibility priority is greater than the preset credibility priority threshold meets the preset requirements; it can be understood that: verifying that the result of the second predicted text label meets the preset requirements means that the second predicted text label is a reasonable label.

[0193] In a specific embodiment, the credibility priority threshold is obtained through the following steps:

[0194] P0051, receiving a number of target processing texts and obtaining the credibility priority of each fourth predicted text label among a number of fourth predicted text labels corresponding to each target processing text; the method for obtaining the credibility priority of the fourth predicted text label is consistent with the method for obtaining the credibility priority of the second predicted text label.

[0195] Specifically, the target processing text refers to any initial text randomly selected from the initial text list set.

[0196] P0052, sorting the credibility priorities of a plurality of fourth predicted text labels from small to large to obtain a priority sorting result.

[0197] P0053, determining the credibility priority at the target ranking position in the priority ranking result as the credibility priority threshold.

[0198] As mentioned above, by taking several target processed texts as sample sets, several corresponding fourth predicted text labels and the credibility priority of each fourth predicted text label are obtained, and a credibility priority threshold is determined according to several credibility priorities, so that the set credibility priority threshold is more reasonable, which can improve the accuracy and rationality of label verification.

[0199] Embodiment 2

[0200] This embodiment provides a label system construction device, the device comprising:

[0201] The first acquisition module is used to input the target text samples in each target text sample set into several preset second service platforms for labeling, and obtain the second tag usage frequency of each second text tag in several second text tag sets in each target text sample set; each of the second service platforms stores the second text tag set and the target text sample set corresponding to the second service platform itself.

[0202] The first screening module is used to screen out a plurality of third tag usage frequencies corresponding to each second text tag from a plurality of second tag usage frequencies according to a preset target tag usage frequency.

[0203] A construction module is used to determine key text tags from a number of second text tags based on the second tag usage frequency number and the third tag usage frequency number corresponding to each second text tag, so as to add the determined several key text tags to the first text tag set stored in the preset first service platform and construct a new tag system.

[0204] The specific implementation method of the device during implementation is the same as that of Example 1, and will not be repeated here.

[0205] Embodiment 3

[0206] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0207] S100, input the target text samples in each target text sample set into several preset second service platforms for labeling, and obtain the second tag usage frequency of each second text tag in several second text tag sets in each target text sample set; each of the second service platforms stores the second text tag set and the target text sample set corresponding to the second service platform itself.

[0208] S200 , according to a preset target tag usage frequency, respectively filter out a plurality of third tag usage frequencies corresponding to each second text tag from a plurality of second tag usage frequencies.

[0209] S300, according to the second tag usage frequency number and the third tag usage frequency number corresponding to each second text tag, determine the key text tags from a plurality of second text tags, add the determined plurality of key text tags to the first text tag set stored in the preset first service platform and construct a new tag system.

[0210] Embodiment 4

[0211] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0212] S100, input the target text samples in each target text sample set into several preset second service platforms for labeling, and obtain the second tag usage frequency of each second text tag in several second text tag sets in each target text sample set; each of the second service platforms stores the second text tag set and the target text sample set corresponding to the second service platform itself.

[0213] S200 , according to a preset target tag usage frequency, respectively filter out a plurality of third tag usage frequencies corresponding to each second text tag from a plurality of second tag usage frequencies.

[0214] S300, according to the second tag usage frequency number and the third tag usage frequency number corresponding to each second text tag, determine the key text tags from a plurality of second text tags, add the determined plurality of key text tags to the first text tag set stored in the preset first service platform and construct a new tag system.

[0215] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.

Claims

1. A method for constructing a label system, characterized in that: The method comprises the following steps: S100, inputting all target text samples in each target text sample set into a plurality of preset second service platforms for labeling, obtaining the second label usage frequency of each second text label in a plurality of second text label sets in each target text sample set; each of the second service platforms stores a second text label set and a target text sample set corresponding to the second service platform itself; Among them, the target text sample is determined through the following steps: S0022, obtaining the text priority of each initial text in each initial text list according to the content data information of each initial text in each initial text list; the text priority of the initial text meets the following conditions: W=ε1×(K1 / K2)+ε2×(K2 / K3)+ε3×(1 / K4), where W refers to the text priority of the corresponding initial text, K1 is the total number of characters of several keywords in the corresponding initial text, K2 is the total number of characters of the corresponding initial text, K3 is the average number of characters of the initial texts in several initial text lists, K4 is the difference between the current time and the creation time of the corresponding initial text, ε1 is the preset first weight coefficient, ε2 is the preset second weight coefficient, and ε3 is the preset third weight coefficient; S0024, according to a preset text priority threshold, respectively screening out a plurality of intermediate texts corresponding to the initial text list from each initial text list; the intermediate text refers to any initial text whose corresponding text priority is greater than the preset text priority threshold; S0026, determining the number of target texts according to the number of intermediate texts corresponding to each initial text list; S0028, sorting the text priorities of a number of initial texts corresponding to any initial text list, and determining the intermediate texts corresponding to the text priorities of the first target text as the target text samples; The second label usage frequency of the second text label in the target text sample set meets the following conditions: F 2 iux =L 2 iux / L 2 x , where F 2 iux It refers to the second label usage frequency of the u-th second text label in the i-th second text label set in the x-th target text sample set, L 2 iux is the number of uses of the u-th second text label in the i-th second text label set in the x-th target text sample set, L 2 x is the number of target text samples in the xth target text sample set; S200, according to a preset target tag usage frequency, respectively screening out a plurality of third tag usage frequencies corresponding to each second text tag from a plurality of second tag usage frequencies; S300, determining a key text tag from a plurality of second text tags according to the second tag usage frequency number and the third tag usage frequency number respectively corresponding to each second text tag, so as to add the determined plurality of key text tags to the first text tag set stored in the preset first service platform and construct a new tag system; The key text labels are determined by the following steps: S301, calculating the ratio of the number of third tag usage frequencies corresponding to any second text tag to the number of second tag usage frequencies corresponding to the second text tag itself; S302: When the ratio is not less than a preset ratio threshold, a second text tag corresponding to a ratio not less than the preset ratio threshold is determined as a key text tag.

2. The label system construction method according to claim 1, characterized in that: The target text sample set is also obtained through the following steps: S001, obtaining an initial text list pre-stored in each second service platform; the initial text list includes a plurality of initial texts; S002, according to a preset screening condition, a number of initial texts are screened out from any initial text list and combined into a target text sample set.

3. A label system construction device, characterized in that: The method for constructing a label system according to any one of claims 1 to 2 is performed, wherein the device comprises: The first acquisition module is used to input the target text samples in each target text sample set into a plurality of preset second service platforms for labeling, and obtain the second label usage frequency of each second text label in a plurality of second text label sets in each target text sample set; each of the second service platforms stores a second text label set and a target text sample set corresponding to the second service platform itself; A first screening module is used to screen out a plurality of third tag usage frequencies corresponding to each second text tag from a plurality of second tag usage frequencies according to a preset target tag usage frequency; A construction module, for determining a key text tag from a plurality of second text tags according to the second tag usage frequency number and the third tag usage frequency number respectively corresponding to each second text tag, so as to add the determined plurality of key text tags to the first text tag set stored in the preset first service platform and construct a new tag system; The device also includes: The fourth acquisition module is used to acquire the text priority of each initial text in each initial text list according to the content data information of each initial text in each initial text list; the text priority of the initial text meets the following conditions: W=ε1×(K1 / K2)+ε2×(K2 / K3)+ε3×(1 / K4), where W refers to the text priority of the corresponding initial text, K1 is the total number of characters of several keywords in the corresponding initial text, K2 is the total number of characters of the corresponding initial text, K3 is the average number of characters of the initial texts in several initial text lists, K4 is the difference between the current time and the creation time of the corresponding initial text, ε1 is the preset first weight coefficient, ε2 is the preset second weight coefficient, and ε3 is the preset third weight coefficient; A third screening module is used to screen out a plurality of intermediate texts corresponding to the initial text list from each initial text list according to a preset text priority threshold; the intermediate text refers to any initial text whose corresponding text priority is greater than the preset text priority threshold; A first determination module, used to determine the number of target texts according to the number of intermediate texts corresponding to each initial text list; The second determination module is used to sort the text priorities of a number of initial texts corresponding to any initial text list, and determine the intermediate texts corresponding to the text priorities of the first target text as the target text samples; The second label usage frequency of the second text label in the target text sample set meets the following conditions: F 2 iux =L 2 iux / L 2 x , where F 2 iux It refers to the second label usage frequency of the u-th second text label in the i-th second text label set in the x-th target text sample set, L 2 iux is the number of uses of the u-th second text label in the i-th second text label set in the x-th target text sample set, L 2 x is the number of target text samples in the xth target text sample set; The building blocks include: A calculation module, used for calculating the ratio of the usage frequency of the third tag corresponding to any second text tag to the usage frequency of the second tag corresponding to the second text tag itself; The third determination module is used to determine the second text tag corresponding to the ratio not less than the preset ratio threshold as the key text tag when the ratio is not less than the preset ratio threshold.

4. The label system construction device according to claim 3, characterized in that: The device further includes a second acquisition module, wherein the second acquisition module includes: A third acquisition module is used to acquire an initial text list pre-stored in each second service platform; the initial text list includes a plurality of initial texts; The second screening module is used to screen out a number of initial texts from any initial text list according to a preset screening condition and combine them into a target text sample set.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the label system construction method according to any one of claims 1 to 2 is implemented.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the label system construction method according to any one of claims 1 to 2 is implemented.