Method, device, computer equipment and storage medium for identifying address information

Through the gated network sliding window and suffix feature embedding, combined with the combined network of Bi-LSTM and CRF, the problem of low address recognition generalization ability in the existing technology is solved, and more accurate and efficient address information recognition is achieved.

CN113836920BActive Publication Date: 2024-08-27TIANJIN QIJIN YUNSHANG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing address recognition models have bottlenecks in generalization capabilities and accuracy, making it difficult to correctly identify the boundaries between addresses and non-addresses.

Method used

The sliding window of the gated network is used to identify the address data, the address information is determined through suffix feature embedding and hierarchical relationships, and the combined network of Bi-LSTM and CRF is used for semantic matching to ensure the accuracy of the address data.

Benefits of technology

It improves the generalization ability and accuracy of address recognition, clearly identifies address and non-address information, and enhances the ability to identify address boundaries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113836920B
    Figure CN113836920B
Patent Text Reader

Abstract

The present application relates to the field of address recognition, and discloses a method, device, computer equipment, and storage medium for identifying address information, wherein the method includes: obtaining address data; identifying the address data through a sliding window of a gated network, and obtaining entity data contained in the address data, wherein the entity data includes a first entity and a second entity; embedding a suffix into the first entity according to a preset suffix feature to generate first entity information; embedding a suffix into the second entity according to a preset suffix feature to generate second entity information; if both the first entity information and the second entity information meet the preset address feature requirements, determining the address information corresponding to the address data according to the first entity information and the second entity information. The present application can improve the generalization capability of address recognition, and improve the accuracy and efficiency of address recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of address identification, and in particular to a method, device, computer equipment and storage medium for identifying address information. Background Art

[0002] Currently, for address information recognition scenarios, the address information expressed by the customer needs to be extracted. Address information extraction requires extracting the address from the content expressed by the customer. However, in address extraction, correctly identifying the boundary between address and non-address is the most important. The current model requires standardized address data for accurate address recognition, which leads to bottlenecks in the generalization ability of the existing model in actually extracting address information, and the accuracy is not high. Summary of the invention

[0003] The main purpose of this application is to provide a method, device, computer equipment and storage medium for identifying address information, aiming to solve the problem of low generalization ability of current address recognition.

[0004] In order to achieve the above-mentioned invention object, the present application proposes a method for identifying address information, comprising:

[0005] Get address data;

[0006] Identify the address data through a sliding window of a gated network, and obtain entity data contained in the address data, wherein the entity data includes a first entity and a second entity;

[0007] Performing suffix embedding on the first entity according to a preset suffix feature to generate first entity information;

[0008] Performing suffix embedding on the second entity according to a preset suffix feature to generate second entity information;

[0009] If both the first entity information and the second entity information meet the preset address feature requirements, address information corresponding to the address data is determined according to the first entity information and the second entity information.

[0010] Further, the step of embedding a suffix of the first entity according to a preset suffix feature to generate first entity information; and embedding a suffix of the second entity according to a preset suffix feature to generate second entity information includes:

[0011] Selecting a first suffix feature from preset suffix features, and performing suffix embedding on the first entity according to the first suffix feature to generate first entity information;

[0012] Obtaining the hierarchical relationship of the preset suffix features;

[0013] Determine a second suffix feature according to the hierarchical relationship and the first suffix feature;

[0014] The second entity is suffix-embedded according to the second suffix feature to generate second entity information.

[0015] Further, the determining the second suffix feature according to the hierarchical relationship and the first suffix feature includes:

[0016] obtaining a first level of the first suffix feature;

[0017] determining a second level according to the hierarchical relationship and the first level;

[0018] A second suffix feature corresponding to the second level is selected from preset suffix features.

[0019] Further, determining whether the first entity information and the second entity information meet address feature requirements includes:

[0020] Matching the first entity information in a preset address database to determine whether the first entity information exists in the preset address database;

[0021] If so, determining that the first entity information meets the address feature requirements;

[0022] Matching the second entity information in a preset address database to determine whether the second entity information exists in the preset address database;

[0023] If so, it is determined that both the first entity information and the second entity information meet the address feature requirements.

[0024] Further, determining that the first entity information exists in the preset address library includes:

[0025] Inputting the first entity information into a combination network of Bi-LSTM and CRF, identifying the first entity information based on the combination network of Bi-LSTM and CRF, and determining a first semantics of the first entity information;

[0026] Matching the first semantics in a preset first address library, and if a vector corresponding to the first semantics exists in the preset first address library, determining that the first entity information exists in the preset address library;

[0027] Determining that the second entity information exists in the preset address library includes:

[0028] Inputting the second entity information into a combination network of Bi-LSTM and CRF, identifying the second entity information based on the combination network of Bi-LSTM and CRF, and determining a second semantics of the second entity information;

[0029] The second semantics is matched in a preset second address library. If a vector corresponding to the second semantics exists in the preset second address library, it is determined that the second entity information exists in the preset address library.

[0030] Furthermore, before matching the second semantics in a preset second address library, the method further includes:

[0031] Determine a first address of the first entity information according to the first semantics;

[0032] Acquire an association relationship between the first entity information and the second entity information;

[0033] A second address library is determined according to the association relationship and the first address as a preset second address library.

[0034] Furthermore, the identifying the address data through the sliding window of the gated network to obtain the entity data contained in the address data includes:

[0035] Obtaining window size configuration information of a sliding window of the gated network;

[0036] sequentially configure window values ​​according to the window size configuration information;

[0037] The address data is identified based on a sliding window of a gated network corresponding to the window value, and entity data contained in the address data is obtained.

[0038] The present application also provides an address information identification device, including:

[0039] A data acquisition module, used for acquiring address data;

[0040] An entity recognition module, configured to recognize the address data through a sliding window of a gated network, and obtain entity data contained in the address data, wherein the entity data includes a first entity and a second entity;

[0041] A first embedding module, used for performing suffix embedding on the first entity according to a preset suffix feature to generate first entity information;

[0042] A second embedding module, used for performing suffix embedding on the second entity according to a preset suffix feature to generate second entity information;

[0043] A scoring and screening module is used to determine the address information corresponding to the address data according to the first entity information and the second entity information if it is determined that the first entity information and the second entity information meet the address feature requirements.

[0044] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above-mentioned address information identification methods when executing the computer program.

[0045] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods for identifying address information are implemented.

[0046] The present application example provides a method for identifying address data with fuzzy boundaries, firstly acquiring address data; the address data is original, unprocessed data, and then identifying the address data through a sliding window of a gated network, wherein the gated network is set with a sliding window, and the sliding window is configured with recognition requirements of features of a pending word and features of a following word of the pending word, and entity data is extracted from the address data based on the sliding window, so that entity data contained in the address data is obtained through the sliding window recognition of the gated network, the entity data includes a first entity and a second entity, and after the first entity and the second entity are identified, the entity data is extracted according to a preset suffix feature. The first entity and the second entity are suffix-embedded, and the suffix feature is the administrative level feature in the address information field. Then the generated first entity information and the second entity information are matched in a preset address library. If the first entity information and the second entity information exist in the preset address library, it is determined that the first entity information and the second entity information meet the address feature requirements, so as to accurately determine the address information corresponding to the address data according to the first entity information and the second entity information, and clearly identify the address and non-address information in the address data and the boundary between addresses through the gating network, thereby improving the generalization ability of address recognition and improving the accuracy and efficiency of address recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A flowchart of an embodiment of a method for identifying address information of the present application;

[0048] Figure 2 A schematic diagram of the structure of an embodiment of a device for identifying address information of the present application;

[0049] Figure 3 This is a schematic block diagram of the structure of an embodiment of a computer device of the present application.

[0050] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0052] Reference Figure 1 , an embodiment of the present application provides a method for identifying address information, including steps S10-S50. The detailed description of each step of the method for identifying address information is as follows. The method for identifying address information can be completed by an application with corresponding functions built in, such as an "address identification" function built into the application, through which the application can complete the identification of address data. The application can run on a terminal device or on a cloud server. Therefore, the method for identifying address information can also be understood as being completed by a terminal device or a cloud server running the application.

[0053] S10. Obtain address data.

