Natural language processing system, natural language processing method, and natural language processing program

The natural language processing system estimates building types at addresses using a machine learning model, enhancing service reliability and user behavior analysis by accurately determining building types.

JP7583082B2Active Publication Date: 2024-11-13RAKUTEN GROUP INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023026001
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-11-13
Estimated Expiration
2043-02-22

AI Technical Summary

Technical Problem

Existing technologies lack the ability to estimate the type of building located at an address using a learned model, which hinders the analysis of user behavior and service development based on building type.

Method used

A natural language processing system that utilizes a learning model trained by machine learning to estimate the building type from address information, combining both machine learning and rule-based approaches to enhance accuracy.

Benefits of technology

Enables accurate estimation of building types, improving the reliability of services that utilize this information and facilitating further service development by understanding user behavior based on building types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007583082000001
    Figure 0007583082000001
  • Figure 0007583082000002
    Figure 0007583082000002
  • Figure 0007583082000003
    Figure 0007583082000003
Patent Text Reader

Abstract

To provide a natural language processing system, a natural language processing method and a natural language processing program, which estimates using a learning model a building type of a building located at an address.SOLUTION: A natural language processing system 10 includes: a first processing unit having a building type estimation unit that acquires address information and inputs the address information into a learning model having learned through machine-learning to estimate an estimated building type of a building located at an address indicated by the address information; a second processing unit having a building type identification unit that uses a predetermined rule to identify an identified building type from the address information; and a building type determination unit that determines a building type on the basis of the estimated building type and the identified building type.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a natural language processing system, a natural language processing method, and a natural language processing program, and in particular to a technique for estimating information related to address information based on the address information. [Background technology]

[0002] Conventionally, a technology has been developed that uses address information and a trained model to estimate information related to the address information. For example, Patent Document 1 discloses a technology that uses address information and a trained model to determine whether the address information is false address information. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Special Publication No. 2020-502673 Summary of the Invention [Problem to be solved by the invention]

[0004] According to the technology disclosed in Patent Document 1, by determining whether the address information is false or not, the reliability of the address information is ensured, and the safety of the execution of the logistics service can be improved. Meanwhile, in the case of logistics services, information on the building type (e.g., a building, a house, etc.) of the building located at the address indicated by the address information can also contribute to the safety of the execution of the service. In addition, not limited to logistics services, for example, when multiple users living in buildings of the same building type subscribe to or cancel any service at the same time, by grasping the building type, the relationship between the user's behavior and the building type can be analyzed, which can be useful for further development of services. However, conventionally, there has been no technology for estimating the building type located at the address indicated by the address information from the address information using a trained model.

[0005] The present invention has been made in consideration of the above-mentioned problems, and aims to estimate the building type of a building located at an address using a learning model. [Means for solving the problem]

[0006] In order to solve the above problem, one aspect of a natural language processing system according to the present invention includes an acquisition unit that acquires address information, and an estimation unit that estimates a building type of a building located at an address indicated by the address information by inputting the address information into a learning model that has been trained through machine learning.

[0007] In order to solve the above problem, one aspect of a natural language processing method according to the present invention includes acquiring address information, and inputting the address information into a learning model that has been trained by machine learning, thereby estimating a building type of a building located at an address indicated by the address information.

[0008] In order to solve the above problems, one aspect of the natural language processing program according to the present invention is a natural language processing program for causing a computer to execute natural language processing, the program causing the computer to execute processes including an acquisition process for acquiring address information, and an estimation process for estimating the building type of a building located at an address indicated by the address information by inputting the address information into a learning model that has been trained by machine learning. Effect of the Invention

[0009] According to the present invention, it is possible to estimate the building type of a building located at an address using a learning model. The above-mentioned objects, aspects, and advantages of the present invention, as well as objects, aspects, and advantages of the present invention not described above, will be understood by those skilled in the art from the following detailed description of the invention by referring to the accompanying drawings and the claims. [Brief description of the drawings]

[0010] [Figure 1]FIG. 1 shows an example of the configuration of a natural language processing system according to an embodiment. [Diagram 2] FIG. 2 illustrates an example of a hardware configuration of an information processing device according to an embodiment. [Figure 3A] FIG. 3A shows an example of an estimation procedure using a building type estimation model. [Figure 3B] FIG. 3B shows another example of an estimation procedure using a building type estimation model. [Figure 3C] FIG. 3C shows another example of an estimation procedure using a building type estimation model. [Figure 4] FIG. 4 shows a specific example of estimating a building type from address information. [Diagram 5] FIG. 5 shows examples of building types identified by address information. [Figure 6] FIG. 6 shows a flowchart of the overall process executed by the natural language processing system. [Figure 7A] FIG. 7A shows a flowchart of a first example of a building type determination process. [Figure 7B] FIG. 7B shows a flowchart of a second example of the building type determination process. [Figure 7C] FIG. 7C shows a flowchart of a third example of the building type determination process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, with reference to the attached drawings, an embodiment for carrying out the present invention will be described in detail. Among the components disclosed below, those having the same functions are given the same reference numerals, and their description will be omitted. Note that the embodiment disclosed below is an example of a means for realizing the present invention, and should be appropriately modified or changed depending on the configuration of the device to which the present invention is applied and various conditions, and the present invention is not limited to the following embodiment. Furthermore, not all of the combinations of features described in the present embodiment are necessarily essential to the solution of the present invention.

