Method, device, equipment and storage medium for identifying item attribute words

By acquiring and segmenting item information, and combining preset rules and sequence annotation models to identify item attribute words, it solves the problems of low identification efficiency and high computational cost in the existing technology, and achieves more efficient item attribute identification and management.

CN113220980BActive Publication Date: 2024-10-22BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202010081450.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-06
Publication Date
2024-10-22
Estimated Expiration
2040-02-06

AI Technical Summary

Technical Problem

The efficiency of identifying item attribute words in the existing technology is low and the calculation cost is high. Especially in the management and application of large amounts of data on e-commerce platforms, it is difficult to effectively identify and manage product attributes.

Method used

By obtaining the information of the items to be identified, segmenting the words, identifying attribute words based on preset rules and sequence annotation models, calculating the similarity between the attribute words and standard attribute words, and determining the final attribute words, it improves recognition efficiency and reduces computing costs.

Benefits of technology

It improves the identification efficiency of item attribute words, reduces calculation costs, solves the problem of low coverage of preset rules, and achieves more accurate and efficient item attribute identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113220980B_ABST
    Figure CN113220980B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, equipment and storage medium for identifying item attribute words, and relates to the field of computer technology. The method includes: obtaining item information of an item to be identified; segmenting the item information; identifying the segmentation result based on a preset rule; when the first attribute word is identified, determining the similarity between the first attribute word and each standard attribute word in a preset attribute word table to determine whether the first attribute word is valid; when the first attribute word is invalid, or when the first attribute word is not identified based on the preset rule, identifying the segmentation result based on a sequence labeling model to identify at least one second attribute word; respectively determining the similarity between each second attribute word and each standard attribute word in a preset attribute word table; and determining the final attribute word of the item to be identified based on the similarity of each second attribute word. The method can improve recognition efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for identifying item attribute words. Background Art

[0002] The management and application of massive data on e-commerce platforms is one of the key research directions in the industry and academia today, and the development of big data technology and artificial intelligence technology provides important technical support for this. In the field of e-commerce, the classification, identification, search, recommendation, and management of massive products are important and valuable research directions in the industry.

[0003] In product identification, search, recommendation, and identification of similar products, product attribute words, such as product words, brand, model, etc., are particularly important. For example, for the Mate 10 mobile phone, the product word is "mobile phone" and the model word is "Mate 10". By searching for products through attribute words such as product words or model words, you can quickly find the products you need.

[0004] In the related art, the recognition method based on machine learning has low recognition efficiency and high calculation cost.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a method, device, equipment and storage medium for identifying item attribute words, which at least to a certain extent overcome the problems of low recognition efficiency and high calculation cost in related technologies.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to one aspect of the present disclosure, a method for identifying item attribute words is provided, including: obtaining item information of an item to be identified; segmenting the item information; identifying the segmentation results based on preset rules; when a first attribute word is identified, determining the similarity between the first attribute word and each standard attribute word in a preset attribute word table to determine whether the first attribute word is valid; when the first attribute word is invalid, or when the first attribute word is not identified based on the preset rule, identifying the segmentation results based on a sequence labeling model to identify at least one second attribute word; respectively determining the similarity between each second attribute word and each standard attribute word in the preset attribute word table; and determining the final attribute word of the item to be identified based on the similarity of each second attribute word.

[0009] In one embodiment of the present disclosure, the method further includes: when the first attribute word is valid, determining the first attribute word as the final attribute word of the object to be identified.

[0010] In one embodiment of the present disclosure, the word segmentation results are identified based on a sequence labeling model to identify at least one second attribute word therein, including: labeling the part of speech of each word in the word segmentation results based on the sequence labeling model; obtaining at least one word whose part of speech is an attribute word as at least one second attribute word.

[0011] In one embodiment of the present disclosure, determining the final attribute word of the object to be identified based on the similarity of each second attribute word includes: selecting the second attribute word with the greatest similarity as the final attribute word of the object to be identified.

[0012] In one embodiment of the present disclosure, the method further includes: establishing an attribute vocabulary.