[0054] This embodiment is applied to the address information recognition scenario of artificial intelligence. With the continuous development of digitalization, in different fields, automatic and accurate recognition of address information can improve the efficiency of business handling. When address information needs to be recognized, address data is obtained. The address data is original and unprocessed data. In one implementation, the address data can be text data input by the user; or the address data can be voice data of the user's answer when the robot asks the user for detailed information of the residential address during the video interview. For example, the robot asks: Please tell me the detailed address of your residence? The user answers: It is in ** Street, ** Road, Nanshan, Guangdong, so as to obtain the voice data of the user's answer and use the voice data as the address data.

[0055] S20. Identify the address data through a sliding window of a gated network to obtain entity data contained in the address data, where the entity data includes a first entity and a second entity.

[0056] In this embodiment, after acquiring the address data, in order to accurately identify the address information in the address data, the address data is identified through a sliding window of a gated network. The gated network is set with a sliding window, and entity data is extracted from the address data based on the sliding window. Specifically, the sliding window is configured with the recognition requirements of the features of the pending word X and the features of the following words of the pending word X, and then the words in the address data are selected through the sliding window. When the sliding window obtains the features of a word and the features of the next phrase of the word that meet the recognition requirements, the word is then screened out and defined as an entity, so that the entity data contained in the address data is obtained through the sliding window recognition of the gated network, and the entity data includes a first entity and a second entity, wherein the first entity is the pending word X, and the second entity is the next phrase of the pending word X.

[0057] S30, embedding the suffix of the first entity according to a preset suffix feature to generate first entity information;

[0058] S40: Perform suffix embedding on the second entity according to a preset suffix feature to generate second entity information.

[0059] In this embodiment, after the first entity and the second entity are identified, suffixes are embedded in the first entity and the second entity according to preset suffix features. In the field of address information, the suffix features include "province", "municipality directly under the central government", "autonomous region", "city", "district", "county", etc. First, the suffix is ​​embedded in the first entity according to the preset suffix features, that is, a feature is selected from the suffix features and added to the first entity to generate first entity information, and then the suffix is ​​embedded in the second entity according to the preset suffix features. Similarly, a feature is selected from the suffix features and added to the second entity to generate second entity information. For example, when the suffix is ​​embedded in the first entity, the selected suffix feature is "province", and when the suffix is ​​embedded in the second entity, the selected suffix feature is "city", thereby generating the first entity information and the second entity information, that is, generating entity information containing a complete suffix.

[0060] S50: If both the first entity information and the second entity information meet preset address feature requirements, determine address information corresponding to the address data according to the first entity information and the second entity information.

[0061] In this embodiment, after the first entity is suffix-embedded according to the preset suffix feature to generate the first entity information; and the second entity is suffix-embedded according to the preset suffix feature to generate the second entity information, it is determined whether the first entity information and the second entity information meet the address feature requirements, wherein the preset address feature requirements are that the first entity information and the second entity information match a preset address library, and the address library has entered addresses of different administrative levels, including the first administrative level of "country", including China, the United States, South Korea, etc.; the second administrative level is the subordinate administrative region of the first administrative level, such as "province", "municipality directly under the central government", "autonomous region", "state", etc., and so on, and the addresses of different administrative levels are entered into the address library to generate a preset geological record.

[0062] The generated first entity information and the second entity information are matched in a preset address library. If both the first entity information and the second entity information exist in the preset address library, it is determined that both the first entity information and the second entity information meet the preset address feature requirements, and the address information corresponding to the address data is determined based on the first entity information and the second entity information. For example, when the first entity is identified as "Guangdong", the embedded suffix feature is "province", and the first entity information "Guangdong Province" is generated. If "Guangdong Province" exists in the preset address library, the first entity information meets the address feature requirements. If the embedded suffix is ​​"city", the first entity information "Guangdong City" is generated. If "Guangdong City" does not exist in the preset address library, the first entity information does not meet the address feature requirements. The first entity information and the second entity information are determined in turn. When the first entity information and the second entity information both meet the address feature requirements, it is determined to complete the suffix embedding of the address data, that is, to complete the feature expansion of the address data, so that the address information corresponding to the address data can be accurately identified, thereby accurately determining the address information corresponding to the address data according to the first entity information and the second entity information, and being able to clearly identify the address and non-address information in the address data, as well as the boundaries between addresses, thereby improving the generalization ability of address recognition and improving the accuracy and efficiency of address recognition.

