Complaint text structured field extraction method and device based on double-channel cooperation
By constructing a mapping matrix between deep semantic channels and shallow entity channels, and combining it with preset rules to select the best field filling results, the problems of missing fields and type mismatches in the structured field extraction of complaint texts are solved, thereby improving the completeness and accuracy of field extraction.
Patent Information
- Application Number
- CN202611410967.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
Existing methods for extracting structured fields from complaint texts suffer from issues such as missing fields and type mismatches, failing to effectively improve the completeness and accuracy of field extraction.
A dual-channel collaborative approach is adopted, which combines deep semantic channels and shallow entity channels to construct a mapping relationship matrix. The best field is selected to fill the results using preset rules, ensuring the completeness and accuracy of field extraction.
It significantly improves the completeness (15%-25%) and accuracy of field filling, effectively avoiding erroneous decisions in field conflict scenarios caused by simple weighted fusion.
Smart Images

Figure CN123180131A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a method and apparatus for extracting structured fields from complaint text based on dual-channel collaboration. Background Technology
[0002] The consumer rights protection complaint and reporting platform receives a massive amount of consumer complaint texts daily. These texts are unstructured natural language and contain a large amount of key business information (name of the complained company, category of goods or services involved, specific description of the problem, e-commerce platform, amount of consumption, consumer demands, relevant legal provisions, etc.). To support subsequent complaint assignment, law enforcement case transfer, risk warning, and other business processes, it is necessary to automatically extract or convert these unstructured complaint texts into structured fields.
[0003] Existing methods for extracting information from complaint texts can be mainly divided into three categories: First, extraction methods based on deep learning models, such as using a fine-tuned BERT model to perform Universal Information Extraction (UIE) on complaint texts. This method guides the model to extract specified fields through a predefined field schema, enabling the extraction of deep semantic information. Second, extraction methods based on Named Entity Recognition (NER), such as using NER tools like PaddleNLP to perform shallow entity recognition on texts. This method does not rely on a predefined field schema and can capture various general entities in the text. Third, extraction methods based on rule matching, which perform field matching based on regular expressions and keyword dictionaries. Summary of the Invention
[0004] To address the issues of missing fields and type mismatches during text field extraction and to improve the completeness and accuracy of field extraction, this invention provides a method and apparatus for structured field extraction of complaint text based on dual-channel collaboration.
[0005] In a first aspect, the present invention provides a method for extracting structured fields from complaint text based on dual-channel collaboration, the method comprising:
[0006] The original complaint text was cleaned and standardized to obtain the substantive complaint content;
[0007] Based on the substantive complaint content, each business field, its type, and confidence level of the deep semantic channel are extracted in a structured manner according to a predefined list of fields;
[0008] Based on the substantive complaint content, and combined with a preset domain dictionary, each entity field, its type, and confidence level of the shallow entity channel are extracted in a structured manner.
[0009] Based on the set of all business field types and the set of all entity field types, determine the mapping relationship matrix between entity field types and business field types;
[0010] Based on the confidence score of each entity field and the elements in the mapping relationship matrix that map each entity field type to each business field type, a comprehensive score is calculated for each entity field to match each business field. Entity fields whose comprehensive scores reach a preset score threshold are selected as candidate fields, and the comprehensive score is used as the confidence score of the candidate fields.
[0011] Based on each business field and its confidence level, and each candidate field and its confidence level, field filling is selected from the business fields and candidate fields according to preset rules to determine the field filling result for each business field type;
[0012] Based on the field filling results of all business field types, calculate the completeness of the filling of all business field types. If the completeness reaches the preset maximum threshold, output the field filling results of each business field type; if the completeness is less than the preset minimum threshold, output a prompt message for manual review; otherwise, for unfilled business field types, search for entity fields that are not candidate fields or the substantive complaint content to infer and fill them. After the filling is completed, output the field filling results of each business field type.
[0013] In one or more optional embodiments of this application, based on each business field and its confidence level, and each candidate field and its confidence level, field filling is selected from the business fields and candidate fields according to preset rules to determine the field filling result for each business field type, including:
[0014] Set any business field and its confidence level as follows: and Each candidate field and its confidence level are as follows: and By using the following preset rules one, two, and three, field filling is performed in various scenarios, including when the business field and candidate field are consistent, conflicting, and when the business field is missing, to determine the field filling result for each business field type:
[0015] Rule 1: If And exist Make Where sim is the text similarity function, If the similarity threshold is used, the business field is determined to be consistent with the candidate field, and the field with higher confidence is selected as the field filling result for the corresponding business field type.
[0016] Rule 2: If And exist Make If a conflict is found between the business field and the candidate field, the following three-tiered progressive field filling strategy will be triggered:
[0017] First layer: Based on the mapping relationship between the predefined business field types and extraction paradigms in the business definition, select the business fields and candidate fields that match the extraction paradigm as the field filling results of the corresponding business field types;
[0018] Second layer: If the first layer cannot determine the field filling result and ,in If the confidence difference threshold is set, then the field with the higher confidence level between the business field and the candidate field is selected as the field filling result.
[0019] Third layer: If the first layer cannot determine the field filling result and Then, the business field and candidate field are retrieved from the preset business database respectively. The field that can be detected is selected as the field filling result of the corresponding business field type. If neither the business field nor the candidate field can be detected, the number of times the business field and the candidate field appear in the substantive complaint content are compared, and the field with the higher number of appearances is selected as the field filling result of the corresponding business field type.
[0020] Rule 3: If And there exists at least one mapping to of Then, the candidate field with the highest confidence level is selected as the field filling result for the corresponding business field type.
[0021] In one or more optional embodiments of this application, a mapping matrix between entity field types and business field types is determined based on the set of all business field types and the set of all entity field types, including:
[0022] Based on the set of all business field types and the set of all entity field types, the frequency of each type pair in all type pairs that are manually annotated and matched one-to-one with business field types is calculated.
[0023] The frequency of occurrence of each type pair is used as an element in the mapping relationship matrix to map each entity field type to each business field type, thereby determining the mapping relationship matrix between entity field types and business field types.
[0024] In one or more optional embodiments of this application, based on the confidence score of each entity field and the elements in the mapping matrix that map each entity field type to each business field type, a comprehensive score is calculated for each entity field to match each business field, including...
[0025] Based on the confidence score of each entity field and the elements in the mapping matrix that map each entity field type to each business field type, the comprehensive score for matching each entity field to each business field is calculated according to Formula 1 below:
[0026] Formula 1,
[0027] In Equation 1, This represents the overall score of the match between the k-th entity field and the j-th business field. This represents the confidence level of the k-th entity field. This represents the element in the mapping matrix where the k-th entity field type is mapped to the j-th business field type.
[0028] In one or more optional embodiments of this application, the completeness of the filling of all business field types is calculated based on the field filling results of all business field types, including:
[0029] Based on the field population results of all business field types, determine the number of business field types that have been populated;
[0030] Calculate the ratio of the number of populated business field types to the total number of business field types to obtain the completeness of the population of all business field types.
[0031] In one or more optional embodiments of this application, the following further includes:
[0032] After manually correcting the field population result of any business field type, obtain the corrected field;
[0033] The corrected field is compared with the corresponding entity field. If they match, the corresponding element in the mapping matrix is enhanced and updated according to Formula 2 below; otherwise, the corresponding element in the mapping matrix is weakened and updated according to Formula 3 below.
[0034] Formula 2,
[0035] Formula 3,
[0036] In Equations 2 and 3, This indicates that after the update, the element whose k-th entity field type is mapped to the j-th business field type is... This indicates the element whose k-th entity field type was mapped to the j-th business field type before the update. This represents the learning rate.
[0037] Secondly, the present invention provides a device for extracting structured fields from complaint text based on dual-channel collaboration, comprising:
[0038] The standardization and cleaning module is used to standardize and clean the original complaint text to obtain the substantive complaint content;
[0039] The deep semantic channel extraction module is used to extract each business field, its type, and confidence level of the deep semantic channel based on the substantive complaint content and according to a predefined list of fields.
[0040] The shallow entity channel extraction module is used to extract each entity field, its type, and confidence level of the shallow entity channel in a structured manner based on the substantive complaint content and in combination with a preset domain dictionary.
[0041] The mapping relationship matrix determination module is used to determine the mapping relationship matrix between entity field types and business field types based on the set of all business field types and the set of all entity field types;
[0042] The cross-channel matching module is used to calculate the comprehensive score of each entity field matching each business field based on the confidence score of each entity field and the elements of each entity field type mapped to each business field type in the mapping relationship matrix. The entity field whose comprehensive score reaches a preset score threshold is used as the candidate field, and the comprehensive score is used as the confidence score of the candidate field.
[0043] The field filling selection module is used to select fields for filling based on each business field and its confidence level, each candidate field and its confidence level, and according to preset rules, to determine the field filling result for each business field type.
[0044] The field filling result output module is used to calculate the completeness of filling all business field types based on the field filling results of all business field types. If the completeness reaches a preset maximum threshold, the field filling result of each business field type is output; if the completeness is less than a preset minimum threshold, a prompt message for manual review is output; otherwise, for unfilled business field types, entity fields that are not candidate fields or the substantive complaint content are searched for and inferred to fill the unfilled fields. After the filling is completed, the field filling result of each business field type is output.
[0045] Thirdly, embodiments of the present invention provide a computer-readable storage medium having a computer program / instruction stored thereon, which, when executed by a processor, implements the method for extracting structured fields of complaint text based on dual-channel collaboration as described in the first aspect above.
[0046] Fourthly, embodiments of the present invention provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the dual-channel collaborative method for extracting structured fields from complaint text as described in the first aspect above.
[0047] Fifthly, embodiments of the present invention provide a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the dual-channel collaborative method for extracting structured fields from complaint text as described in the first aspect above.
[0048] The beneficial effects of the above-described technical solutions provided in the embodiments of the present invention include at least the following:
[0049] This invention provides a method for structured field extraction from complaint text based on dual-channel collaboration. It standardizes and cleans the original complaint text to obtain substantive complaint content. From this substantive complaint content, it structurally extracts each business field, its type, and confidence level from the deep semantic channel, and each entity field, its type, and confidence level from the shallow entity channel. Based on the sets of all business field types and all entity field types, it determines a mapping matrix between entity field types and business field types. Based on the confidence level of each entity field and the mapping matrix, it calculates a comprehensive score for each entity field matching each business field. Based on the comprehensive score, it determines candidate fields and their confidence levels within the entity fields. Based on each business field and its confidence level, and each candidate field and its confidence level, it selects fields for filling in the business fields and candidate fields according to preset rules, determines the field filling result for each business field type, and calculates the completeness of filling for all business field types. It judges based on a field filling completeness threshold: if the completeness reaches the maximum threshold, the result is directly output; if it is less than the minimum threshold, manual review is prompted; otherwise, the unfilled fields are inferred and filled before the result is output. The relational mapping matrix determined in the method of this invention provides a structured mapping bridge between entity field types and business field types, enabling entity fields to be effectively transformed into structured fields that can be directly used by the business. Through a dual-channel complementary mechanism, missing fields in the deep semantic channel can be backfilled by the shallow entity channel, significantly improving the field filling completeness (15%-25% improvement). Based on preset rules and confidence levels, the business fields and candidate fields extracted from the dual channels are selected and filled, which can effectively avoid erroneous decisions in simple weighted fusion scenarios with field conflicts and improve the accuracy of field filling. Attached Figure Description
[0050] The accompanying drawings are provided to further illustrate the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application, and do not constitute a limitation on the technical solutions of this application. In the accompanying drawings:
[0051] Figure 1 A schematic diagram of the process for extracting structured fields from complaint text based on dual-channel collaboration, provided in an embodiment of this application;
[0052] Figure 2 A schematic diagram of a complaint text structured field extraction device based on dual-channel collaboration provided in an embodiment of this application. Detailed Implementation
[0053] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. However, this description is exemplary and not restrictive, and those skilled in the art can implement this application in various forms without being limited to the embodiments set forth herein. These embodiments are provided to enable a more thorough understanding of this disclosure and to fully convey the scope of this disclosure to those skilled in the art.
[0054] The embodiments, features, and elements disclosed in this application can also be combined with any conventional features or elements to form a unique inventive scheme as defined by the claims. Any feature or element of any embodiment can also be combined with features or elements from other inventive schemes to form another unique inventive scheme as defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in this application can be implemented individually or in any suitable combination.
[0055] To facilitate understanding of the technical solutions of the embodiments of this application, some terms or concepts involved in the embodiments of this application will be briefly described first.
[0056] 1. Deep Semantic Channel: This refers to an algorithmic path that performs end-to-end semantic encoding on input text based on a pre-trained language model or deep learning architecture, and then extracts structured data according to a predefined list of fields. This channel focuses on understanding the contextual semantics and long-distance dependencies of the text to output fields with clear business meaning, along with their types and confidence levels.
[0057] 2. Shallow Entity Channel: This refers to an algorithmic approach that uses word matching, rule engines, or lightweight sequence labeling models, combined with a pre-defined domain dictionary, to scan the surface features of the input text to identify and extract independent entity fields. This channel focuses on ensuring high recall and does not rely on a deep understanding of the overall business meaning of the text.
[0058] 3. Recall: Also known as the completeness of detection, it refers to the proportion of fields that the model successfully identifies out of the total number of fields that should actually be identified.
[0059] 4. Extraction paradigm: refers to the field-level extraction strategy that pre-matches the optimal algorithm path for different business field types based on the target business field type and data characteristics during the structured field extraction process, such as the field list constraint-based extraction strategy in the deep semantic channel for matching "company name".
[0060] The inventors, referencing existing structured field extraction methods for complaint texts, found that deep learning-based methods suffer from two shortcomings: first, entities not covered in the predefined field list are easily missed; second, the model's recall rate in highly specialized fields with significant differences in industry conventions depends heavily on the quality of the training data, making it prone to field omissions. Methods based on generic named entity recognition also have two shortcomings: first, the identified entity field types (e.g., ORG, PRODUCT) are generic, creating a semantic gap with market supervision business fields; second, type mismatches prevent the differentiation of business meanings within the same type of entity. Rule-matching-based methods have narrow coverage and cannot adapt to the varied language used in complaints. In summary, these three methods, used independently, cannot organically combine and complement deep semantic extraction with shallow entity recognition. Even simple weighted fusion of these methods only yields coarse-grained field extraction results, failing to address the two core problems of field omissions and type mismatches.
[0061] To at least partially address these issues, the inventors attempted to construct a mapping matrix between fields extracted from deep semantic channels and shallow entity channels. Using this mapping matrix and predefined rules, they selected superior filling fields from the extracted fields of both channels. The study found that the mapping matrix reflects the mapping relationship between entity field types and business field types, and calculated the comprehensive score for each entity field matching each business field. Based on the comprehensive score and dual-channel field confidence, the field filling result for each business field type was determined, enabling the entity fields of the shallow entity channel to be effectively transformed into structured fields directly usable by the business in the deep semantic channel. Through this dual-channel complementary mechanism, the completeness and accuracy of field extraction are significantly improved. Based on this, the present invention provides a method and apparatus for extracting structured fields from complaint text based on dual-channel collaboration.
[0062] Example 1
[0063] Embodiment 1 of this invention provides a method for extracting structured fields from complaint text based on dual-channel collaboration, referring to... Figure 1 As shown, the method includes the following steps:
[0064] S101: Standardize and clean the original complaint text to obtain the substantive complaint content.
[0065] S102: Based on the substantive complaint content, extract each business field of the deep semantic channel, its type, and confidence level according to the predefined field list in a structured manner.
[0066] S103: Based on the substantive complaint content, and combined with a preset domain dictionary, extract each entity field, its type, and confidence level from the shallow entity channel in a structured manner.
[0067] S104: Based on the set of all business field types and the set of all entity field types, determine the mapping relationship matrix between entity field types and business field types.
[0068] S105: Based on the confidence score of each entity field and the elements in the mapping relationship matrix that map each entity field type to each business field type, calculate the comprehensive score of each entity field matching each business field, and select the entity fields whose comprehensive scores reach a preset score threshold as candidate fields, and use the comprehensive scores as the confidence scores of the candidate fields.
[0069] S106: Based on each business field and its confidence level, and each candidate field and its confidence level, select fields for filling in the business fields and candidate fields according to preset rules, and determine the field filling result for each business field type.
[0070] S107: Based on the field filling results of all business field types, calculate the completeness of the filling of all business field types. If the completeness reaches the preset maximum threshold, output the field filling results of each business field type. If the completeness is less than the preset minimum threshold, output a prompt message for manual review. Otherwise, for unfilled business field types, search for entity fields that are not candidate fields or the substantive complaint content to infer and fill them. After the filling is completed, output the field filling results of each business field type.
[0071] The relational mapping matrix determined in the method of this invention provides a structured mapping bridge between entity field types and business field types, enabling entity fields to be effectively transformed into structured fields that can be directly used by the business. Through a dual-channel complementary mechanism, missing fields in the deep semantic channel can be backfilled by the shallow entity channel, significantly improving the field filling completeness (15%-25% improvement). Based on preset rules and confidence levels, the business fields and candidate fields extracted from the dual channels are selected and filled, which can effectively avoid erroneous decisions in simple weighted fusion scenarios with field conflicts and improve the accuracy of field filling.
[0072] In this embodiment, step S101 involves performing domain-specific multi-stage normalization cleaning on the original complaint text, including removing semantic noise such as annotation connectors, duplicate tags, and attachment placeholders, while retaining only the substantive content written by the complainant.
[0073] In this embodiment, in step S102, the substantive complaint content can be input into a deep learning model such as BERT, and each business field, its type, and confidence level can be extracted in a structured manner according to a predefined list of business fields. For example, the list of business fields includes eight business field types (company name, object category name, specific issue, e-commerce platform, consumption amount, claim, legal provisions, and fixed terms for professional claims). The model performs token-level (e.g., word-level) category sequence labeling and text start-to-end span detection. For each business field type, the model outputs not only the extracted business field (text value) but also the business field confidence level, which is obtained through softmax probability aggregation. An example of the format for each extracted business field, its type, and confidence level is as follows:
[0074] Business field type: {Business field (i.e., text value), confidence level}:
[0075] "Company Name": {"value":"XX Beauty Flagship Store","confidence":0.91};
[0076] "Object Category Name": {"value":"Face Mask","confidence":0.77};
[0077] "Specific issues": {"value":null,"confidence":null};
[0078] "E-commerce platform": {"value":"Platform A","confidence":0.94};
[0079] "Amount spent": {"value":null,"confidence":null};
[0080] "Demand": {"value":"Refund and compensation","confidence":0.82};
[0081] "Legal provisions": {"value":"Article 27 of the Product Quality Law","confidence":0.85};
[0082] "Professional claims fixed terms": {"value":null,"confidence":null}.
[0083] In this embodiment, step S103 involves inputting the substantive complaint content into a PaddleNLP-based entity recognition model. A pre-defined domain dictionary (containing common company names, product categories, e-commerce platform names, legal terminology, etc.) is loaded into this model. Only named entities from the substantive complaint content (such as organization names, product names, platform names, amounts, laws, dates, and personal names) are output, while non-entity syntactic components (such as particles, conjunctions, and modal verbs) are not. This ensures that the extraction of the shallow entity channel is strictly limited to an entity set, facilitating subsequent cross-channel mapping with business fields from the deep semantic channel. An example of the format for each extracted entity field, its type, and confidence level is as follows:
[0084] {Entity field, entity field type, confidence level}:
[0085] {"text":"XX Beauty Official Flagship Store","type":"ORG","confidence":0.72};
[0086] {"text":"Platform A","type":"PLATFORM","confidence":0.90};
[0087] {"text":"Collagen Mask","type":"PRODUCT", "confidence":0.88};
[0088] {"text":"59.9 yuan","type":"AMOUNT","confidence":0.96};
[0089] {"text":"July 1, 2025","type":"DATE","confidence":0.97};
[0090] {"text":"Product Quality Law of the People's Republic of China","type":"LAW", "confidence":0.93}.
[0091] In this embodiment, the set of all business field types in step S104 can be represented as T. U ={Company Name, Object Category Name, Specific Issue, E-commerce Platform, Amount Spent, Claim, Legal Provisions, Fixed Terms for Professional Claims, ...}, the set of all entity field types can be represented as T. N ={ORG,PRODUCT,PLATFORM,AMOUNT,LAW,DATE,PERSON,...}, defining the mapping matrix between entity field types and business field types as A∈R^ Where R represents the real number field, Indicates the total number of entity field types. This indicates the total number of business field types.
[0092] In one specific embodiment, the mapping matrix can be determined in the following manner:
[0093] Based on the set of all business field types and the set of all entity field types, the frequency of each type pair in all type pairs that are manually annotated and matched one-to-one with business field types is calculated.
[0094] The frequency of occurrence of each type pair is used as an element in the mapping relationship matrix to map each entity field type to each business field type, thereby determining the mapping relationship matrix between entity field types and business field types.
[0095] For example, for at least 2,000 original complaint texts, the actual business field type that the entity field type matches in each original complaint text is manually labeled. For example, the entity field type "ORG" matches the business field type "company name". Based on all the type pairs that match the entity field type and the business field type one-to-one with these manually labeled entity field types and business field types, the frequency of each type pair can be counted. This frequency is used as the element of the corresponding entity type to business field type in the mapping relationship matrix, and the mapping relationship matrix between entity field types and business field types can be obtained.
[0096] In another embodiment, domain experts can score the strength of the association between each pair of entity field types and business field types based on their business experience, using a range of 0 to 1 (e.g., assigning 0.95 to "ORG→Company Name" for a strong association and 0.50 to "ORG→E-commerce Platform" for a weak association). The scores are then aggregated and averaged to obtain the scores for all type pairs, as shown in Table 1 below. This score is used as an element in the mapping relationship matrix to map the corresponding entity type to the business field type, thus obtaining the mapping relationship matrix between entity field types and business field types. Alternatively, the scores for each business field type corresponding to the same entity field type can be normalized, and the normalized scores can be used as elements in the mapping relationship matrix to map the corresponding entity type to the business field type.
[0097] Table 1 Example of a mapping relationship matrix
[0098]
[0099] In this embodiment, the comprehensive score of each entity field matching each business field in step S105 can be obtained by the following calculation:
[0100] Based on the confidence score of each entity field and the elements in the mapping matrix that map each entity field type to each business field type, the comprehensive score for matching each entity field to each business field is calculated according to Formula 1 below:
[0101] Formula 1,
[0102] In Equation 1, This represents the overall score of the match between the k-th entity field and the j-th business field. This represents the confidence level of the k-th entity field. This represents the element in the mapping matrix where the k-th entity field type is mapped to the j-th business field type.
[0103] The comprehensive score enables cross-channel (deep semantic channel and shallow entity channel) field type matching. When the comprehensive score reaches a preset score threshold (e.g., 0.7), it indicates a high degree of cross-channel matching. The corresponding entity field is then used as a candidate field (a candidate value for the business field type, which can be selected for subsequent field filling), and the comprehensive score is used as the confidence level of the candidate field.
[0104] In this embodiment, step S106 requires selecting a field from the business field and candidate fields, and filling in the field for each business field type. Specifically, the field filling selection can be divided into several scenarios: the business field and the candidate field are consistent, they conflict, and the business field is missing. The field filling result for each business field type can be determined in the following way:
[0105] Set any business field and its confidence level as follows: and Each candidate field and its confidence level are as follows: and By using the following preset rules one, two, and three, field filling is performed in various scenarios, including when the business field and candidate field are consistent, conflicting, and when the business field is missing, to determine the field filling result for each business field type:
[0106] Rule 1: If And exist Make Where sim is the text similarity function, If the similarity threshold is used, the business field is determined to be consistent with the candidate field, and the field with higher confidence is selected as the field filling result for the corresponding business field type.
[0107] Rule 2: If And exist Make If a conflict is found between the business field and the candidate field, the following three-tiered progressive field filling strategy will be triggered:
[0108] First layer: Based on the mapping relationship between the predefined business field types and extraction paradigms in the business definition, select the business fields and candidate fields that match the extraction paradigm as the field filling results of the corresponding business field types;
[0109] Second layer: If the first layer cannot determine the field filling result and ,in If the confidence difference threshold is set, then the field with the higher confidence level between the business field and the candidate field is selected as the field filling result.
[0110] Third layer: If the first layer cannot determine the field filling result and Then, the business field and candidate field are retrieved from the preset business database respectively. The field that can be detected is selected as the field filling result of the corresponding business field type. If neither the business field nor the candidate field can be detected, the number of times the business field and the candidate field appear in the substantive complaint content are compared, and the field with the higher number of appearances is selected as the field filling result of the corresponding business field type.
[0111] Rule 3: If And there exists at least one mapping to of Then, the candidate field with the highest confidence level is selected as the field filling result for the corresponding business field type.
[0112] The text similarity function mentioned above can be edit distance, which calculates the similarity based on the character-level modification cost transformation, or it can be the Jaccard similarity function, which calculates the similarity based on the overlap of the vocabulary set. Other similarity functions in the prior art can also be used for calculation, and no specific limitation is made here.
[0113] Similarity threshold The possible value is 0.7, as per rule one. This indicates that the business fields and entity fields (candidate fields) extracted by the deep semantic channel and the shallow entity channel are consistent, and the field with higher confidence is selected as the field filling result for the corresponding business field type; in Rule 2 This indicates a conflict between the business fields and entity fields (candidate fields) extracted by the deep semantic channel and the shallow entity channel, respectively. A three-layer progressive field filling strategy is used for field selection. The first layer prioritizes field types. When a business field type tends to favor a certain extraction paradigm in its business definition (e.g., the "Company Name" field type is more suitable for the field list-based extraction strategy in the deep semantic channel, and the "Consumption Amount" field type is more suitable for the numerical entity extraction strategy in the shallow entity channel), and no extraction paradigm exists, the second and third layer field filling strategies are adopted. The second layer is used when the confidence difference is significant and reaches a threshold. When the confidence level is 0.1, the field with the higher confidence level among the fields extracted from the two channels is selected as the field filling result for the corresponding business field type; while the third layer is when the confidence level difference is small and less than the threshold. In this case, validation and selection are performed based on external knowledge (a pre-set business database). Business fields and candidate fields are retrieved from the pre-set business database, and fields that can be detected are selected as the field filling results for the corresponding business field type. If neither is detected, field filling is selected based on the frequency of occurrence in the substantive complaint content. RIQ contextual information can also be used for auxiliary judgment and selection. For example, for the "Company Name" field type, the market supervision enterprise registration database is queried using both business fields and entity fields, and fields that match the database are selected. For the "E-commerce Platform" field type, the known e-commerce platform names are matched using both business fields and entity fields. If the business fields extracted from the deep semantic channel in Rule 3 are empty, but the shallow entity channel has at least one mapped candidate field, the candidate field with the highest confidence is selected as the field filling result for the corresponding business field type.
[0114] It should be noted that for business fields extracted from the deep semantic channel that have values (not empty) but have no corresponding candidate fields in the shallow entity channel (such as the "request" field which usually lacks a corresponding candidate field), the business fields extracted from the deep semantic channel are directly used for field filling without fusion processing. This ensures that the dual-channel fusion does not reduce the field filling coverage of the original deep semantic channel. If all fields extracted from both channels are empty for any field type, it indicates that the original complaint text does not involve complaint content of that type.
[0115] Multiple rules are used to differentiate the handling of various scenarios involving consistency, conflict, and missing deep semantic channel fields in the dual-channel extracted fields (business fields and candidate fields). In scenarios where the fields extracted from both channels are consistent, the most reliable field to be filled is automatically selected through a confidence comparison mechanism. In scenarios where the fields extracted from both channels conflict, a three-layer progressive field filling strategy (field type priority → confidence comparison → external knowledge verification) is used to resolve conflicts, effectively avoiding erroneous decisions made by simple weighted fusion in conflict scenarios.
[0116] In this embodiment, after the field filling for each business field type is completed, a field filling completeness evaluation needs to be performed in step S107. The completeness of filling for all business field types can be calculated in the following way:
[0117] Based on the field population results of all business field types, determine the number of business field types that have been populated;
[0118] Calculate the ratio of the number of populated business field types to the total number of business field types to obtain the completeness of the population of all business field types.
[0119] For example, for the eight business types—company name, object category name, specific issue, e-commerce platform, consumption amount, claim, legal provisions, and fixed terms for professional claims—the completeness of the populated business field types is calculated as follows: ,in This indicates the number of business field types that have been filled.
[0120] When the completeness reaches a preset maximum threshold (e.g., 0.875), the field filling results for each business field type are directly output; when the completeness is less than a preset minimum threshold (e.g., 0.5), it indicates low quality of text extraction and triggers a manual review prompt; when the completeness falls within the range of [minimum threshold, maximum threshold), the unfilled business field types are inferred and filled by searching for corresponding fields in entity fields not considered as candidate fields or in the substantive complaint content. For example, if "Company Name" is filled but "E-commerce Platform" is missing, PLATFORM type entities are searched in entity fields not considered as candidate fields, and inference is made based on their positional relationship with the identified company name in the substantive complaint content; if "Object Category Name" is filled but "Specific Issue" is missing, descriptive phrases about the issue near the anchor point (e.g., "No Production Date", "Product Without Certificate", "Damaged Packaging") are extracted from the substantive complaint content using the object category name as an anchor point, and then combined and filled into the "Specific Issue" field type; if "Consumption Amount" is missing, AMOUNT type entities are searched in entity fields not considered as candidate fields, and a secondary extraction of the amount value is performed using regular expressions. Mark the fields for inferred fill as "inferred fill" and set the confidence level to the basic inference confidence level c. infer = 0.65.
[0121] In this embodiment, each extracted field is accompanied by a confidence level and a source label. Subsequent business operations can selectively use the extraction results based on the confidence level and source. For fields with low confidence or inferred filling, manual review can be triggered to achieve controllable automated extraction.
[0122] In this embodiment, the mapping matrix can also be continuously updated and optimized. The specific update method is as follows:
[0123] After manually correcting the field population result of any business field type, obtain the corrected field;
[0124] The corrected field is compared with the corresponding entity field. If they match, the corresponding element in the mapping matrix is enhanced and updated according to Formula 2 below; otherwise, the corresponding element in the mapping matrix is weakened and updated according to Formula 3 below.
[0125] Formula 2,
[0126] Formula 3,
[0127] In Equations 2 and 3, This indicates that after the update, the element whose k-th entity field type is mapped to the j-th business field type is... This indicates the element whose k-th entity field type was mapped to the j-th business field type before the update. This represents the learning rate, which can take a value of 0.05.
[0128] For manually corrected events (such as changing "Consumption Amount" from "29.9 yuan" to "59.9 yuan" in the field filling result), if the entity field extracted by the shallow entity channel is exactly correct (59.9 yuan), it indicates that the mapping relationship from the corresponding entity field type to the business field type has been verified as valid, and the corresponding element is enhanced and updated (enhanced affinity). If the entity field extracted by the shallow entity channel is an incorrect value (not 59.9 yuan), it indicates that the mapping relationship from the corresponding entity field type to the business field type has been verified as invalid, and the corresponding element is weakened and updated (weakened affinity). The update of the mapping relationship matrix also needs to meet the requirement that the confidence of the corresponding entity field reaches a preset value (such as 0.8) to avoid introducing noise. The online update of the mapping relationship matrix enables field extraction to gradually improve its domain adaptability as business data accumulates. This closed-loop self-optimization capability is not available in existing technical solutions and can avoid the performance degradation problem of field extraction on domain data in existing extraction methods.
[0129] In one specific embodiment, the original complaint text is as follows:
[0130] A citizen reported through a citizen hotline service platform: "On July 1, 2025, I purchased a box of collagen masks from XX Beauty Flagship Store on platform A, paying 59.9 yuan. Upon receiving the goods, I discovered that the outer packaging of the masks lacked a production date and expiration date, making it a counterfeit product. I request that, in accordance with Article 27 of the Product Quality Law of the People's Republic of China, the merchant refund the money and provide compensation. My personal information does not need to be kept confidential from this company."
[0131] Following step S101, standardized cleaning is performed to remove the header "Citizen feedback from a certain citizen hotline service platform:", thus obtaining the substantive complaint content. Next, following steps S102 and S103, fields are extracted from the deep semantic channel and the shallow entity channel, respectively. The extraction results are as follows:
[0132] Deep semantic channel extraction results:
[0133] "Company Name": {"value":"XX Beauty Flagship Store","confidence":0.91};
[0134] "Object Category Name": {"value":"Face Mask","confidence":0.77};
[0135] "Specific issues": {"value":null,"confidence":null};
[0136] "E-commerce platform": {"value":"Platform A","confidence":0.94};
[0137] "Amount spent": {"value":null,"confidence":null};
[0138] "Demand": {"value":"Refund and compensation","confidence":0.82};
[0139] "Legal provisions": {"value":"Article 27 of the Product Quality Law","confidence":0.85};
[0140] "Professional claims fixed terms": {"value":null,"confidence":null}.
[0141] Shallow entity channel extraction results:
[0142] {"text":"XX Beauty Official Flagship Store","type":"ORG","confidence":0.72};
[0143] {"text":"Platform A","type":"PLATFORM","confidence":0.90};
[0144] {"text":"Collagen Mask","type":"PRODUCT", "confidence":0.88};
[0145] {"text":"59.9 yuan","type":"AMOUNT","confidence":0.96};
[0146] {"text":"July 1, 2025","type":"DATE","confidence":0.97};
[0147] {"text":"Product Quality Law of the People's Republic of China","type":"LAW", "confidence":0.93}.
[0148] Next, steps S104-S105 are executed to determine the candidate fields and their confidence levels, as follows:
[0149] ORG → Company Name: Overall score = 0.95 × 0.72 = 0.684 < 0.7, not considered as a candidate;
[0150] PLATFORM → E-commerce Platform: Overall score = 0.93 × 0.90 = 0.837 ≥ 0.7, selected as a candidate;
[0151] PRODUCT → Object Category Name: Overall score = 0.92 × 0.88 = 0.810 ≥ 0.7, selected as a candidate;
[0152] AMOUNT → Spending Amount: Overall score = 0.98 × 0.96 = 0.941 ≥ 0.7, selected as a candidate;
[0153] LAW → Legal Provisions: Overall score = 0.90 × 0.93 = 0.837 ≥ 0.7, Overall Score;
[0154] DATE: No corresponding business field (business field missing)
[0155] Next, step S106 is executed, in which field filling selection is performed in the business field and candidate field according to preset rules one, two, and three, as follows:
[0156] Company Name: The deep semantic channel has a value and a confidence level of 0.91. The shallow entity channel has no candidate fields. The business field of the deep semantic channel is used for filling. The filling result is: "XX Beauty Flagship Store", source = deep semantic channel.
[0157] Object category name: The deep semantic channel has a value with a confidence score of 0.77, and the shallow entity channel has a candidate field with a confidence score of 0.810. The calculation shows that sim("face mask", "collagen face mask") = 0.33 < 0.7, indicating a conflict between the business field and the candidate field. A three-level progressive field filling strategy is adopted.
[0158] First level: Extraction paradigm where this business field type has no mapping → Proceed to second level
[0159] Second layer: If the confidence score of the candidate field in the shallow entity channel is 0.810, and the confidence score of the business field in the deep semantic channel is 0.77, then the candidate field of the shallow entity channel is selected, and the result is filled as "collagen mask", source = shallow entity channel, and the business field of the deep semantic channel is retained as a candidate label.
[0160] E-commerce platform: The deep semantic channel has a value and a confidence level of 0.94. The shallow entity channel has a candidate field and a confidence level of 0.837. sim("Platform A", "Platform A")=1.00 > 0.7. The business field and the candidate field are consistent. Fill result: Take "Platform A" from the deep semantic channel with high confidence. Source = deep semantic channel.
[0161] Consumption amount: The business field of the deep semantic channel is missing, but the shallow entity channel has a candidate field "59.9 yuan" with a confidence level of 0.941. The result is "59.9 yuan", and the source is the shallow entity channel.
[0162] Request: The deep semantic channel has a value and a confidence level of 0.82, while the shallow entity channel has no candidate fields. The business fields of the deep semantic channel should be used to fill the field, and the result should be: "Refund and compensation", source = deep semantic channel.
[0163] Legal provisions: The deep semantic channel has a value with a confidence level of 0.85, the shallow entity channel has a candidate field with a confidence level of 0.837, sim("Article 27 of the Product Quality Law", "Product Quality Law of the People's Republic of China") ≈ 0.7, the business field is consistent with the candidate field, the filling result is: "Article 27 of the Product Quality Law", source = deep semantic channel.
[0164] Specific problem: No fields are filled in for either channel.
[0165] Fixed terms for occupational claims: No fields are populated in either channel.
[0166] Finally, according to step S107, the field filling completeness evaluation is performed. The filled business field types are {Company Name, Object Category Name, E-commerce Platform, Consumption Amount, Request, Legal Provision}, a total of 6. The completeness is 6 / 8 = 0.75 (0.75 ∈ [0.5, 0.875)). It is determined that the field filling is partially complete. The corresponding fields are searched in the entity fields that are not candidate fields or in the substantive complaint content for inference filling. The "Object Category Name" is filled but the "Specific Issue" is missing. Taking "Collagen Mask" as the anchor point, the descriptive phrases of the problem near the anchor point are extracted in the substantive complaint content. Descriptive content such as "no production date and shelf life" and "three-no product" are found. The "Specific Issue" field type is filled as "Mask has no production date and shelf life, three-no product", source = inference filling, confidence level is 0.65. The final field filling results of each business field are as follows:
[0167] "Company Name":{"value":"XX Beauty Flagship Store","confidence":0.91, "source":"Deep Semantic Channel"};
[0168] "Object Category Name":{"value":"Collagen Mask","confidence":0.81,"source":"Shallow Solid Channel"};
[0169] "Specific Issue":{"value":"The face mask has no production date or expiration date; it's a counterfeit product","confidence":0.65,"source":"Inferred Filler"},
[0170] "e-commerce platform":{"value":"Platform A","confidence":0.94,"source":"deep semantic channel"},
[0171] "Consumption Amount":{"value":"59.9 yuan","confidence":0.941,"source":"shallow physical channel"},
[0172] "Request":{"value":"Refund and compensation","confidence":0.82,"source":"Deep semantic channel"},
[0173] "Legal Provisions": {"value": "Article 27 of the Product Quality Law", "confidence": 0.85, "source":"deep semantic channel"},
[0174] "Professional Claims Fixed Terms":{"value":null,"confidence":null,"source":null}.
[0175] For example, subsequent manual corrections changed the "Consumption Amount" from "59.9 yuan" to "69.9 yuan". At this point, the entity field extracted by the shallow entity channel is "59.9 yuan", which is inconsistent with the corrected field. This indicates that although the AMOUNT→Consumption Amount mapping has high confidence in the current context, the result is inaccurate. Therefore, the element mapping AMOUNT to consumption amount is weakened and updated.
[0176] =0.98 × (1 - 0.05) = 0.931.
[0177] Example 2
[0178] Based on the same inventive concept, embodiments of the present invention also provide a device for extracting structured fields from complaint text based on dual-channel collaboration, referring to... Figure 2 As shown, it includes:
[0179] The standardization cleaning module 101 is used to standardize and clean the original complaint text to obtain the substantive complaint content.
[0180] The deep semantic channel extraction module 102 is used to extract each business field, its type, and confidence level of the deep semantic channel according to a predefined list of fields based on the substantive complaint content.
[0181] The shallow entity channel extraction module 103 is used to extract each entity field, its type, and confidence level of the shallow entity channel in a structured manner based on the substantive complaint content and in combination with a preset domain dictionary.
[0182] The mapping relationship matrix determination module 104 is used to determine the mapping relationship matrix between entity field types and business field types based on the set of all business field types and the set of all entity field types.
[0183] The cross-channel matching module 105 is used to calculate the comprehensive score of each entity field matching each business field based on the confidence score of each entity field and the elements of each entity field type mapped to each business field type in the mapping relationship matrix, and to select entity fields whose comprehensive scores reach a preset score threshold as candidate fields, and to use the comprehensive scores as the confidence scores of candidate fields.
[0184] The field filling selection module 106 is used to select fields for filling in the business fields and candidate fields based on each business field and its confidence level, each candidate field and its confidence level, and through preset rules, and to determine the field filling result for each business field type.
[0185] The field filling result output module 107 is used to calculate the completeness of filling all business field types based on the field filling results of all business field types. If the completeness reaches a preset maximum threshold, the field filling result of each business field type is output; if the completeness is less than a preset minimum threshold, a prompt message for manual review is output; otherwise, for unfilled business field types, entity fields that are not candidate fields or the substantive complaint content are searched for and inferred to fill the unfilled fields. After the filling is completed, the field filling result of each business field type is output.
[0186] Example 3
[0187] Based on the same inventive concept, embodiments of the present invention provide a computer-readable storage medium storing a computer program / instruction thereon, which, when executed by a processor, implements the method for extracting structured fields of complaint text based on dual-channel collaboration as described in Embodiment 1 above.
[0188] Example 4
[0189] Based on the same inventive concept, embodiments of the present invention provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the method for extracting structured fields of complaint text based on dual-channel collaboration as described in Embodiment 1 above.
[0190] Example 5
[0191] Based on the same inventive concept, this embodiment of the invention provides a computer device, including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the method for extracting structured fields of complaint text based on dual-channel collaboration as described in Embodiment 1 above.
[0192] In this embodiment, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, the method or process should not be limited to the specific order of steps described herein, to the extent that the method or process does not depend on the specific order of steps described herein. Other sequences of steps are also possible, as understood by those skilled in the art. Therefore, the specific order of steps set forth in the specification should not be construed as a limitation on the claims. Furthermore, the claims for the method and / or process should not be limited to the steps performed in the written order, and those skilled in the art will readily understand that these orders can be varied and still remain within the spirit and scope of the embodiments of the invention.
[0193] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0194] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. Those skilled in the art will understand that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0195] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0196] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
Claims
1. A method for extracting structured fields from complaint text based on dual-channel collaboration, characterized in that, The method includes: The original complaint text was cleaned and standardized to obtain the substantive complaint content; Based on the substantive complaint content, each business field, its type, and confidence level of the deep semantic channel are extracted in a structured manner according to a predefined list of fields; Based on the substantive complaint content, and combined with a preset domain dictionary, each entity field, its type, and confidence level of the shallow entity channel are extracted in a structured manner. Based on the set of all business field types and the set of all entity field types, determine the mapping relationship matrix between entity field types and business field types; Based on the confidence score of each entity field and the elements in the mapping relationship matrix that map each entity field type to each business field type, a comprehensive score is calculated for each entity field to match each business field. Entity fields whose comprehensive scores reach a preset score threshold are selected as candidate fields, and the comprehensive score is used as the confidence score of the candidate fields. Based on each business field and its confidence level, and each candidate field and its confidence level, field filling is selected from the business fields and candidate fields according to preset rules to determine the field filling result for each business field type; Based on the field filling results of all business field types, calculate the completeness of the filling of all business field types. If the completeness reaches the preset maximum threshold, output the field filling results of each business field type; if the completeness is less than the preset minimum threshold, output a prompt message for manual review; otherwise, for unfilled business field types, search for entity fields that are not candidate fields or the substantive complaint content to infer and fill them. After the filling is completed, output the field filling results of each business field type.
2. The method for extracting structured fields from complaint text based on dual-channel collaboration as described in claim 1, characterized in that, Based on each business field and its confidence level, and each candidate field and its confidence level, field filling is performed in the business fields and candidate fields according to preset rules to determine the field filling result for each business field type, including: Set any business field and its confidence level as follows: and Each candidate field and its confidence level are as follows: and By using the following preset rules one, two, and three, field filling is performed in various scenarios, including when the business field and candidate field are consistent, conflicting, and when the business field is missing, to determine the field filling result for each business field type: Rule 1: If And exist Make Where sim is the text similarity function, If the similarity threshold is used, the business field is determined to be consistent with the candidate field, and the field with higher confidence is selected as the field filling result for the corresponding business field type. Rule 2: If And exist Make If a conflict is found between the business field and the candidate field, the following three-tiered progressive field filling strategy will be triggered: First layer: Based on the mapping relationship between the predefined business field types and extraction paradigms in the business definition, select the business fields and candidate fields that match the extraction paradigm as the field filling results of the corresponding business field types; Second layer: If the first layer cannot determine the field filling result and ,in If the confidence difference threshold is set, then the field with the higher confidence level between the business field and the candidate field is selected as the field filling result. Third layer: If the first layer cannot determine the field filling result and Then, the business field and candidate field are retrieved from the preset business database respectively. The field that can be detected is selected as the field filling result of the corresponding business field type. If neither the business field nor the candidate field can be detected, the number of times the business field and the candidate field appear in the substantive complaint content are compared, and the field with the higher number of appearances is selected as the field filling result of the corresponding business field type. Rule 3: If And there exists at least one mapping to of Then, the candidate field with the highest confidence level is selected as the field filling result for the corresponding business field type.
3. The method for extracting structured fields from complaint text based on dual-channel collaboration as described in claim 1, characterized in that, Based on the set of all business field types and the set of all entity field types, determine the mapping matrix between entity field types and business field types, including: Based on the set of all business field types and the set of all entity field types, the frequency of each type pair in all type pairs that are manually annotated and matched one-to-one with business field types is calculated. The frequency of occurrence of each type pair is used as an element in the mapping relationship matrix to map each entity field type to each business field type, thereby determining the mapping relationship matrix between entity field types and business field types.
4. The method for extracting structured fields from complaint text based on dual-channel collaboration as described in claim 3, characterized in that, Based on the confidence score of each entity field and the elements in the mapping matrix that map each entity field type to each business field type, a comprehensive score is calculated for each entity field matching each business field, including... Based on the confidence score of each entity field and the elements in the mapping matrix that map each entity field type to each business field type, the comprehensive score for matching each entity field to each business field is calculated according to Formula 1 below: Official 1, In Equation 1, This represents the overall score of the match between the k-th entity field and the j-th business field. This represents the confidence level of the k-th entity field. This represents the element in the mapping matrix where the k-th entity field type is mapped to the j-th business field type.
5. The method for extracting structured fields from complaint text based on dual-channel collaboration as described in claim 1, characterized in that, Based on the field population results for all business field types, calculate the completeness of the population for all business field types, including: Based on the field population results of all business field types, determine the number of business field types that have been populated; Calculate the ratio of the number of populated business field types to the total number of business field types to obtain the completeness of the population of all business field types.
6. The method for extracting structured fields from complaint text based on dual-channel collaboration as described in claim 1, characterized in that, Also includes: After manually correcting the field population result of any business field type, obtain the corrected field; The corrected field is compared with the corresponding entity field. If they match, the corresponding element in the mapping matrix is enhanced and updated according to Formula 2 below; otherwise, the corresponding element in the mapping matrix is weakened and updated according to Formula 3 below. Official 2, Official 3, In Equations 2 and 3, This indicates that after the update, the element whose k-th entity field type is mapped to the j-th business field type is... This indicates the element whose k-th entity field type was mapped to the j-th business field type before the update. This represents the learning rate.
7. A device for extracting structured fields from complaint text based on dual-channel collaboration, characterized in that, include: The standardization and cleaning module is used to standardize and clean the original complaint text to obtain the substantive complaint content; The deep semantic channel extraction module is used to extract each business field, its type, and confidence level of the deep semantic channel based on the substantive complaint content and according to a predefined list of fields. The shallow entity channel extraction module is used to extract each entity field, its type, and confidence level of the shallow entity channel in a structured manner based on the substantive complaint content and in combination with a preset domain dictionary. The mapping relationship matrix determination module is used to determine the mapping relationship matrix between entity field types and business field types based on the set of all business field types and the set of all entity field types; The cross-channel matching module is used to calculate the comprehensive score of each entity field matching each business field based on the confidence score of each entity field and the elements of each entity field type mapped to each business field type in the mapping relationship matrix. The entity field whose comprehensive score reaches a preset score threshold is used as the candidate field, and the comprehensive score is used as the confidence score of the candidate field. The field filling selection module is used to select fields for filling based on each business field and its confidence level, each candidate field and its confidence level, and according to preset rules, to determine the field filling result for each business field type. The field filling result output module is used to calculate the completeness of filling all business field types based on the field filling results of all business field types. If the completeness reaches a preset maximum threshold, the field filling result of each business field type is output; if the completeness is less than a preset minimum threshold, a prompt message for manual review is output; otherwise, for unfilled business field types, entity fields that are not candidate fields or the substantive complaint content are searched for and inferred to fill the unfilled fields. After the filling is completed, the field filling result of each business field type is output.
8. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instruction is executed by the processor, it implements the method for extracting structured fields of complaint text based on dual-channel collaboration as described in any one of claims 1-6.
9. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the method for extracting structured fields of complaint text based on dual-channel collaboration as described in any one of claims 1-6.
10. A computer device, comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the method for extracting structured fields from complaint text based on dual-channel collaboration as described in any one of claims 1-6.