[0013] In one embodiment of the present disclosure, the attribute word table is a mapping composed of key-value pairs, wherein the key is used to store the brand of the item, and the value is used to store the attribute word list of the corresponding item.

[0014] In one embodiment of the present disclosure, the attribute word table is established by at least one of the following data sources: acquired annotated attribute word data, acquired user-entered attribute word data, and attribute word data crawled from a website.

[0015] According to another aspect of the present disclosure, there is provided an object attribute word recognition device, comprising: an information acquisition module, used to acquire object information of an object to be recognized; an information segmentation module, used to segment the object information; a first recognition module, used to recognize the segmentation result based on a preset rule; a first similarity determination module, used to determine the similarity between the first attribute word and each standard attribute word in a preset attribute word table when a first attribute word is recognized, so as to determine whether the first attribute word is valid; a second recognition module, used to recognize the segmentation result based on a sequence labeling model when the first attribute word is invalid, or when the first attribute word is not recognized based on the preset rule, so as to recognize at least one second attribute word; a second similarity determination module, used to respectively determine the similarity between each second attribute word and each standard attribute word in the preset attribute word table; and an attribute word determination module, used to determine the final attribute word of the object to be recognized based on the similarity of each second attribute word.

[0016] According to yet another aspect of the present disclosure, a computer device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the above methods by executing the executable instructions.

[0017] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any of the above methods is implemented.

[0018] The method for identifying item attribute words provided by the embodiment of the present disclosure, after identifying the segmentation results based on preset rules, further identifies the invalid segmentation results of the identified attribute words based on the sequence labeling model, which can improve the recognition efficiency of the attribute words and reduce the computing cost; for the segmentation results in which the attribute words are not identified, further identification is performed based on the sequence labeling model, which can solve the problem of low coverage of the preset rules.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0021] Figure 1 It is a schematic diagram of the structure of a computer system provided by an exemplary embodiment of the present disclosure.

[0022] Figure 2 A flow chart of a method for identifying item attribute words in an embodiment of the present disclosure is shown.

[0023] Figure 3 A flow chart showing another method for identifying item attribute words in an embodiment of the present disclosure.

[0024] Figure 4 A flowchart of another method for identifying item attribute words in an embodiment of the present disclosure is shown.

[0025] Figure 5 A flowchart of another method for identifying item attribute words in an embodiment of the present disclosure is shown.

[0026] Figure 6 A block diagram of a device for identifying item attribute words in an embodiment of the present disclosure is shown.

[0027] Figure 7 It is a schematic diagram showing the structure of a computer system according to an exemplary embodiment. DETAILED DESCRIPTION

[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0029] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0030] In the description of the present disclosure, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0031] Figure 1 1 is a schematic diagram of a computer system provided by an exemplary embodiment of the present disclosure. The system includes: a plurality of terminals 120 and a server cluster 140.

[0032] The terminal 120 may be a mobile terminal such as a mobile phone, a game console, a tablet computer, an e-book reader, smart glasses, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a smart home device, an AR (Augmented Reality) device, a VR (Virtual Reality) device, or the terminal 120 may also be a personal computer (PC), such as a laptop computer and a desktop computer.

[0033] The terminal 120 may be installed with an application for providing an object attribute word recognition method.

[0034] The terminal 120 is connected to the server cluster 140 via a communication network. Optionally, the communication network is a wired network or a wireless network.

[0035] The server cluster 140 is a server, or is composed of several servers, or is a virtualization platform, or is a cloud computing service center. The server cluster 140 is used to provide background services for the application program that provides the method for identifying item attribute words. Optionally, the server cluster 140 undertakes the main computing work, and the terminal 120 undertakes the secondary computing work; or, the server cluster 140 undertakes the secondary computing work, and the terminal 120 undertakes the main computing work; or, the terminal 120 and the server cluster 140 adopt a distributed computing architecture for collaborative computing.

[0036] In some optional embodiments, server cluster 140 is used to store information.

[0037] Optionally, the client of the application installed in different terminals 120 is the same, or the client of the application installed on the two terminals 120 is the client of the same type of application of different control system platforms. Based on the different terminal platforms, the specific form of the client of the application may also be different, for example, the application client may be a mobile client, a PC client or a World Wide Web (Web) client.