[0012] [Configuration of natural language processing system] 1 shows an example of the configuration of a natural language processing (NLP) system 10 according to this embodiment. The natural language processing system 10 shown in FIG. 1 includes an address information acquisition unit 100, a first processing unit 110, a second processing unit 120, a learning processing unit 130, and a building type determination unit 140.

[0013] The natural language processing system 10 is configured using one or more information processing devices. The address information acquisition unit 100, the first processing unit 110, the second processing unit 120, the learning processing unit 130, and the building type determination unit 140 shown in FIG. 1 may be configured in one information processing device, or may be configured in a distributed manner in multiple information processing devices. The information processing device may be, for example, a device such as a desktop personal computer (PC), a notebook PC, a tablet, or a general-purpose machine. In addition, all or a part of the information processing device may be realized in, for example, a virtual server built in a cloud server.

[0014] The address information acquiring unit 100 accepts input information including an address and acquires address information. For example, the address information acquiring unit 100 accepts input information from an operator (user) and acquires address information. Alternatively, the address information acquiring unit 100 may accept input information set in advance in the natural language processing system 10 according to a predetermined program and acquire address information.

[0015] The address information may indicate a delivery address corresponding to product information that is the subject of a transaction process in an electronic commerce system (electronic commerce platform) that is configured by an information processing device that can communicate with the information processing device that configures the natural language processing system 10. In this case, the address information acquisition unit 100 may acquire address information from the electronic commerce system instead of accepting input information including an address by a user, or may accept input of address information by the electronic commerce system. In addition, the address information acquisition unit 100 may acquire address information corresponding to a product on the condition that a transaction is concluded in the electronic commerce system.

[0016] In this embodiment, the address information acquiring unit 100 is configured to acquire address information composed of text information (character strings). Therefore, when the accepted input information is composed of text information representing an address, the address information acquiring unit 100 acquires the accepted information itself as address information. When the accepted input information is composed of text information representing an address and text information other than the address or image information, the address information acquiring unit 100 may extract text information (text portion) representing the address from the accepted input information to acquire the address information. When the accepted input information is voice information, the address information acquiring unit 100 converts the accepted voice information into text information (i.e., transcribes the voice information) and acquires the converted information as address information. The conversion from voice information to text information may be performed by using a known voice recognition function or the like.

[0017] The address information acquisition unit 100 outputs the acquired address information to the first processing unit 110 and the second processing unit 120. The first processing unit 110 is configured to estimate the building type of the building located at the address indicated by the address information acquired by the address information acquisition unit 100, based on the address information and a learning model. On the other hand, the second processing unit 120 is configured to identify the building type of the building located at the address indicated by the address information acquired by the address information acquisition unit 100, based on a rule, from the address information acquired by the address information acquisition unit 100.

[0018] The first processing unit 110 is a processing unit that estimates a building type of a building located at an address indicated by the address information input from the address information acquisition unit 100, based on the address information and a learning model. The first processing unit 110 includes a building type estimation unit 111, a position information acquisition unit 112, an area information acquisition unit 113, and a learning model storage unit 114. The learning model storage unit 114 stores a building type estimation model 115. The building type estimation model 115 is a learning model for machine learning.

[0019] The building type estimation unit 111 uses the building type estimation model 115 to estimate the building type of a building located at the address indicated by the address information input by the address information acquisition unit 100. The building type estimation model 115 is a learning model configured to estimate (predict) and output the building type of a building located at the address indicated by the address information input by the address information acquisition unit 100, based on the address information. In this embodiment, the building types are assumed to be three types: "business building", "unit building", and "house". "Business building" is a building whose main purpose is an office, and includes offices and company buildings. "Unit building" is a building whose main purpose is the residence of multiple households, and includes buildings, condominiums, and apartments (residences) having multiple residential sections (individually occupied spaces). "House" is a building whose main purpose is the residence of a single household, and includes individual homes and detached houses.

[0020] The location information acquisition unit 112 acquires location information of the address indicated by the address information input from the address information acquisition unit 100. For example, the location information acquisition unit 112 may acquire the latitude and longitude corresponding to the address as location information using a map service or a location information service on the Internet. Alternatively, the location information acquisition unit 112 may acquire the coordinates corresponding to the address in a preset two-dimensional or three-dimensional space as location information. The location information may be numerical information.