[0063] The present embodiment provides a method for identifying address data with fuzzy boundaries, firstly acquiring address data; the address data is original and unprocessed data, then identifying the address data through a sliding window of a gated network, the gated network is set with a sliding window, and the sliding window is configured with recognition requirements of the features of a pending word and the features of the following words of the pending word, entity data is extracted from the address data based on the sliding window, so that entity data contained in the address data is obtained through the sliding window recognition of the gated network, the entity data includes a first entity and a second entity, after the first entity and the second entity are identified, the entity data is extracted according to a preset suffix feature The first entity and the second entity are suffix-embedded, and the suffix feature is the administrative level feature in the address information field. Then the generated first entity information and the second entity information are matched in a preset address library. If the first entity information and the second entity information exist in the preset address library, it is determined that the first entity information and the second entity information meet the address feature requirements, so as to accurately determine the address information corresponding to the address data according to the first entity information and the second entity information, and clearly identify the address and non-address information in the address data and the boundary between addresses through the gating network, thereby improving the generalization ability of address recognition and improving the accuracy and efficiency of address recognition.

[0064] In one embodiment, the step of embedding a suffix of the first entity according to a preset suffix feature to generate first entity information; and embedding a suffix of the second entity according to a preset suffix feature to generate second entity information includes:

[0065] Selecting a first suffix feature from preset suffix features, and performing suffix embedding on the first entity according to the first suffix feature to generate first entity information;

[0066] Obtaining the hierarchical relationship of the preset suffix features;

[0067] Determine a second suffix feature according to the hierarchical relationship and the first suffix feature;

[0068] The second entity is suffix-embedded according to the second suffix feature to generate second entity information.

[0069] In this embodiment, in the process of embedding a suffix into the first entity according to a preset suffix feature to generate first entity information; and embedding a suffix into the second entity according to a preset suffix feature to generate second entity information, firstly, a first suffix feature is selected from the preset suffix features, and then a suffix is ​​embedded into the first entity according to the first suffix feature to generate first entity information, and then the hierarchical relationship of the preset suffix features is obtained. In one embodiment, the hierarchical relationship of the suffix features is based on administrative level in the suffix features, for example, the first level administrative level is "country"; the second level administrative level is the subordinate administrative region of the first level administrative level, including "province", "municipality directly under the central government", "autonomous region", "state", etc.; the third level administrative level includes "city" and "district". Then, the second suffix feature is determined according to the hierarchical relationship and the first suffix feature, that is, suffix features of different hierarchical relationships are selected to perform suffix embedding on the first entity and the second entity respectively, and then the second entity is suffix embedded according to the second suffix feature to generate second entity information. This can narrow the range of the suffix feature embedded in the second entity and reduce the number of second suffix features, thereby improving the generation efficiency of the second entity information and improving the efficiency of address recognition.

[0070] In one embodiment, determining the second suffix feature according to the hierarchical relationship and the first suffix feature includes:

[0071] obtaining a first level of the first suffix feature;

[0072] determining a second level according to the hierarchical relationship and the first level;

[0073] A second suffix feature corresponding to the second level is selected from preset suffix features.

[0074] In this embodiment, in the process of determining the second suffix feature according to the hierarchical relationship and the first suffix feature, the level of the first suffix feature is firstly obtained and defined as the first level, and then the second level is determined according to the hierarchical relationship and the first level. In one implementation, the next level of the first level is determined as the second level. For example, when the level of the first suffix feature is one, the level of the second level is determined to be two; when the level of the first suffix feature is two, the level of the second level is determined to be three, and then the second suffix feature corresponding to the second level is selected from the preset suffix features, that is, the suffix feature with the second level is selected as the second suffix feature. For example, when the first suffix feature is selected as "province", the second suffix feature is determined to be "city", and when the first suffix feature is selected as "municipality directly under the Central Government", the second suffix feature is determined to be "district", thereby narrowing the range of the suffix features embedded in the second entity and reducing the number of second suffix features, thereby improving the generation efficiency of the second entity information and improving the efficiency of address recognition.