[0038] Those skilled in the art will appreciate that the number of the above terminals 120 may be more or less. For example, the above terminal may be only one, or the above terminals may be dozens or hundreds, or more. The embodiments of the present disclosure do not limit the number and device types of the terminals.

[0039] Optionally, the system may also include a management device ( Figure 1 (not shown), the management device is connected to the server cluster 140 via a communication network. Optionally, the communication network is a wired network or a wireless network.

[0040] Optionally, the above-mentioned wireless network or wired network uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, the data exchanged through the network is represented by technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.

[0041] Below, each step of the method for identifying item attribute words in the exemplary embodiment of the present disclosure will be described in more detail with reference to the accompanying drawings and embodiments.

[0042] Figure 2 The flowchart of a method for identifying an item attribute word in an embodiment of the present disclosure is shown. The method provided in the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities, such as Figure 1 The terminal 120 and / or the server cluster 140 in the embodiment. In the following example description, the server cluster 140 is used as the execution subject for example description.

[0043] like Figure 2 As shown, the method 10 for identifying item attribute words includes:

[0044] In step S102, the object information of the object to be identified is obtained.

[0045] The items to be identified may be, for example, mobile phones, computers, and monitors; item information includes, but is not limited to, item title and item attributes, wherein item attributes include, but are not limited to, brand, price, weight, material, color, size, specification, style, applicable population, applicable scenarios, and applicable season.

[0046] Table 1 is an example of some attributes of item information.

[0047] Table 1 Examples of some attributes of item information

[0048] Item Properties Item attribute value Item Number 32465653735 Item Title XX P20 full screen mobile phone Aurora Flash Butterfly color full network (6G+64G) brand XX Item Price 3388 Gross weight of item 0.6kg Body weight (g) 165 Main screen size (inches) 5.8 inches Year of listing 2018 Release month April

[0049] In step S104, the item information is segmented.

[0050] After the item information is segmented, the segmentation result of the item information can be obtained.

[0051] For example, the item title in the item information may be segmented, and other information in the item information may also be segmented, and the present disclosure does not limit this.

[0052] You can use word segmentation tools to segment item titles. Word segmentation tools include but are not limited to Jieba word segmentation, SnowNLP, and THULAC.

[0053] Table 2 is an example of the item title segmentation results.

[0054] Table 2 Example of item title segmentation results

[0055]

[0056] In step S106, the word segmentation results are identified based on preset rules.

[0057] Based on the preset rules, the word segmentation result of the item information is identified, and the word segmentation result may be shown in Table 1, for example.

[0058] The preset rule may be, for example, a title truncation rule, and those skilled in the art may also use other rules, which is not limited in the present disclosure.

[0059] In step S108, when the first attribute word is identified, the similarity between the first attribute word and each standard attribute word in the preset attribute word table is determined to determine whether the first attribute word is valid.

[0060] By identifying the word segmentation results, when it is identified that the word segmentation results contain the first attribute word, the similarity between the first attribute word and each standard attribute word in the preset attribute word table is calculated, and whether the first attribute word is valid is determined based on the calculated similarity.

[0061] The similarity calculation method may be, for example, cosine similarity, edit distance, or improved Jaro-Winkler algorithm.

[0062] Attribute words may be, for example, model words, brand words, and product words.

[0063] Taking the attribute word as a model word as an example, a model word refers to a set of codes used to identify a type of product, consisting of numbers, letters or other codes. Model words are a reference to products and are more fine-grained attributes than product words, brand words, etc. Model words play an important role in product identification, recommendation, search, and identification of similar products.

[0064] For items with model words, model words become a very important attribute of the goods due to their fine granularity and the specific degree to which they refer to the goods. In the user's search, browsing and other behaviors, model words are also one of the attributes that users pay the most attention to. Therefore, model words play an important role in e-commerce search, recommendation and other business scenarios. In the search business, displaying the model word as a highlight attribute under the product title when searching for goods can improve the user experience. When searching directly for the model word, the goods represented by the model can also be matched with higher accuracy; in the recommendation business, recommending multiple accessories suitable for the same model product to users can better fit the user's needs and interests. In addition, filtering out the same model items that users have already purchased can both free up more recommendation positions and greatly improve the user experience.

[0065] Table 3 shows an example of model words identified based on the rules and whether they are valid.

[0066] Table 3 Examples of product model words identified based on rules

[0067]

[0068] As can be seen from Table 3, the segmentation results of the item titles in the item information are identified, and the model words identified are "XX 5Plus", "ideapad320", "+128G360", and "Meitu". By calculating the similarity between these model words and the standard model words in the model word table, it can be determined that "XX 5Plus" and "ideapad320" are valid model words, and "+128G360" and "Meitu" are invalid model words.

[0069] In step S110, when the first attribute word is invalid, the word segmentation results are identified based on the sequence labeling model to identify at least one second attribute word therein.

[0070] Based on the preset rules, the word segmentation results of the item information are identified, and there may be a situation where the identified attribute words are not the real attribute words of the item.

[0071] Taking the attribute word as a model word as an example, when the identified model word is invalid, based on the sequence labeling model, the respective results are re-identified to identify one or more model words. When multiple model words are identified, the multiple model words can be used as a model word candidate set.

[0072] The sequence labeling model may be, for example, a CRF (Conditional Random Field) model or a BiLSTM-CRF (Bi-directional Long Short-Term Memory-Conditional Random Field) model.

[0073] As can be seen from Table 3, "+128G360" and "Meitu" are invalid model words. Based on the sequence labeling model, the word segmentation results of the item title are further identified.

[0074] After identifying the word segmentation results based on preset rules, invalid word segmentation results of identified attribute words are further identified based on the sequence labeling model to improve recognition efficiency.

[0075] In step S112, the similarity between each second attribute word and each standard attribute word in the preset attribute word table is determined respectively.

[0076] Still taking the attribute word as a model word as an example, the similarity between each model word identified by the sequence labeling model and each standard model word in the preset model word table is calculated. The similarity calculation method can be, for example, cosine similarity, edit distance, and improved Jaro-Winkler algorithm.

[0077] In step S114, based on the similarities of the second attribute words, the final attribute word of the object to be identified is determined.

[0078] For example, the similarities of the second attribute words may be compared to determine that one of the plurality of second attribute words is the final attribute word of the item.

[0079] In some embodiments, the second attribute word with the greatest similarity is selected as the final attribute word of the object to be identified.

[0080] For example, if the similarities of the second attribute words are 0.8, 0.9, and 0.7 respectively, the one with the largest similarity is selected as the final attribute word of the object to be identified, that is, the second attribute word with a similarity of 0.9 is selected as the final attribute word.

[0081] In some embodiments, method 10 further includes:

[0082] In step S101, an attribute word list is established.

[0083] The attribute vocabulary can be established as needed.

[0084] In some embodiments, the attribute word table is a map consisting of key-value pairs, wherein the key is used to store the brand of the item, and the value is used to store the attribute word list of the corresponding item.

[0085] For example, the key can be a brand word, such as a mobile phone brand, a computer brand, etc.; the value can be an attribute word, such as "ideapad320".

[0086] In some embodiments, the attribute word table is established through at least one of the following data sources: acquired annotated attribute word data, acquired user-entered attribute word data, and attribute word data crawled from a website.

[0087] By obtaining the annotated attribute word data, a basic attribute word list can be obtained; by obtaining the attribute words input by users and the attribute words obtained by crawling from websites, more popular attribute words and attribute words of new products can be obtained. Among them, websites include social networking sites, news sites, brand official websites, etc.

[0088] In this embodiment, the attribute word list is established by information obtained from multiple sources, which can improve the completeness of the attribute word list; the attribute word list is established by information obtained from websites, which can improve the timeliness of the attribute word list and reduce the cost of updating the word list.

[0089] In some embodiments, step S101 further includes: filtering the attribute vocabulary.

[0090] For example, the attribute word list can be filtered through regular expressions or custom rules to obtain the final attribute word list.

[0091] Words that are not attribute words may be obtained through website information and user input information. By filtering the attribute word list, subsequent recognition can be made more accurate.

[0092] The method for identifying item attribute words provided by the embodiment of the present disclosure, after identifying the segmentation results based on preset rules, further identifies the invalid segmentation results of the identified attribute words based on the sequence labeling model, which can improve the recognition efficiency of the attribute words and reduce the computing cost.

[0093] Figure 3 A flow chart showing another method for identifying item attribute words in an embodiment of the present disclosure.

[0094] Figure 3 The object attribute word recognition method 20 shown in FIG. Figure 1 The difference of the method 10 shown is that, after step S106, the method 20 further includes:

[0095] In step S202, when the first attribute word is not identified based on the preset rule, the word segmentation results are identified based on the sequence labeling model to identify at least one second attribute word therein.

[0096] Based on the preset rules, the word segmentation results of the item information are identified, and there may be cases where attribute words are not identified.

[0097] Taking the attribute word as a model word as an example, when the model word is not identified, based on the sequence labeling model, the results are identified to identify one or more model words. When multiple model words are identified, the multiple model words can be used as a model word candidate set.

[0098] The sequence labeling model may be, for example, a CRF (Conditional Random Field) model or a BiLSTM-CRF (Bi-directional Long Short-Term Memory-Conditional Random Field) model.

[0099] The method for identifying item attribute words provided in the embodiment of the present disclosure, after identifying the segmentation results based on preset rules, further identifies the segmentation results for which attribute words are not identified based on the sequence labeling model, which can solve the problem of low coverage of preset rules.

[0100] The steps of the item attribute word recognition method 20 that are the same as those of the item attribute word recognition method 10 are not repeated here.

[0101] Figure 4 A flowchart of another method for identifying item attribute words in an embodiment of the present disclosure is shown.

[0102] Figure 4 The object attribute word identification method 30 shown in FIG. Figure 1 The difference of the method 10 shown is that, after step S108, the method 30 further includes:

[0103] In step S302, when the first attribute word is valid, the first attribute word is determined as the final attribute word of the object to be identified.

[0104] Based on the preset rules, the word segmentation results of the item information are identified. When it is determined that the identified first attribute word is valid by calculating the similarity, the first attribute word can be determined as the final attribute word.

[0105] The object attribute word recognition method provided by the embodiment of the present disclosure recognizes the word segmentation results based on preset rules, and can obtain the final attribute words of the object to be recognized. There is no need to recognize the word segmentation results based on a model, which can improve the recognition efficiency.

[0106] The steps of the item attribute word recognition method 30 that are the same as those of the item attribute word recognition method 10 are not repeated here.

[0107] Figure 5 The flowchart of a method for identifying item attribute words in the embodiment of the present disclosure is shown. Different from the above-mentioned methods for identifying item attribute words, Figure 5 The item attribute word recognition method shown further provides how to recognize the word segmentation results based on the sequence labeling model to recognize at least one second attribute word therein, that is, provides an embodiment of the above step S110.

[0108] refer to Figure 5 , step S110 includes:

[0109] In step S1102, based on the sequence labeling model, the part of speech of each word in the word segmentation result is labeled.

[0110] The sequence labeling model may be, for example, a CRF (Conditional Random Field) model or a BiLSTM-CRF (Bi-directional Long Short-Term Memory-Conditional Random Field) model.

[0111] Based on the sequence labeling model, the part of speech of each word in the word segmentation result is labeled. For example, when the word is "laptop computer", it can be labeled as "product word"; when the word is "IdeaPad320N3450", it can be labeled as "model word".

[0112] Taking the word segmentation result of "XX IdeaPad320 N3450 15.6-inch laptop computer home game business office black customized: 8G memory 500G hard disk 2G independent graphics card 2G independent graphics card" as an example, Table 4 is an example of part-of-speech tagging obtained after step S1102.

[0113] Table 4 Example of product title segmentation and part-of-speech tagging results

[0114] Product title segmentation Attributes corresponding to title segmentation words Lenovo Brand word IdeaPad320 N3450 Model word 15.6 inches Specifications Laptop Product Word Home Scene properties game Scene properties Business Crowd attributes Office Scene properties black Color attributes 8G RAM Specifications 500G hard disk Specifications 2G independent graphics card Specifications 2G independent graphics card Specifications

[0115] In step S1104, at least one participle whose part of speech is an attribute word is obtained as at least one second attribute word.

[0116] Taking the attribute word as the model word as an example, it can be seen from Table 4 that the segmentation word with the part of speech of the model word is "IdeaPad320N3450", and this segmentation word can be used as the model word of the item.

[0117] When there are multiple participles whose part of speech is model words, the multiple participles can be used as a candidate set of model words, and then the final model word is determined by calculating the similarity between each model word in the candidate set and the standard model word in the preset model word table.

[0118] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0119] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.