[0021] The area information acquisition unit 113 acquires, from the address information input by the address information acquisition unit 100, information on the area of ​​the address indicated by the address information as area information. For example, the area information acquisition unit 113 acquires at least one of the zoning to which the address belongs, the nearest station to the address, and the distance from the nearest station to the address. The zoning means an area that specifies the use of buildings that can be constructed, and indicates, for example, whether the area of ​​the address is a residential zoning, a commercial zoning, or an industrial zoning. The area information acquisition unit 113 may acquire the zoning by searching a specified database using the address. In addition, the area information acquisition unit 113 may acquire the nearest station to the address and the distance from the nearest station to the address using a map service or a location information service on the Internet. The nearest station is a station that satisfies the condition that it is within a specified distance from the address. If there are multiple stations that satisfy the condition, i.e., if there are multiple nearest stations, the area information acquisition unit 113 may acquire the multiple nearest stations and the distance from each of the nearest stations to the address as area information.

[0022] The building type estimation unit 111 may be configured to estimate the building type using at least one of the location information acquired by the location information acquisition unit 112 and the area information acquired by the area information acquisition unit 113 in addition to the address information. The building type estimation model 115 and an estimation procedure using the building type estimation model 115 will be described later. The building type estimation unit 111 outputs the estimated building type to the building type determination unit 140.

[0023] The second processing unit 120 is a processing unit that identifies, based on rules, the building type of a building located at an address indicated by the address information input from the address information acquisition unit 100. The second processing unit 120 includes a building type identification unit 121 and a rule storage unit 122. The rule storage unit 122 stores building type identification rules 123.

[0024] The building type identification unit 121 analyzes the address information input from the address information acquisition unit 100, and identifies the building type of the building located at the address based on the building type identification rules 123 stored in the rule storage unit 122. The rule-based building type identification procedure will be described later. The building type identification unit 121 outputs the identified building type to the building type determination unit 140. Furthermore, the building type identification unit 121 may output the identified building type to the first processing unit 110.

[0025] The learning processing unit 130 is a processing unit that trains the building type estimation model 115. The learning processing unit 130 includes a learning data acquisition unit 131, a learning unit 132, and a learning data storage unit 133. The learning data storage unit 133 stores the learning data acquired by the learning data acquisition unit 131.

[0026] The learning data acquisition unit 131 acquires learning data 134 necessary for training the building type estimation model 115, and stores it in the learning data storage unit 133. In this embodiment, the learning data 134 includes data previously acquired by the natural language processing system 10 and a building type as correct answer data. For example, the learning data 134 includes address information previously acquired by the address information acquisition unit 100 and correct answer data of the building type of a building located at an address indicated by the address information. Furthermore, the learning data 134 may include location information acquired by the location information acquisition unit 112 based on the address information, and area information acquired by the area information acquisition unit 113. Furthermore, the learning data 134 may include a building type identified by the building type identification unit 121 based on the address information. The learning data acquisition unit 131 may acquire the learning data 134 from the address information acquisition unit 100, the first processing unit 110, and the second processing unit 120, may acquire the learning data 134 by input from an operator (user), or may acquire the learning data 134 from an external device. The learning unit 132 uses the learning data 134 to train the building type estimation model 115 .

[0027] The building type determination unit 140 determines a final building type based on the building type estimated by the building type estimation unit 111 of the first processing unit 110 and the building type identified by the building type identification unit 121 of the second processing unit 120. The procedure for determining the building type will be described later. The building type determination unit 140 may be configured to output the determined building type.

[0028] [Hardware configuration of information processing device] The natural language processing system 10 is configured using one or more information processing devices. Fig. 2 is a block diagram showing an example of a hardware configuration of an information processing device 20 according to this embodiment. The information processing device 20 can be implemented on a single or multiple computers, mobile devices, or any other processing platform. 2, the information processing device 20 is illustrated as being implemented in a single computer, but the information processing device 20 according to the present embodiment may be implemented in a computer system including multiple computers. The multiple computers may be connected to each other via a wired or wireless network so as to be able to communicate with each other.

[0029] 2, the information processing device 20 may include a CPU (Central Processing Unit) 21, a ROM (Read Only Memory) 22, a RAM (Random Access Memory) 23, a HDD (Hard Disk Drive) 24, an input unit 25, a display unit 26, a communication I / F 27, and a system bus 28. The information processing device 20 may also include an external memory. The CPU 21 generally controls the operation of the information processing device 20, and controls each of the components (22 to 27) via a system bus 28, which is a data transmission path.

[0030] The ROM 22 is a non-volatile memory that stores control programs and the like necessary for the CPU 21 to execute processes. Note that the programs may be stored in a non-volatile memory such as the HDD 24 or an SSD (Solid State Drive) or an external memory such as a removable storage medium (not shown). The RAM 23 is a volatile memory and functions as a main memory, a work area, etc. of the CPU 21. That is, the CPU 21 loads necessary programs, etc. from the ROM 22 to the RAM 23 when executing processing, and realizes various functional operations by executing the programs, etc. The learning model storage unit 114, the rule storage unit 122, and the learning data storage unit 133 shown in FIG. 1 can be configured by the RAM 23.