[0075] In one embodiment, determining whether the first entity information and the second entity information meet address feature requirements includes:

[0076] Matching the first entity information in a preset address database to determine whether the first entity information exists in the preset address database;

[0077] If so, determining that the first entity information meets the address feature requirements;

[0078] Matching the second entity information in a preset address database to determine whether the second entity information exists in the preset address database;

[0079] If so, it is determined that both the first entity information and the second entity information meet the address feature requirements.

[0080] In this embodiment, in the process of determining whether the first entity information and the second entity information meet the address feature requirements, the first entity information is matched in a preset address library to determine whether the first entity information exists in the preset address library. If so, it is determined that the first entity information meets the address feature requirements. After determining that the first entity information meets the address feature requirements, the second entity information is matched in the preset address library to determine whether the second entity information exists in the preset address library. If so, it is determined that both the first entity information and the second entity information meet the address feature requirements. When both the first entity information and the second entity information meet the address feature requirements, it is determined to complete suffix embedding of the address data, thereby improving the efficiency of entity information determination.

[0081] In one embodiment, determining that the first entity information exists in the preset address library includes:

[0082] Inputting the first entity information into a combination network of Bi-LSTM and CRF, identifying the first entity information based on the combination network of Bi-LSTM and CRF, and determining a first semantics of the first entity information;

[0083] Matching the first semantics in a preset first address library, and if a vector corresponding to the first semantics exists in the preset first address library, determining that the first entity information exists in the preset address library;

[0084] Determining that the second entity information exists in the preset address library includes:

[0085] Inputting the second entity information into a combination network of Bi-LSTM and CRF, identifying the second entity information based on the combination network of Bi-LSTM and CRF, and determining a second semantics of the second entity information;

[0086] The second semantics is matched in a preset second address library. If a vector corresponding to the second semantics exists in the preset second address library, it is determined that the second entity information exists in the preset address library.

[0087] In this embodiment, the process of determining whether the first entity information exists in the preset address library includes: inputting the first entity information into a combination network of Bi-LSTM (bidirectional long short-term memory) and CRF (conditional random field), identifying the first entity information based on the combination network of Bi-LSTM and CRF, determining the first semantics of the first entity information, matching the first semantics in the preset first address library, and if the preset first address library has a vector corresponding to the first semantics, determining that the first entity information exists in the preset address library, similarly, for the second entity information, inputting the second entity information into a combination network of Bi-LSTM and CRF, identifying the second entity information based on the combination network of Bi-LSTM and CRF, and determining the second semantics of the second entity information; matching the second semantics in the preset second address library, and if the preset second address library has a vector corresponding to the second semantics, determining that the second entity information exists in the preset address library, thereby ensuring the accuracy of the first entity information and the second entity information.

[0088] In one embodiment, before matching the second semantics with a preset second address library, the method further includes:

[0089] Determine a first address of the first entity information according to the first semantics;

[0090] Acquire an association relationship between the first entity information and the second entity information;

[0091] A second address library is determined according to the association relationship and the first address as a preset second address library.

[0092] In this embodiment, before matching the second semantics in the preset second address library, the preset second address library is determined by the address of the determined first entity information. Specifically, the first address of the first entity information is determined according to the first semantics, and then the association relationship between the first entity information and the second entity information is obtained. The second address library is determined according to the association relationship and the first address as the preset second address library. In one implementation, when the first entity information meets the address feature requirements, the first address of the first entity information is determined to be "Guangdong Province", the association relationship between the first entity information and the second entity information is obtained, and the second address library is determined according to the association relationship and the first address as the preset second address library, that is, the address library under Guangdong Province is selected as the preset second address library, such as the address library of the prefecture-level cities included in Guangdong Province as the preset second address library. When the first address of the first entity information is "Guangzhou City", the address library under Guangzhou City is selected as the preset second address library, such as the address library of the district included in Guangzhou City as the preset second address library, thereby narrowing the scope of the address library, reducing the number of address matches, and improving the address matching efficiency.

[0093] In one embodiment, the step of identifying the address data through a sliding window of a gated network and obtaining entity data contained in the address data includes:

[0094] Obtaining window size configuration information of a sliding window of the gated network;

[0095] sequentially configure window values ​​according to the window size configuration information;