[0120] Figure 6 A block diagram of a device for identifying item attribute words in an embodiment of the present disclosure is shown.

[0121] like Figure 6 As shown, the device for identifying item attribute words 60 includes: an information acquisition module 602 , an information segmentation module 604 , a first identification module 606 , a first similarity determination module 608 , a second identification module 610 , a second similarity determination module 612 and an attribute word determination module 614 .

[0122] The information acquisition module 602 is used to acquire the item information of the item to be identified;

[0123] The information segmentation module 604 is used to segment the item information;

[0124] The first recognition module 606 is used to recognize the word segmentation result based on preset rules;

[0125] The first similarity determination module 608 is used to determine the similarity between the first attribute word and each standard attribute word in a preset attribute word table when the first attribute word is identified, so as to determine whether the first attribute word is valid;

[0126] The second recognition module 610 is used to recognize the word segmentation results based on the sequence labeling model to recognize at least one second attribute word therein when the first attribute word is invalid or the first attribute word is not recognized based on the preset rule;

[0127] The second similarity determination module 612 is used to respectively determine the similarity between each second attribute word and each standard attribute word in a preset attribute word table; and

[0128] The attribute word determination module 614 is used to determine the final attribute word of the object to be identified based on the similarity of each second attribute word.

[0129] In some embodiments, the apparatus 60 further includes a second attribute word determination module, which is used to determine the first attribute word as the final attribute word of the object to be identified when the first attribute word is valid.