[0031] The HDD 24 stores, for example, various data and various information required when the CPU 21 performs processing using a program. The HDD 24 also stores, for example, various data and various information obtained when the CPU 21 performs processing using a program. The input unit 25 is composed of a keyboard and a pointing device such as a mouse. The display unit 26 is configured with a monitor such as a liquid crystal display (LCD), etc. The display unit 26 may be configured in combination with the input unit 25 to function as a GUI (Graphical User Interface).

[0032] The communication I / F 27 is an interface that controls communication between the information processing device 20 and an external device. The communication I / F 27 provides an interface with a network and executes communication with an external device via the network. Various data, various parameters, etc. are transmitted and received between the external device and the communication I / F 27. In this embodiment, the communication I / F 27 may execute communication via a wired LAN (Local Area Network) or a dedicated line conforming to a communication standard such as Ethernet (registered trademark). However, the network available in this embodiment is not limited to this, and may be configured as a wireless network. This wireless network includes wireless PANs (Personal Area Networks) such as Bluetooth (registered trademark), ZigBee (registered trademark), and UWB (Ultra Wide Band). It also includes wireless LANs (Local Area Networks) such as Wi-Fi (Wireless Fidelity) (registered trademark), and wireless MANs (Metropolitan Area Networks) such as WiMAX (registered trademark). It also includes wireless WANs (Wide Area Networks) such as 4G and 5G defined by 3GPP (Third Generation Partnership Project) (registered trademark). It should be noted that the network is sufficient as long as it can connect the devices to each other so that they can communicate with each other, and the communication standard, scale, and configuration are not limited to those described above.

[0033] At least some of the functions of the natural language processing system 10 shown in Fig. 1 can be realized by executing a program by the CPU 21 in the information processing device 20. However, at least some of the functions of the natural language processing system 10 shown in Fig. 1 may be operated as dedicated hardware. In this case, the dedicated hardware may operate under the control of the CPU 21.

[0034] [Estimation procedure using building type estimation model] Next, the building type estimation model 115 and an estimation procedure using the building type estimation model 115 will be described. FIG. 3A shows an example of an estimation procedure using the building type estimation model 115. The building type estimation model 115 shown in FIG. 3A is a trained learning model in which machine learning (including fine-tuning) is performed by the learning unit 132 using address information and building types included in the training data 134. As shown in FIG. 3A, the building type estimation model 115 is composed of an encoder (encoder model) 116 and a classifier (classification model) 117. The encoder 116 generates a distributed representation (also called a vector representation, word embedding, etc.) of each token (small unit such as a word) of the input address information (i.e., text information). The classifier 117 estimates the building type 21 from the distributed representation.

[0035] Specifically, the encoder 116 divides (tokenizes) the address information into a plurality of tokens (small units such as words) and generates a distributed representation of each token. The distributed representation can be generated using a natural language processing (NLP) model such as BERT (Bidirectional Encoder Representations from Transformers), Word2Vec, GloVe (Global Vectors for Word Representation), FastText, etc. In other words, the building type estimation model 115 can be configured using a natural language processing model. The classifier 117 estimates and outputs a building type from the distributed representation generated by the encoder 116. In this embodiment, the classifier 117 estimates (classifies) the probability (likelihood, probability) that the distributed representation corresponds to each of a "business building", a "unit building", and a "house". Then, the classifier 117 estimates and outputs the building type with the highest probability as the building type located at the address indicated by the input address information. The classifier 117 is configured, for example, with an FFNN (Feed-Forward Neural Network) model.

[0036] FIG. 4 shows a specific example of estimating a building type from address information. First, the building type estimation unit 111 inputs address information 40, "1-2-3 D Town, ABC Ward, Tokyo, inside abc Co., Ltd." to the building type estimation model 115. The encoder 116 in the building type estimation model 115 divides the address information 40 into a plurality of tokens 41. For example, the address information 40 is divided into a plurality of tokens 41 including "Tokyo", "ABC Ward", "D Town", "1-2-3", "Inc.", "abc", and "inside". The encoder 116 further performs natural language processing such as BERT on the plurality of tokens 41 to generate a distributed representation 42 of each token. When BERT is used to generate a distributed representation, the address information (character string) is learned in both directions, so that it is possible to generate a distributed representation after analyzing the context of the address information. Furthermore, the classifier 117 estimates a building type 43 from the distributed representation 42. In this embodiment, the classifier 117 estimates the type of building located at the address indicated by the address information 40 from three building types: "business building," "unit building," and "house." 4 An example is shown in which a "business building" is inferred from address information 40.

[0037] 3A is configured to estimate the building type 31 from address information 30 as input data, but may be configured to estimate the building type 31 using additional input data. Two examples will be described below.