[0096] The address data is identified based on a sliding window of a gated network corresponding to the window value, and entity data contained in the address data is obtained.

[0097] In this embodiment, in the process of identifying the address data through the sliding window of the gated network and obtaining the entity data contained in the address data, the window size configuration information of the sliding window of the gated network is obtained, and then the window value is sequentially configured according to the window size configuration information, and then the address data is identified based on the sliding window of the gated network corresponding to the window value to obtain the entity data contained in the address data. First, the address data is identified with the sliding window of the gated network corresponding to the minimum window to obtain the first entity. If the identified first entity meets the address feature requirements after suffix embedding, the address data is identified with the sliding window of the gated network corresponding to the minimum window to obtain the second entity. If the identified first entity does not meet the address feature requirements after suffix embedding, the window size is changed, for example, the window value is increased by one, and then the address data is identified again, thereby effectively controlling the identification progress of the entity data, accurately identifying the boundaries of each entity in the address data, and obtaining accurate first and second entities, thereby improving the accuracy of address information identification.

[0098] Reference Figure 2 The present application also provides an address information identification device, including:

[0099] A data acquisition module 10, used to acquire address data;

[0100] An entity identification module 20, configured to identify the address data through a sliding window of a gated network, and obtain entity data contained in the address data, wherein the entity data includes a first entity and a second entity;

[0101] A first embedding module 30, configured to embed a suffix into the first entity according to a preset suffix feature to generate first entity information;

[0102] A second embedding module 40, configured to embed the suffix of the second entity according to a preset suffix feature to generate second entity information;

[0103] The scoring and screening module 50 is configured to determine the address information corresponding to the address data according to the first entity information and the second entity information if it is determined that both the first entity information and the second entity information meet the preset address feature requirements.

[0104] As described above, it can be understood that the various components of the address information identification device proposed in the present application can realize the functions of any of the address information identification methods described above.

[0105] In one embodiment, the step of embedding a suffix of the first entity according to a preset suffix feature to generate first entity information; and embedding a suffix of the second entity according to a preset suffix feature to generate second entity information includes:

[0106] Selecting a first suffix feature from preset suffix features, and performing suffix embedding on the first entity according to the first suffix feature to generate first entity information;

[0107] Obtaining the hierarchical relationship of the preset suffix features;

[0108] Determine a second suffix feature according to the hierarchical relationship and the first suffix feature;

[0109] The second entity is suffix-embedded according to the second suffix feature to generate second entity information.

[0110] In one embodiment, determining the second suffix feature according to the hierarchical relationship and the first suffix feature includes:

[0111] obtaining a first level of the first suffix feature;

[0112] determining a second level according to the hierarchical relationship and the first level;

[0113] A second suffix feature corresponding to the second level is selected from preset suffix features.

[0114] In one embodiment, determining whether the first entity information and the second entity information meet address feature requirements includes:

[0115] Matching the first entity information in a preset address database to determine whether the first entity information exists in the preset address database;

[0116] If so, determining that the first entity information meets the address feature requirements;

[0117] Matching the second entity information in a preset address database to determine whether the second entity information exists in the preset address database;

[0118] If so, it is determined that both the first entity information and the second entity information meet the address feature requirements.

[0119] In one embodiment, determining that the first entity information exists in the preset address library includes:

[0120] Inputting the first entity information into a combination network of Bi-LSTM and CRF, identifying the first entity information based on the combination network of Bi-LSTM and CRF, and determining a first semantics of the first entity information;

[0121] Matching the first semantics in a preset first address library, and if a vector corresponding to the first semantics exists in the preset first address library, determining that the first entity information exists in the preset address library;

[0122] Determining that the second entity information exists in the preset address library includes:

[0123] Inputting the second entity information into a combination network of Bi-LSTM and CRF, identifying the second entity information based on the combination network of Bi-LSTM and CRF, and determining a second semantics of the second entity information;

[0124] The second semantics is matched in a preset second address library. If a vector corresponding to the second semantics exists in the preset second address library, it is determined that the second entity information exists in the preset address library.

[0125] In one embodiment, before matching the second semantics with a preset second address library, the method further includes:

[0126] Determine a first address of the first entity information according to the first semantics;