[0130] In some embodiments, the second recognition module 610 includes a part-of-speech tagging unit and a segmentation acquisition unit. The part-of-speech tagging unit is used to tag the part-of-speech of each segmentation in the segmentation result based on the sequence tagging model; and to acquire at least one segmentation whose part-of-speech is an attribute word as at least one second attribute word.

[0131] In some embodiments, the attribute word determination module 614 includes an attribute word determination unit, which is used to select the second attribute word with the greatest similarity as the final attribute word of the object to be identified.

[0132] In some embodiments, the apparatus 60 further comprises a vocabulary building module for building an attribute vocabulary.

[0133] In some embodiments, the attribute word table is a map consisting of key-value pairs, wherein the key is used to store the brand of the item, and the value is used to store the attribute word list of the corresponding item.

[0134] In some embodiments, the attribute word table is established through at least one of the following data sources: acquired annotated attribute word data, acquired user-entered attribute word data, and attribute word data crawled from a website.

[0135] The device for identifying attribute words for items provided by the embodiment of the present disclosure, after identifying the segmentation results based on preset rules, further identifies the invalid segmentation results of the identified attribute words based on the sequence labeling model, which can improve the recognition efficiency of the attribute words and reduce the calculation cost; for the segmentation results in which the attribute words are not identified, further identification is performed based on the sequence labeling model, which can solve the problem of low coverage of the preset rules.