[0038] A first example of an estimation process using additional input data will be described with reference to FIG. 3B. FIG. 3B shows another example of an estimation procedure using a building type estimation model 115. As shown in FIG. 3B, the classifier 117 is configured to estimate a building type 31 using a building type 33 identified by the building type identification unit 121 based on the address information 30 as additional input data 32. That is, the classifier 117 is configured to estimate a building type 31 using the identified building type 33 in addition to the input (distributed representation) from the encoder 116. The building type estimation model 115 shown in FIG. 3B is a trained learning model in which machine learning (including fine-tuning) is performed by the learning unit 132. In the learning stage, machine learning is performed using the address information, building type, and identified building type included in the learning data 134.

[0039] 3B, it is possible to estimate the building type taking into consideration the building type identified by the building type identification unit 121. That is, the classifier 117 is able to estimate the building type according to the weight (gradient) of the building type identified by the building type identification unit 121.

[0040] A second example of the estimation process using additional input data will be described with reference to FIG. 3C. FIG. 3C shows another example of the estimation procedure using the building type estimation model 115. As shown in FIG. 3C, the classifier 117 is configured to estimate the building type 31 based on the address information 30 using the location information 34 acquired by the location information acquisition unit 112 and the area information 35 acquired by the area information acquisition unit 113 as the additional input data 32. That is, the classifier 117 is configured to estimate the building type 31 using the location information 34 and the area information 35 in addition to the input (distributed representation) from the encoder 116. The building type estimation model 115 shown in FIG. 3C is a trained learning model in which machine learning (including fine tuning) is performed by the learning unit 132. In the learning stage, machine learning is performed using the address information, building type, location information, and area information included in the learning data 134.

[0041] 3C, it is possible to estimate the building type taking into consideration the location information acquired by the location information acquisition unit 112 and the area acquired by the area information acquisition unit 113. That is, the classifier 117 is able to estimate the building type according to the location information acquired by the location information acquisition unit 112 and the weight (gradient) by the area acquired by the area information acquisition unit 113. Note that, although both the location information and the area information are input to the classifier 117 as the additional input data 32 in FIG. 3C, the classifier 117 may be configured to input either one of the pieces of information.

[0042] Furthermore, without being limited to the above, the building type estimation model 115 may be configured such that any combination of the identified building type 33 shown in Fig. 3B and the location information 34 and area information 35 shown in Fig. 3C is input to the classifier 117. In this case, in the learning stage, machine learning is performed using information included in the learning data 134 and corresponding to the data input to the building type estimation model 115.

[0043] [Rule-based building type identification procedure] Next, a description will be given of the procedure of the building type identification process by the building type identification unit 121. In this embodiment, the building type identification unit 121 identifies the building type based on the building type identification rules 123 stored in the rule storage unit 122. Specifically, the building type identification unit 121 applies the address information (i.e., the character string of the address) to the building type identification rules 123 to identify the building type.

[0044] The building type identification rules 123 are pre-created rules for identifying building types based on the characteristics of address information. Note that the building type identification rules 123 described in this embodiment are only an example, and although there may be cases where they do not match actual examples of combinations of addresses and building types, any rule capable of identifying a building type can be used. For example, a building type may be identified depending on whether or not the address information has a specific keyword. Also, new rules may be added to the building type identification rules 123.

[0045] The building type identification rules 123 according to this embodiment include nine types of rules, (1) to (9). The rules (1) to (9) are configured so that the building type is identified based on the characteristics of the address information. (1) If the address information includes a "corporation," the building type is identified as a "business building." Example: "1-2-3 D-cho, ABC-shi, Osaka Prefecture, inside abc Co., Ltd." is identified as a "business building."

[0046] (2) If the address information includes "building" and includes three digits after the "building," the building type is identified as "unit building." Example: "303 abc building, 1-2-3 D-cho, ABC-ku, Tokyo" is identified as a "unit building."

[0047] (3) If the address information contains "building" but does not contain three digits after the "building," the building type is identified as "business building." Example: "5th floor, abc building, 1-2-3, D-cho, ABC-ku, Tokyo" is identified as a "business building."

[0048] (4) If the address information includes the final number "gou", the building type is identified as "unit building". Example: "Residence abc 303, 1-2-3 D-cho, ABC-shi, Osaka Prefecture" is identified as a "unit building."

[0049] (5) If the address information contains an “x1-x2-x3” format, where “x3” is not a three or four digit number, the building type is identified as “home.” Example: "1-234-5 D-cho, ABC City, Saitama Prefecture" is identified as a "house."

[0050] (6) If the address information contains the “x1-x2” format, the building type is identified as “unit building.” Example: "DE123-4, ABC-cho, Kanagawa Prefecture" is identified as a "unit building."

[0051] (7) If the address information contains a single digit and ends with that digit, the building type is identified as “home.” Example: "1234 D-cho, ABC-shi, Chiba Prefecture" is identified as "house."

[0052] (8) If the address information contains the format "x1-x2-x3" or "x1-x2-x3-x4" where "x3" or "x4" is a three or four digit number, the building type is identified as a "unit building." Example: "FG1-2-3-303, DE Ward, ABC City, Fukuoka Prefecture" is identified as a "unit building."