[0127] Acquire an association relationship between the first entity information and the second entity information;

[0128] A second address library is determined according to the association relationship and the first address as a preset second address library.

[0129] In one embodiment, the step of identifying the address data through a sliding window of a gated network and obtaining entity data contained in the address data includes:

[0130] Obtaining window size configuration information of a sliding window of the gated network;

[0131] sequentially configure window values ​​according to the window size configuration information;

[0132] The address data is identified based on a sliding window of a gated network corresponding to the window value, and entity data contained in the address data is obtained.

[0133] Reference Figure 3 In the embodiment of the present application, a computer device is also provided. The computer device may be a mobile terminal, and its internal structure may be as follows: Figure 3As shown. The computer device includes a processor, a memory, a network interface, a display device and an input device connected through a system bus. Among them, the network interface of the computer device is used to communicate with an external terminal through a network connection. The input device of the computer device is used to receive user input. The processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a storage medium. The storage medium stores an operating system, a computer program and a database. The database of the computer device is used to store data. When the computer program is executed by the processor, a method for identifying address information is implemented.

[0134] The above-mentioned processor executes the above-mentioned address information recognition method, including: acquiring address data; recognizing the address data through a sliding window of a gated network to obtain entity data contained in the address data, wherein the entity data includes a first entity and a second entity; embedding a suffix into the first entity according to a preset suffix feature to generate first entity information; embedding a suffix into the second entity according to a preset suffix feature to generate second entity information; if both the first entity information and the second entity information meet the preset address feature requirements, determining the address information corresponding to the address data according to the first entity information and the second entity information.

[0135] The computer device provides a method for identifying address data with fuzzy boundaries, firstly acquiring address data; the address data is original and unprocessed data, then identifying the address data through a sliding window of a gated network, the gated network is set with a sliding window, and the sliding window is configured with recognition requirements of the features of the pending word and the features of the following words of the pending word, entity data is extracted from the address data based on the sliding window, so that the entity data contained in the address data is obtained through the sliding window recognition of the gated network, the entity data includes a first entity and a second entity, after the first entity and the second entity are identified, the entity data is extracted according to the preset suffix features The first entity and the second entity are suffix-embedded, and the suffix feature is the administrative level feature in the address information field. Then the generated first entity information and the second entity information are matched in a preset address library. If the first entity information and the second entity information exist in the preset address library, it is determined that the first entity information and the second entity information meet the address feature requirements, so as to accurately determine the address information corresponding to the address data according to the first entity information and the second entity information, clearly identify the address and non-address information in the address data, and the boundary between addresses through the gating network, improve the generalization ability of address recognition, and improve the accuracy and efficiency of address recognition.

[0136] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by the processor, a method for identifying address information is implemented, comprising the steps of: acquiring address data; identifying the address data through a sliding window of a gated network to obtain entity data contained in the address data, wherein the entity data comprises a first entity and a second entity; performing a suffix embedding on the first entity according to a preset suffix feature to generate first entity information; performing a suffix embedding on the second entity according to a preset suffix feature to generate second entity information; and if both the first entity information and the second entity information meet preset address feature requirements, determining the address information corresponding to the address data according to the first entity information and the second entity information.

[0137] The computer-readable storage medium provides a method for identifying address data with fuzzy boundaries, firstly acquiring address data; the address data is original and unprocessed data, then identifying the address data through a sliding window of a gated network, wherein the gated network is set with a sliding window, and the sliding window is configured with recognition requirements of the features of a pending word and the features of the following words of the pending word, and entity data is extracted from the address data based on the sliding window, thereby obtaining entity data contained in the address data through the sliding window recognition of the gated network, wherein the entity data includes a first entity and a second entity, and after the first entity and the second entity are identified, the entity data is extracted according to a preset suffix feature. Suffix embedding is performed on the first entity and the second entity, wherein the suffix feature is an administrative level feature in the address information field, and then the generated first entity information and the second entity information are matched in a preset address library. If the first entity information and the second entity information exist in the preset address library, it is determined that the first entity information and the second entity information meet the address feature requirements, thereby accurately determining the address information corresponding to the address data according to the first entity information and the second entity information, and clearly identifying the address and non-address information in the address data and the boundary between addresses through a gating network, thereby improving the generalization ability of address recognition and improving the accuracy and efficiency of address recognition.