[0136] It should be noted that the block diagrams shown in the above figures are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0137] Figure 7 is a schematic diagram of a computer system structure according to an exemplary embodiment. It should be noted that: Figure 7 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0138] like Figure 7As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0139] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.

[0140] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 809, and / or installed from a removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present invention are executed.

[0141] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0142] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0143] The units involved in the embodiments of the present invention may be implemented in software or hardware. The units described may also be provided in a processor. For example, they may be described as follows: a processor includes a sending unit, an acquiring unit, a determining unit, and a first processing unit. The names of these units do not, in some cases, limit the units themselves. For example, the sending unit may also be described as a "unit that sends a request for obtaining an image to a connected server."

[0144] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:

[0145] Obtaining item information of the item to be identified;

[0146] Segment the item information;

[0147] Identify the word segmentation results based on preset rules;

[0148] When a first attribute word is identified, the similarity between the first attribute word and each standard attribute word in a preset attribute word table is determined to determine whether the first attribute word is valid;

[0149] When the first attribute word is invalid, or when the first attribute word is not identified based on the preset rule, the word segmentation results are identified based on the sequence labeling model to identify at least one second attribute word therein;

[0150] respectively determining the similarity between each second attribute word and each standard attribute word in a preset attribute word table; and

[0151] Based on the similarities of the second attribute words, the final attribute word of the object to be identified is determined.