[0053] (9) If the address information contains an address in the format "x1-x2-x3" or "x1-x2-x3-x4" that also contains a trailing digit in addition to the format, the building type is identified as a "unit building." Example: "Residence abc 303, DE1-2-3, ABC City, Kanagawa Prefecture" is identified as a "unit building."

[0054] In addition, the building type identification unit 121 can be configured to recognize "x1-x2-x3" in the above rule as the same string as variations such as "x1-chome x banchi x 3" or "x1-chome x 2-x3." In addition, the building type identification unit 121 can be configured to recognize, in the above rules, "x1-x2-x3-x4" as the same string as variations such as "x1-chome x banchi 2 x no. 3 (building name) x 4" or "x1-chome x 2-x3 (building name) x 4."

[0055] Figure 5 shows examples of address information 50 listed in the above rules (1) to (9) and building types 51 identified by the address information. As shown in Figure 5, the address information 50 is classified into one of the building types 51, "business building," "unit building," and "house," according to the characteristics of the address information.

[0056] For an address whose building type cannot be identified by the above rules (1) to (9), the building type identification unit 105 may identify the building type of the address as a predetermined building type such as "house." Alternatively, for an address whose building type cannot be identified by the above rules (1) to (9), the building type identification unit 105 may identify the building type of the address as "unknown type."

[0057] Also, rules (1) to (9) may be applicable to some areas, such as Tokyo, but may not be applicable to other areas. Therefore, rules other than rules (1) to (9) may be created and applied to other areas. Even in areas within Tokyo, rules other than rules (1) to (9) may be created and applied.

[0058] [Overall process flow] 6 shows a flowchart of the entire process executed in the natural language processing system 10 according to this embodiment. It is assumed that the learning model storage unit 114 stores a trained building type estimation model 115 that has been machine-learned by the learning unit 132. In this example, it is assumed that there are three building types: "business building", "unit building", and "house".

[0059] In S61, the address information acquisition unit 100 accepts input information including an address and acquires address information composed of text information. When the accepted input information is composed of text information representing an address, the address information acquisition unit 100 acquires the accepted information itself as address information. When the accepted input information is composed of text information representing an address and text information other than the address or image information, the address information acquisition unit 100 may extract text information (text portion) representing the address from the accepted input information to acquire address information. When the accepted input information is audio information, the address information acquisition unit 100 converts the accepted audio information into text information (i.e., transcribes it), and acquires the converted information as address information. The address information acquisition unit 100 outputs the acquired address information to the first processing unit 110 and the second processing unit 120.

[0060] In S62, the building type estimation unit 111 in the first processing unit 110 inputs the address information acquired from the address information acquisition unit 100 to the building type estimation model 115 to estimate the building type of the building located at the address indicated by the address information. The procedure for estimating the building type is as described above. For example, as shown in FIG. 3A, the building type estimation unit 111 inputs the address information to the building type estimation model 115 to estimate the building type. Alternatively, as shown in FIG. 3B, the building type estimation unit 111 may input the address information and the building type identified in S63 (described later) to the building type estimation model 115 to estimate the building type. Alternatively, as shown in FIG. 3C, the building type estimation unit 111 may input the address information and at least one of the estimated building type, the location information acquired by the location information acquisition unit 112, and the area information acquired by the area information acquisition unit 113 to the building type estimation model 115 to estimate the building type. Furthermore, the building type estimation unit 111 may input a combination of the address information and at least one of the building type, the location information, and the area information to the building type estimation model 115 to estimate the building type. The building type estimation unit 111 outputs the building type estimated in S62 to the building type determination unit 140 as an estimated building type.

[0061] In S63, the building type identification unit 121 in the second processing unit 120 uses the building type identification rule 123 to identify the type of building located at the address indicated by the address information acquired from the address information acquisition unit 100. The building type identification procedure is as described above. The building type identification unit 121 identifies one of a "business building", a "unit building", and a "house" from the address information. The building type identification unit 121 outputs the building type identified in S63 to the building type determination unit 140 as an identified building type.

[0062] The building type estimation process in S62 and the building type identification process in S63 may be performed simultaneously, or one of them may be performed first. However, when the building type identified in S63 is used in the building type estimation process in S62, the process in S63 is performed first.

[0063] In S64, the building type determination unit 140 determines a final building type based on the estimated building type and the identified building type. The building type determination process in S64 will be described with reference to Figures 7A to 7C.

[0064] FIG. 7A shows a flowchart of a first example of the building type determination process. In the first example, priorities are set in advance for the building types that the estimated building type and the identified building type can take, and when the estimated building type and the identified building type differ, the building type is determined according to the priorities. It is assumed that the building type determination unit 140 has previously acquired setting information related to the priorities. In this embodiment, it is assumed that the priorities for the building types are set so that "house" has the highest priority, "business building" has the second priority, and "unit building" has the third priority.