[0138] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0139] Any reference to memory, storage, database, or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory.

[0140] Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

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

[0142] The above description is only a preferred embodiment of the present application and does not limit the patent scope of the present application.

[0143] Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are similarly included in the scope of patent protection of this application.

Claims

1. A method for identifying address information, characterized in that: include: Get address data; Identify the address data through a sliding window of a gated network, and obtain entity data contained in the address data, wherein the entity data includes a first entity and a second entity; Performing suffix embedding on the first entity according to a preset suffix feature to generate first entity information; Performing suffix embedding on the second entity according to a preset suffix feature to generate second entity information; If both the first entity information and the second entity information meet the preset address feature requirements, determining the address information corresponding to the address data according to the first entity information and the second entity information; said embedding a suffix into the first entity according to a preset suffix feature to generate first entity information; The second entity is suffix-embedded according to a preset suffix feature to generate second entity information, including: Selecting a first suffix feature from preset suffix features, and performing suffix embedding on the first entity according to the first suffix feature to generate first entity information; Obtaining the hierarchical relationship of the preset suffix features; Determine a second suffix feature according to the hierarchical relationship and the first suffix feature; Perform suffix embedding on the second entity according to the second suffix feature to generate second entity information; Determining whether the first entity information and the second entity information meet address feature requirements includes: Matching the first entity information in a preset address database to determine whether the first entity information exists in the preset address database; If so, determining that the first entity information meets the address feature requirements; Matching the second entity information in a preset address database to determine whether the second entity information exists in the preset address database; If so, determining that both the first entity information and the second entity information meet the address feature requirements; Determining whether the first entity information exists in the preset address library includes: Inputting the first entity information into a combination network of Bi-LSTM and CRF, identifying the first entity information based on the combination network of Bi-LSTM and CRF, and determining a first semantics of the first entity information; Matching the first semantics in a preset first address library, and if a vector corresponding to the first semantics exists in the preset first address library, determining that the first entity information exists in the preset address library; Determining that the second entity information exists in the preset address library includes: Inputting the second entity information into a combination network of Bi-LSTM and CRF, identifying the second entity information based on the combination network of Bi-LSTM and CRF, and determining a second semantics of the second entity information; The second semantics is matched in a preset second address library. If a vector corresponding to the second semantics exists in the preset second address library, it is determined that the second entity information exists in the preset address library.

2. The method for identifying address information according to claim 1, characterized in that: The determining the second suffix feature according to the hierarchical relationship and the first suffix feature includes: obtaining a first level of the first suffix feature; determining a second level according to the hierarchical relationship and the first level; A second suffix feature corresponding to the second level is selected from preset suffix features.

3. The method for identifying address information according to claim 1, characterized in that: Before matching the second semantics in a preset second address library, the method further includes: Determine a first address of the first entity information according to the first semantics; Acquire an association relationship between the first entity information and the second entity information; A second address library is determined according to the association relationship and the first address as a preset second address library.

4. The method for identifying address information according to claim 1, characterized in that: The step of identifying the address data through a sliding window of a gated network and obtaining entity data contained in the address data includes: Obtaining window size configuration information of a sliding window of the gated network; sequentially configure window values ​​according to the window size configuration information; The address data is identified based on a sliding window of a gated network corresponding to the window value, and entity data contained in the address data is obtained.

5. An address information recognition device, used to implement any one of the methods described in claims 1-4, characterized in that: include: A data acquisition module, used for acquiring address data; An entity recognition module, configured to recognize the address data through a sliding window of a gated network, and obtain entity data contained in the address data, wherein the entity data includes a first entity and a second entity; A first embedding module, used for performing suffix embedding on the first entity according to a preset suffix feature to generate first entity information; A second embedding module, used for performing suffix embedding on the second entity according to a preset suffix feature to generate second entity information; A scoring and screening module is used to determine the address information corresponding to the address data according to the first entity information and the second entity information if it is determined that the first entity information and the second entity information meet the address feature requirements.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method for identifying address information according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for identifying address information according to any one of claims 1 to 4 are implemented.