[0152] The exemplary embodiments of the present invention are specifically shown and described above. It should be understood that the present invention is not limited to the detailed structure, configuration or implementation method described herein; on the contrary, the present invention is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.

Claims

1. A method for identifying item attribute words, characterized in that: include: Obtaining item information of the item to be identified; Segmenting the item information; Identify the word segmentation results based on preset rules; When a first attribute word is identified, determining the similarity between the first attribute word and each standard attribute word in a preset attribute word table to determine whether the first attribute word is valid; When the first attribute word is invalid, or when the first attribute word is not identified based on the preset rule, identifying the word segmentation results based on a sequence labeling model to identify at least one second attribute word therein; respectively determining the similarity between each of the second attribute words and each standard attribute word in the preset attribute word table; as well as Determining a final attribute word of the object to be identified based on the similarities of each of the second attribute words; Based on the final attribute words, search or recommend items to users.

2. The method according to claim 1, characterized in that Also includes: When the first attribute word is valid, the first attribute word is determined as the final attribute word of the object to be identified.

3. The method according to claim 1, characterized in that Based on the sequence labeling model, the word segmentation results are identified to identify at least one second attribute word therein, including: Based on the sequence labeling model, label the part of speech of each word in the word segmentation result; At least one participle of the attribute word of the part of speech is obtained as the at least one second attribute word.

4. The method according to claim 1, characterized in that: Determining a final attribute word of the object to be identified based on the similarity of each of the second attribute words includes: The second attribute word with the greatest similarity is selected as the final attribute word of the object to be identified.

5. The method according to any one of claims 1 to 4, characterized in that: Also includes: The attribute word list is established.

6. The method according to claim 5, characterized in that The attribute word table is a mapping composed of key-value pairs, wherein the key is used to store the brand of the item, and the value is used to store the attribute word list of the corresponding item.

7. The method according to claim 5, characterized in that The attribute word table is established through at least one of the following data sources: acquired annotated attribute word data, acquired user-entered attribute word data, and attribute word data crawled from a website.

8. An object attribute word recognition device, characterized in that: include: An information acquisition module, used to acquire item information of an item to be identified; An information segmentation module, used for segmenting the item information; A first recognition module, used to recognize the word segmentation results based on preset rules; A first similarity determination module is used to determine the similarity between the first attribute word and each standard attribute word in a preset attribute word table when the first attribute word is identified, so as to determine whether the first attribute word is valid; A second recognition module, configured to recognize the word segmentation results based on a sequence labeling model to recognize at least one second attribute word therein when the first attribute word is invalid or when the first attribute word is not recognized based on the preset rule; A second similarity determination module, used to respectively determine the similarity between each of the second attribute words and each standard attribute word in the preset attribute word table; as well as an attribute word determination module, configured to determine a final attribute word of the object to be identified based on the similarity of each of the second attribute words; Based on the final attribute words, search or recommend items to users.

9. A computer device comprising: A memory, a processor, and executable instructions stored in the memory and executable in the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the executable instructions.

10. A computer-readable storage medium having computer-executable instructions stored thereon, characterized in that: When the executable instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Identification method and device for sensitive content

    CN107818077A

  • Method and system for identifying core product words

    CN107832338A

  • Text brand recognition method and device and storage medium

    CN109766550A

  • Method and device for identifying dish names, storage medium and electronic device

    CN110110577A

  • Corpus recognition method, device and apparatus and computer readable storage medium

    CN110750983A