[0065] In FIG. 7A, the building type determination unit 140 judges whether the estimated building type and the identified building type are the same (S71). If the estimated building type and the identified building type are the same (Yes in S71), the building type determination unit 140 determines the estimated building type (or the identified building type) as the final building type (S72). On the other hand, if the estimated building type and the identified building type are different (No in S71), the building type determination unit 140 determines the building type with the higher priority among the estimated building type and the identified building type as the final building type according to a preset priority (S73). For example, if the estimated building type is a "unit building" and the identified building type is a "business building", the "business building" is determined as the final building type according to a preset priority.

[0066] 7B shows a flowchart of a second example of the building type determination process. In the second example, it is set in advance which of the estimated building type and the identified building type is to be prioritized when the estimated building type and the identified building type are different, and the building type is determined according to the setting regarding the priority. It is assumed that the building type determination unit 140 has acquired setting information regarding the priority in advance. In this embodiment, it is assumed that the setting is made to prioritize the identified building type. In other words, when the estimated building type and the identified building type are different, the identified building type is to be prioritized over the estimated building type.

[0067] In Fig. 7B, the processes of S71 and S72 are the same as those in Fig. 7A, and therefore the description thereof will be omitted. If the estimated building type and the identified building type are different (No in S71), the building type determination unit 140 performs the following according to the setting regarding the priority: identification The building type is determined as the final building type (S74).

[0068] 7C shows a flowchart of a third example of the building type determination process. In the third example, when the estimated building type and the identified building type are different, the operator is notified that the estimated building type and the identified building type are different, and the operator determines the final building type.

[0069] In FIG. 7C, the processes of S71 and S72 are the same as those in FIG. 7A, and therefore the description thereof will be omitted. If the estimated building type and the identified building type are different (No in S71), the building type determination unit 140 outputs a message prompting the operator to perform a manual operation (S75). The message may include address information. For example, the operator can visually determine the building type located at the address indicated by the address information in the message output in S75, using a map service or the like. If an instruction is given by the operator after the message is output (for example, the operator inputs a building type), the building type determination unit 140 determines the specified building type as the final building type (S76).

[0070] Returning to the explanation of FIG. 6, once the final building type is determined in S64, the process proceeds to S65. In S65, the building type determination unit 140 outputs the final building type. For example, the building type determination unit 140 may output the final building type to an external device (not shown).

[0071] In this way, according to the present embodiment, the building type of the building located at the address indicated by the address information can be estimated from the address information composed of text using a trained learning model constructed using a natural language processing model. Furthermore, to complement the estimation process, the building type of the building located at the address indicated by the address information is identified on a rule basis, and the final building type is determined based on the estimation result and the identification result. This increases the accuracy of the building type determined based on the address information, and is expected to improve the reliability of services using the building type.

[0072] Although the above describes certain embodiments, the embodiments are merely illustrative and are not intended to limit the scope of the present invention. The apparatus and method described in this specification can be embodied in forms other than those described above. Furthermore, the above-described embodiments can be appropriately omitted, substituted, and modified without departing from the scope of the present invention. Such omitted, substituted, and modified forms are included in the scope of the claims and their equivalents, and belong to the technical scope of the present invention.

[0073] The disclosure of this embodiment includes the following configuration. [1] A natural language processing system having an acquisition unit that acquires address information, and an estimation unit that estimates a building type of a building located at an address indicated by the address information by inputting the address information into a learning model that has been trained by machine learning.

[0074] [2] The natural language processing system according to [1], further comprising an identification unit that identifies the building type from the address information using predetermined rules.

[0075] [3] The natural language processing system described in [2], further comprising a determination unit that determines the building type based on a first building type indicating the building type estimated by the estimation unit and a second building type indicating the building type identified by the identification unit.

[0076] [4] The natural language processing system described in [3], wherein when the first building type and the second building type are the same, the determination unit determines the first building type or the second building type as the building type.

[0077] [5] A natural language processing system as described in [3] or [4], wherein a priority is set for each of multiple building types that the first building type and the second building type can take, and when the first building type and the second building type are different, the determination unit determines the building type having the higher priority among the first building type and the second building type as the building type.

[0078] [6] The natural language processing system described in [3] or [4], wherein when the first building type and the second building type are different, the determination unit determines the second building type as the building type.

[0079] [7] A natural language processing system as described in [3] or [4], wherein when the first building type and the second building type are different, the determination unit determines the building type indicated by an operator as the building type.

[0080] [8] The natural language processing system described in any of [3] to [7], wherein the estimation unit estimates the building type by inputting the address information and the second building type into the learning model.

[0081] [9] A natural language processing system according to any of [3] to [8], further comprising a location information acquisition unit that acquires location information of the address indicated by the address information, wherein the estimation unit estimates the building type by inputting the address information and the location information into the learning model.

[0082]

[10] A natural language processing system according to any of [3] to [9], further comprising an area information acquisition unit that acquires, as area information, at least one of the following: a land use district to which the address indicated by the address information belongs, the nearest station to the address, and the distance from the nearest station to the address; and the estimation unit estimates the building type by inputting the address information and the area information into the learning model.

[0083]

[11] The natural language processing system according to any one of [1] to

[10] , wherein the learning model is constructed using a natural language processing model.

[0084]

[12] A natural language processing method comprising: acquiring address information; and inputting the address information into a learning model trained by machine learning, thereby estimating a building type of a building located at an address indicated by the address information.

[0085]

[13] A natural language processing program for causing a computer to execute natural language processing, the program causing the computer to execute processes including an acquisition process for acquiring address information, and an estimation process for estimating a building type of a building located at an address indicated by the address information by inputting the address information into a learning model that has been trained by machine learning. [Explanation of symbols]

[0086] 10: natural language processing system, 100: address information acquisition unit, 110: first processing unit, 111: building type estimation unit, 112: location information acquisition unit, 113: area information acquisition unit, 114: learning model storage unit, 115: building type estimation model, 120: second processing unit, 121: building type identification unit, 122: rule storage unit, 123: building type identification rule, 130: learning processing unit, 131: learning data acquisition unit, 132: learning unit, 133: learning data storage unit, 134: learning data, 140: building type determination unit

Claims

1. An acquisition unit for acquiring address information; an estimation unit that estimates a building type of a building located at an address indicated by the address information by inputting the address information into a learning model that has been trained by machine learning; having The learning model is composed of an encoder and a classifier, The estimation unit is inputting the address information into the encoder, splitting the address information into a plurality of tokens, and generating a distributed representation of each token; The distributed representation is input to the classifier to estimate a probability that the distributed representation corresponds to each of a plurality of predefined building types; estimating the building type based on the probability; Natural language processing system.

2. An identification unit that identifies a building type from the address information by using a predetermined rule that is created in advance for identifying a building type of the reference address information based on characteristics of the reference address information; a determination unit that determines the building type based on a first building type indicating the building type estimated by the estimation unit and a second building type indicating the building type identified by the identification unit, The natural language processing system according to claim 1 .

3. When the first building type and the second building type are the same, the determination unit determines the first building type or the second building type as the building type. The natural language processing system according to claim 2 .

4. a priority is set for each of a plurality of building types that can be the first building type and the second building type; When the first building type and the second building type are different, the determination unit determines, as the building type, a building type having a higher priority among the first building type and the second building type. The natural language processing system according to claim 2 .

5. When the first building type and the second building type are different, the determination unit determines the second building type as the building type. The natural language processing system according to claim 2 .

6. When the first building type and the second building type are different, the determination unit determines the building type designated by an operator as the building type. The natural language processing system according to claim 2 .

7. The estimation unit is inputting the distributed representation and the second building type into the classifier to estimate a second probability that the building type corresponds to each of a plurality of predefined building types; estimating the building type based on the second probability; The natural language processing system according to claim 2 .

8. A location information acquisition unit that acquires location information of an address indicated by the address information, The estimation unit is inputting the distributed representation and the location information into the classifier to estimate a third probability that corresponds to each of a plurality of predefined building types; estimating the building type based on the third probability; The natural language processing system according to claim 2 .

9. An area information acquisition unit that acquires, as area information, at least one of a land use district to which the address indicated by the address information belongs, a nearest station to the address, and a distance from the nearest station to the address, The estimation unit is inputting the distributed representation and the area information into the classifier to estimate a fourth probability that the area corresponds to each of a plurality of predefined building types; estimating the building type based on the fourth probability; The natural language processing system according to claim 2 .

10. The learning model is configured using a natural language processing model. The natural language processing system according to claim 1 .

11. A natural language processing method executed by an information processing device, comprising: Obtaining address information; inputting the address information into a learning model trained by machine learning to estimate a building type of a building located at an address indicated by the address information; Including, The learning model is composed of an encoder and a classifier, The estimating step comprises: inputting the address information into the encoder, splitting the address information into a plurality of tokens, and generating a distributed representation of each token; The distributed representation is input to the classifier to estimate a probability that the distributed representation corresponds to each of a plurality of predefined building types; estimating the building type based on the probability. Natural language processing methods.

12. A natural language processing program for causing a computer to execute natural language processing, the program comprising: An acquisition process for acquiring address information; and an estimation process of estimating a building type of a building located at an address indicated by the address information by inputting the address information into a learning model that has been trained by machine learning, The learning model is composed of an encoder and a classifier, The estimation process includes: inputting the address information into the encoder, splitting the address information into a plurality of tokens, and generating a distributed representation of each token; The distributed representation is input to the classifier to estimate a probability that the distributed representation corresponds to each of a plurality of predefined building types; estimating the building type based on the probability. Natural language processing program.

Citation Information

Patent Citations

  • Address recognizing device, recording medium and program

    JP2002157553A

  • Method and device for identifying false address information

    JP2020502673A