WO2021010290A1 - Search device - Google Patents
Search device Download PDFInfo
- Publication number
- WO2021010290A1 WO2021010290A1 PCT/JP2020/026901 JP2020026901W WO2021010290A1 WO 2021010290 A1 WO2021010290 A1 WO 2021010290A1 JP 2020026901 W JP2020026901 W JP 2020026901W WO 2021010290 A1 WO2021010290 A1 WO 2021010290A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- search
- query
- information
- attribute
- facility
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Definitions
- the present invention relates to a search device.
- the query consisting of the input character string is decomposed into morphemes and included in the query for the facility name of the registered facility information.
- the facility information extracted based on the degree of matching with respect to the morpheme is output as a search result.
- a technique for searching for points there is known a technique for performing a search based on search conditions set based on keywords entered by the user as he / she thinks (see, for example, Patent Document 1).
- words and phrases indicating the attributes of the facility as illustrated in the facility category and place name may be input. Even if such a phrase is searched as a query for the facility name, the phrase indicating the attribute is not always included in the facility name, so that the search result desired by the user cannot be obtained. It was.
- the present invention has been made in view of the above problems, and an object of the present invention is to obtain a search result in line with the intention of the user in the search of facility information.
- the search device is a search device that indicates a specific point and searches for facility information associated with attribute information for each of one or more predetermined attribute fields. Based on the acquisition unit that acquires the search query, the extraction unit that extracts the character string as a specific query when the search query contains the character string corresponding to the attribute element corresponding to the attribute field, and the specific query. A search unit that performs a search for the attribute information of the attribute field corresponding to the corresponding attribute element of the specific query as the first search, and an output unit that outputs facility information based on the result of the first search. Be prepared.
- the attribute element corresponding to the attribute field in the facility information is extracted as a specific query from the search query.
- the character string that can be included as the attribute information of the attribute field is extracted as a specific query.
- the facility information is output based on the search result for the attribute information of the attribute field corresponding to the specific query. Therefore, based on the phrase included in the search query, the search is performed for the appropriate attribute field corresponding to the phrase, so that it is possible to obtain the search result according to the user's intention.
- FIG. 5A is a diagram showing an example of a place name dictionary that stores the names of prefectures.
- FIG. 5B is a diagram showing an example of a place name dictionary that stores the names of cities, wards, towns, and villages. It is a figure which shows the example of the place name information which is the place name information stored in the place name information storage part, and the geographical range is associated with each place name.
- FIG. 1 is a diagram showing a functional configuration of a search system including a search device according to the present embodiment.
- the search system 1 includes a search device 10 and various storage units 20, 30, 50, 60.
- the search device 10 is a device that searches for facility information called POI that indicates a specific point.
- the facility information is associated with the attribute information for each of one or more predetermined attribute fields.
- Each functional unit 11 to 16 included in the search device 10 is configured to be accessible to various storage units 20, 30, 50, 60.
- the search device 10 and various storage units 20, 30, 50, 60 may be configured as one device, or each may be configured as a separate device.
- the search device 10 functionally includes an acquisition unit 11, a disassembly unit 12, an extraction unit 13, a search unit 14, an output unit 15, and a place name information generation unit 16.
- Each of these functional units 11 to 16 may be configured in one device, or may be distributed and configured in a plurality of devices.
- each functional block may be realized by using one device that is physically or logically connected, or directly or indirectly (for example, by two or more devices that are physically or logically separated). , Wired, wireless, etc.) and may be realized using these plurality of devices.
- the functional block may be realized by combining the software with the one device or the plurality of devices.
- Functions include judgment, decision, judgment, calculation, calculation, processing, derivation, investigation, search, confirmation, reception, transmission, output, access, solution, selection, selection, establishment, comparison, assumption, expectation, and assumption.
- broadcasting notifying, communicating, forwarding, configuring, reconfiguring, allocating, mapping, assigning, etc., but only these. I can't.
- a functional block that functions transmission is called a transmitting unit (transmitting unit) or a transmitter (transmitter).
- transmitting unit transmitting unit
- transmitter transmitter
- the search device 10 may function as a computer.
- FIG. 2 is a diagram showing an example of the hardware configuration of the search device 10 according to the present embodiment.
- the search device 10 may be physically configured as a computer device including a processor 1001, a memory 1002, a storage 1003, a communication device 1004, an input device 1005, an output device 1006, a bus 1007, and the like.
- the word “device” can be read as a circuit, device, unit, etc.
- the hardware configuration of the search device 10 may be configured to include one or more of the devices shown in the figure, or may be configured not to include some of the devices.
- Each function in the search device 10 is performed by loading predetermined software (program) on hardware such as the processor 1001 and the memory 1002, so that the processor 1001 performs an calculation, and communication by the communication device 1004, memory 1002, and storage 1003 It is realized by controlling the reading and / or writing of the data in.
- the processor 1001 operates, for example, an operating system to control the entire computer.
- the processor 1001 may be composed of a central processing unit (CPU: Central Processing Unit) including an interface with a peripheral device, a control device, an arithmetic unit, a register, and the like.
- CPU Central Processing Unit
- each of the functional units 11 to 16 shown in FIG. 1 may be realized by the processor 1001.
- the processor 1001 reads a program (program code), a software module, and data from the storage 1003 and / or the communication device 1004 into the memory 1002, and executes various processes according to these.
- a program program code
- a software module software module
- data data from the storage 1003 and / or the communication device 1004 into the memory 1002, and executes various processes according to these.
- the program a program that causes a computer to execute at least a part of the operations described in the above-described embodiment is used.
- the functional units 11 to 16 of the search device 10 may be realized by a control program stored in the memory 1002 and operated by the processor 1001.
- Processor 1001 may be mounted on one or more chips.
- the program may be transmitted from the network via a telecommunication line.
- the memory 1002 is a computer-readable recording medium, and is composed of at least one such as a ROM (Read Only Memory), an EPROM (Erasable Programmable ROM), an EEPROM (Electrically Erasable Programmable ROM), and a RAM (Random Access Memory). May be done.
- the memory 1002 may be referred to as a register, a cache, a main memory (main storage device), or the like.
- the memory 1002 can store a program (program code), a software module, or the like that can be executed to carry out the search method according to the embodiment of the present invention.
- the storage 1003 is a computer-readable recording medium, for example, an optical disk such as a CD-ROM (Compact Disc ROM), a hard disk drive, a flexible disk, an optical magnetic disk (for example, a compact disk, a digital versatile disk, a Blu-ray). It may consist of at least one (registered trademark) disk), smart card, flash memory (eg, card, stick, key drive), floppy (registered trademark) disk, magnetic strip, and the like.
- the storage 1003 may be referred to as an auxiliary storage device.
- the storage medium described above may be, for example, a database, server or other suitable medium containing memory 1002 and / or storage 1003.
- the communication device 1004 is hardware (transmission / reception device) for communicating between computers via a wired and / or wireless network, and is also referred to as, for example, a network device, a network controller, a network card, a communication module, or the like.
- the input device 1005 is an input device (for example, a keyboard, a mouse, a microphone, a switch, a button, a sensor, etc.) that receives an input from the outside.
- the output device 1006 is an output device (for example, a display, a speaker, an LED lamp, etc.) that outputs to the outside.
- the input device 1005 and the output device 1006 may have an integrated configuration (for example, a touch panel).
- each device such as the processor 1001 and the memory 1002 is connected by the bus 1007 for communicating information.
- the bus 1007 may be composed of a single bus, or may be composed of different buses between the devices.
- the search device 10 includes hardware such as a microprocessor, a digital signal processor (DSP: Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), and an FPGA (Field Programmable Gate Array). It may be configured, and the hardware may realize a part or all of each functional block. For example, processor 1001 may be implemented on at least one of these hardware.
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- PLD Programmable Logic Device
- FPGA Field Programmable Gate Array
- the acquisition unit 11 acquires a search query. Specifically, the acquisition unit 11 acquires the search query input by the user on the user's terminal (not shown) via the network. When the search device 10 is configured in the user's terminal, the acquisition unit 11 acquires the search query input via the input device 1005 in the search device 10.
- the decomposition unit 12 decomposes the search query into one or more query elements each consisting of a morpheme. Specifically, the decomposition unit 12 decomposes the search query into morphemes by, for example, a well-known morphological analysis method.
- FIG. 3 is a diagram showing an example of a search query and an example of query elements obtained by decomposing the search query. As shown in FIG. 3, the acquisition unit 11 acquires the search query q1 such as “Yokohama mobile phone shop”. The decomposition unit 12 decomposes the search query q1 into three query elements el1 such as "Yokohama / mobile phone / shop".
- FIG. 4 is a diagram showing an example of facility information stored in the facility information storage unit 20. That is, the facility information storage unit 20 is a storage means for storing facility information. As shown in FIG. 4, the facility information storage unit 20 stores attribute information for each attribute field such as the facility name, prefecture, city, ward, town, and village group, and the nearest station / peripheral station for each ID that identifies each facility information. I remember. Of these information, the attribute information stored in the attribute fields of prefectures and municipalities is a place name. In addition, the attribute information stored in the attribute field of the nearest station / peripheral station may also be treated as a place name.
- attribute information stored in the attribute field of the nearest station / peripheral station may also be treated as a place name.
- the search result in which the facility information having a large number of matches with the attribute information of the facility name field in the facility information of the query element included in the search query is output is output.
- the number of matches for the facility name "Mobile shop Shibuya store” in the facility information with ID "1" for the three query elements such as “Yokohama / Mobile / Shop” is 2 for "Mobile” and "Shop”.
- the number of matches of the same query element for the facility name "Mobile shop Yokohama store” in the facility information of ID "2" is 3, "Mobile", "Shop", and "Yokohama”.
- the number of matches of the same query element for the facility name "Mobile shop Totsuka store” in the facility information of ID "3" is 2 of "Mobile” and "Shop”.
- the facility information with ID "2" which has the largest number of matches, is the highest in the search results.
- the number of matches for the query elements of the facility information of ID "1" and ID "3" is both 2, but in that case, for example, the ranking is given in ascending order of ID, so that ID "1"
- the "mobile phone shop Shibuya store” ranks higher than the "mobile phone shop Totsuka store” with ID "3".
- the search results that "Mobile phone shop Totsuka store” located in Yokohama city is higher than “Mobile phone shop Shibuya store” are in line with the user's intention. It is a thing.
- the search result not intended by the user may be output.
- the search device 10 of the present embodiment improves the output of such a search result not intended by the user.
- the extraction unit 13 sets the attribute element. Extract the corresponding character string as a specific query.
- the extraction unit 13 extracts the character string representing the place name as a specific query when the place name is included in the search query. You may.
- the extraction unit 13 refers to the place name dictionary stored in the place name dictionary storage unit 30 in order to extract the character string representing the place name as a specific query.
- the place name dictionary storage unit 30 is a storage means for storing the place name dictionary.
- FIG. 5A is a diagram showing an example of a place name dictionary that stores the names of prefectures.
- FIG. 5B is a diagram showing an example of a place name dictionary that stores the names of cities, wards, towns, and villages.
- the extraction unit 13 refers to the place name dictionary shown in FIGS. 5 (a) and 5 (b), and identifies "Yokohama" from a search query consisting of three query elements "Yokohama / mobile phone / shop”. Extract as.
- the query element consisting of the character string representing the place name is extracted as a specific query, but for example, the character string representing the category of the point indicated by the facility information may be extracted as a specific query.
- the category is information indicating the type of the facility such as a cafe, a restaurant, and a tourist facility.
- the search device 10 has a category dictionary in which words indicating the categories are stored in advance.
- the search unit 14 searches for the attribute information of the attribute field corresponding to the attribute element to which the specific query corresponds based on the specific query.
- the search unit 14 since the place name is extracted as a specific query, the search unit 14 performs a search based on the specific query for the attribute information in the attribute field of the place name. For example, when the phrase "Yokohama" is extracted as a specific query, the search unit 14 sets the attribute fields of "prefecture” and "city / ward / town / village group" of the facility information based on the specific query "Yokohama". Search for.
- the search unit 14 acquires a score based on the degree of matching and the number of matches with respect to the attribute information of the attribute fields of the "prefecture” and "city / ward / town / village group" of the specific query "Yokohama" for each facility information.
- the search unit 14 performs a search for the facility name (POI) based on the search query in addition to the search for the attribute information of the corresponding attribute field by the specific query, and obtains a score based on the degree of matching. May be good. Specifically, the search unit 14 searches for the facility name field in the facility information shown in FIG. 4 based on the query element "Yokohama / mobile phone / shop" obtained from the search query "Yokohama mobile phone shop". To do. Then, the search unit 14 acquires a score based on the degree of matching and the number of matches of the query element "Yokohama / mobile phone / shop" with respect to the facility name stored in the facility name field for each facility information.
- POI facility name
- the query expression (facility name: Yokohama mobile phone shop) before "OR” can be regarded as a conventional search.
- this search query expression for example, it is possible to search for facility information in which a place name different from the place name representing the location is included in the facility name.
- the query expression ((facility name: Yokohama mobile phone shop) AND (place name: Yokohama)) after "OR” is for searching for a specific attribute field based on the specific query included in the search query. ..
- the search unit 14 performs a search by the query formula of the part before "OR” and a search by the query formula of the part after "OR", and independently calculates the score based on the degree of matching in each search. , The total score of those scores may be output as the search result by the above search query formula.
- the output unit 15 outputs facility information based on the result of the search by the search unit 14. Specifically, the output unit 15 outputs the facility information based on the degree of matching of the specific query with respect to the attribute information of the attribute field. For example, the output unit 15 acquires the score for each facility information based on the degree of matching and the number of matches of the query elements with respect to the attribute information including the facility name as the search result by the search unit 14, and outputs the facility information in descending order of the score. To do.
- the number of matches for the three query elements such as "Yokohama / mobile / shop” for the facility name "mobile shop Shibuya” in the facility information with ID "1" is 2 for "mobile” and "shop”.
- the number of matches of the specific query "Yokohama” for the attribute information "Tokyo” and "Shibuya Ward” of the place name field (prefecture, municipality group) of the facility information of ID "1" is 0. Therefore, the search unit 14 obtains a score of "2" as a search result for the facility information of the ID "1" based on the search query "Yokohama mobile phone shop".
- the number of matches for the three query elements such as "Yokohama / mobile / shop” for the facility name "mobile shop Yokohama store” in the facility information with ID "2" is "mobile", "shop", and "Yokohama”.
- the number of matches of the specific query "Yokohama” for the attribute information "Kanagawa Prefecture” and “Yokohama City, Nishi Ward” of the place name field (prefecture, municipality group) of the facility information of ID "2" is 1. Therefore, the search unit 14 obtains a score of "4" as a search result for the facility information of the ID "2" based on the search query "Yokohama mobile phone shop".
- the number of matches for the three query elements such as "Yokohama / mobile / shop” for the facility name "mobile shop Totsuka store” in the facility information with ID "3" is 2 for "mobile” and "shop”.
- the number of matches of the specific query "Yokohama” for the attribute information "Kanagawa Prefecture” and "Yokohama City, Totsuka” of the place name field (prefecture, municipality group) of the facility information of ID "3" is 1. Therefore, the search unit 14 obtains a score of "3" as a search result for the facility information of the ID "3” based on the search query "Yokohama mobile phone shop”.
- the output unit 15 outputs the facility information as follows in descending order of the score. 1.
- ID "2" facility name "Mobile Shop Yokohama Store", ... 2.
- ID "3 facility information "Mobile shop Totsuka store”, ... 3.
- ID "1 facility information "Mobile shop Shibuya store”, ...
- the output unit 15 determines that the total number of matches for the attribute information of each attribute field of the facility information of one of the query elements including the specific query is equal to or more than a preset predetermined number.
- One facility information may be output as a search result. The output of the result of such a search will be described below.
- the number of matches of the query element included in the search query with the attribute information in the same field may be set as a condition for being output as the search result. Under such a condition, even if the query element including the specific query matches the attribute information in each of the plurality of attribute fields of the certain facility information, the number of matches set as the condition in each of the attribute fields. If it is less than, the facility information will not be output as a search result.
- the output unit 15 has a total number of matches for the attribute information of each attribute field of one facility information of the query element including the specific query, which is equal to or more than a preset predetermined number.
- a preset predetermined number since one facility information is output as the search result, even if the degree of matching of the query element with respect to the attribute information for each attribute field is low, the matching of the query element with respect to the facility information across multiple attribute fields The degree will be determined, and it will be possible to obtain the facility information intended by the user as the search result according to the input search query.
- the place name information generation unit 16 does not include the place name as the attribute information in the facility information provided by the predetermined provider, but includes the position information represented by the latitude and longitude. If so, associate the appropriate place name with the facility information as the attribute information in the place name attribute field. Specifically, the place name information generation unit 16 refers to the place name information in which the place name is associated with the geographical range corresponding to the place name, and when the position information included in the facility information belongs to the geographical range in the place name information. , The place name associated with the geographical range is associated with the facility information as the attribute information of the attribute field of the place name.
- a specific description will be given.
- FIG. 6 is a diagram showing an example of place name information stored in the place name information storage unit 50.
- the place name information storage unit 50 is a storage means for storing place name information. As shown in FIG. 6, the place name information storage unit 50 uses the information of prefectures, cities, wards, etc. representing the place name, and the geographical range of the mesh identified by the grid ID as the place name information for each grid ID. I remember. Geographical range is information that identifies the range of the mesh by latitude and longitude.
- FIG. 7 is a diagram showing an example of facility information (POI) provided by a predetermined provider.
- POI facility information
- the provided facility information has information on the facility name "mobile phone shop Nagatsuta store", latitude "35.495" indicating the location of the facility, and longitude "139.562". There is.
- the place name information generation unit 16 refers to the geographical range of the place name information illustrated in FIG. 6 and obtains a grid ID corresponding to the latitude and longitude of the provided facility information and a place name represented as a prefecture, city and ward. Extract. Specifically, the place name information generation unit 16 is based on the fact that the latitude "35.495" and the longitude "139.562" correspond to the geographical range "lat1lng3", and the prefecture "Kanagawa Prefecture” and the city “Yokohama”. Obtain information on place names such as "city” and ward "Midori Ward". Then, as shown in the facility information of FIG.
- the place name information generation unit 16 uses the information of the place names of the prefecture "Kanagawa prefecture", the city “Yokohama city” and the ward “Midori Ward", and the facility name "Mobile shop Nagatsuda”. It is associated with "store” as attribute information and stored in the facility information storage unit 20 as facility information (see the record indicated by the arrow in the facility information of FIG. 8).
- the extraction unit 13 may refer to the query pattern information and extract a specific query from the search query based on the query pattern corresponding to the search query acquired by the acquisition unit 11.
- the query pattern information is information in which a plurality of query patterns, which are patterns of how a specific query is included in a search query, are defined in advance.
- the query pattern storage unit 60 is a storage means for storing query pattern information.
- FIG. 9 is a diagram showing an example of query pattern information stored in the query pattern storage unit 60.
- the query pattern information includes a query pattern and a query expression for each ID that identifies the defined query pattern.
- the extraction unit 13 refers to the query pattern of the query pattern information and refers to the query pattern "A:" of the corresponding ID "1". "Location, (in / in / ...): particle, B: cafe” is extracted. Then, the extraction unit 13 extracts "Yokohama” corresponding to "A” of the query pattern as a specific query for searching the attribute field of "location (place name)”. Further, the extraction unit 13 extracts the "cafe” corresponding to the query pattern "B” as a specific query for searching the attribute field of the "category (category)".
- the search unit 14 may search for facility information based on the search query formula defined in the query pattern information.
- a search by a query for the attribute information of a specific field is represented as (field: query).
- the search query expression "(addless: A OR par_1: A OR par_1: A)) AND (category: B)" of ID "1”
- the address, prefecture, and city / ward / town / village are the addresses, prefectures, and cities, respectively.
- category represents an attribute field of a category.
- the search unit 14 searches the attribute fields of the address, prefecture, or city / ward / town / village group using "Yokohama” corresponding to the query pattern "A" as a specific query based on the search query "cafe in Yokohama".
- the attribute field of the category is searched by using "cafe” corresponding to "B" of the query pattern as a specific query.
- FIG. 10 is a flowchart showing the processing contents of the search method in the search device 10.
- step S1 the acquisition unit 11 acquires the search query.
- step S2 when the search query acquired by the acquisition unit 11 includes the character string corresponding to the attribute element corresponding to the attribute field of the facility information, the extraction unit 13 indicates the character corresponding to the attribute element. Extract columns as specific queries.
- step S3 the search unit 14 searches for the attribute information of the attribute field corresponding to the attribute element to which the specific query corresponds based on the specific query.
- step S4 the output unit 15 outputs facility information based on the result of the search by the search unit 14 in step S4. Specifically, the output unit 15 outputs the facility information based on the degree of matching of the specific query with respect to the attribute information of the attribute field.
- FIG. 11 is a diagram showing a configuration of a search program.
- the search program P1 includes a main module m10, an acquisition module m11, a decomposition module m12, an extraction module m13, a search module m14, an output module m15, and a place name information generation module m16 that collectively control the search process in the search device 10. Will be done. Then, each module m11 to m16 realizes each function for the acquisition unit 11, the decomposition unit 12, the extraction unit 13, the search unit 14, the output unit 15, and the place name information generation unit 16.
- the search program P1 may be transmitted via a transmission medium such as a communication line, or may be stored in the recording medium M1 as shown in FIG.
- the search method, and the search program P1 of the present embodiment described above the attribute element corresponding to the attribute field in the facility information is extracted from the search query as a specific query.
- the character string that can be included as the attribute information of the attribute field is extracted as a specific query.
- the facility information is output based on the search result for the attribute information of the attribute field corresponding to the specific query. Therefore, based on the phrase included in the search query, the search is performed for the appropriate attribute field corresponding to the phrase, so that it is possible to obtain the search result according to the user's intention.
- the output unit may output the facility information based on the degree of matching of the specific query with respect to the attribute information of the attribute field.
- facility information having attribute information having a high degree of matching with a specific query is output, so that a search result according to the user's intention can be obtained.
- one or more attribute fields include an attribute field for associating a place name with facility information as attribute information, and the extraction unit performs a specific query for a character string representing the place name from a search query.
- the search unit may search the attribute field of the place name based on the specific query representing the place name.
- facility information having the place name input as the search query as attribute information is output. Therefore, facility information related to the place name desired by the user with respect to the search result can be obtained as the search result.
- one or more attribute fields include an attribute field for associating a point category with facility information as attribute information, and the extraction unit is a character representing a point category from a search query.
- the column may be extracted as a specific query element, and the search unit may search the attribute field of the category based on the specific query representing the category.
- facility information having the category input as the search query as attribute information is output. Therefore, facility information related to the category desired by the user with respect to the search result can be obtained as the search result.
- the facility information includes the facility name representing the name of the point as the attribute information of the attribute field of the facility name
- the search device includes one or more search queries each consisting of a form element.
- a decomposition unit that decomposes into query elements is further provided, the search unit performs a search for the attribute field of the facility name as a second search based on the query elements included in the search query, and the output unit performs each facility information.
- the facility information may be output based on the degree of matching of the query element with respect to the facility name in the above and the degree of matching of the specific query with respect to the attribute information of the attribute field.
- the search for the facility name based on the query element included in the search query is further performed as the second search, the degree of matching with the attribute information of the specific query in the first search, and the query element in the second search.
- the facility information is output based on the search result including the degree of matching with the facility name of. This makes it possible to obtain facility information having the name and attribute information desired by the user for the search result as the search result.
- the facility information includes the position information indicating the position of the point indicated by the facility information
- the search device is a place name in which the place name is associated with the geographical range corresponding to the place name.
- the place name information generator that associates the place name associated with the geographical range with the facility information as the attribute information of the attribute field of the place name.
- the place name to which the position indicated by the location information belongs can be associated with the facility information as attribute information with respect to the facility information associated with the location information. Therefore, it is possible to search facility information by a search query including a place name.
- the output unit in the search by the search unit, has a predetermined total number of matches for the attribute information of each attribute field of the facility information of one of the query elements including the specific query. When the number is more than the number, one facility information may be output as a search result.
- the degree of matching of the query element with respect to the attribute information for each attribute field is low, the degree of matching of the query element with respect to the facility information is determined across a plurality of attribute fields, so that the input is made. It is possible to obtain the facility information intended by the user according to the search query as the search result.
- the extraction unit refers to the query pattern information in which a plurality of query patterns, which are patterns of how the specific query is included in the search query, are defined in advance, and the search is acquired by the acquisition unit.
- a specific query may be extracted from the search query based on the query pattern corresponding to the query.
- Each aspect / embodiment described in the present specification includes LTE (Long Term Evolution), LTE-A (LTE-Advanced), SUPER 3G, IMT-Advanced, 4G, 5G, FRA (Future Radio Access), W-CDMA. (Registered Trademarks), GSM (Registered Trademarks), CDMA2000, UMB (Ultra Mobile Broadband), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX), LTE 802.20, UWB (Ultra-WideBand) It may be applied to systems that utilize Bluetooth®, other suitable systems and / or next-generation systems that are extended based on them.
- the input / output information and the like may be saved in a specific location (for example, memory) or may be managed by a management table. Input / output information and the like can be overwritten, updated, or added. The output information and the like may be deleted. The input information or the like may be transmitted to another device.
- the determination may be made by a value represented by 1 bit (0 or 1), by a boolean value (Boolean: true or false), or by comparing numerical values (for example, a predetermined value). It may be done by comparison with the value).
- the notification of predetermined information (for example, the notification of "being X") is not limited to the explicit one, but is performed implicitly (for example, the notification of the predetermined information is not performed). May be good.
- Software is an instruction, instruction set, code, code segment, program code, program, subprogram, software module, whether called software, firmware, middleware, microcode, hardware description language, or another name.
- Applications, software applications, software packages, routines, subroutines, objects, executable files, execution threads, procedures, features, etc. should be broadly interpreted to mean.
- software, instructions, etc. may be transmitted and received via a transmission medium.
- the software uses wired technology such as coaxial cable, fiber optic cable, twisted pair and digital subscriber line (DSL) and / or wireless technology such as infrared, wireless and microwave to websites, servers, or other When transmitted from a remote source, these wired and / or wireless technologies are included within the definition of transmission medium.
- data, instructions, commands, information, signals, bits, symbols, chips, etc. may be voltage, current, electromagnetic waves, magnetic fields or magnetic particles, light fields or photons, or any of these. It may be represented by a combination of.
- system and "network” used in this specification are used interchangeably.
- information, parameters, etc. described in the present specification may be represented by an absolute value, a relative value from a predetermined value, or another corresponding information. ..
- determining and “determining” used in this disclosure may include a wide variety of actions.
- “Judgment” and “decision” are, for example, judgment (judging), calculation (calculating), calculation (computing), processing (processing), derivation (deriving), investigation (investigating), search (looking up, search, inquiry). It may include (eg, searching in a table, database or another data structure), ascertaining as “judgment” or “decision”.
- judgment and “decision” are receiving (for example, receiving information), transmitting (for example, transmitting information), input (input), output (output), and access. (Accessing) (for example, accessing data in memory) may be regarded as “judgment” or “decision”.
- judgment and “decision” mean that “resolving”, “selecting”, “choosing”, “establishing”, “comparing”, etc. are regarded as “judgment” and “decision”. Can include. That is, “judgment” and “decision” may include that some action is regarded as “judgment” and “decision”. Further, “judgment (decision)” may be read as “assuming”, “expecting”, “considering” and the like.
- any reference to the elements does not generally limit the quantity or order of those elements. These designations can be used herein as a convenient way to distinguish between two or more elements. Thus, references to the first and second elements do not mean that only two elements can be adopted there, or that the first element must somehow precede the second element.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This search device is for searching for facility information which indicates a specific point and with which attribute information of one or more prescribed attribute fields are associated, the device being provided with: an acquisition unit that acquires a search query; an extraction unit that extracts, when the search query includes a character string corresponding to an attribute element corresponding to any one of the attribute fields, the character string as a specific query; a search unit that carries out searching based on the specific query, as a first search, for attribute information of the attribute field corresponding to the attribute element to which the specific query corresponds; and an output unit that outputs the facility information on the basis of the result of the first search.
Description
本発明は、検索装置に関する。
The present invention relates to a search device.
特定の地点を示しPOI(Point of Interest)と言われる施設情報の検索において、入力された文字列からなるクエリを形態素に分解し、登録されている施設情報の施設の名称の、クエリに含まれる形態素に対する一致の度合いに基づいて抽出された施設情報が検索結果として出力される。地点の検索の技術として、利用者が思いつくままに入力したキーワードに基づいて設定された検索条件に基づいて検索が行われる技術が知られている(例えば、特許文献1参照)。
In the search for facility information called POI (Point of Interest) that indicates a specific point, the query consisting of the input character string is decomposed into morphemes and included in the query for the facility name of the registered facility information. The facility information extracted based on the degree of matching with respect to the morpheme is output as a search result. As a technique for searching for points, there is known a technique for performing a search based on search conditions set based on keywords entered by the user as he / she thinks (see, for example, Patent Document 1).
施設情報の検索において、施設のカテゴリ及び地名等に例示されるような施設の属性を示す語句が入力される場合がある。そのような語句を施設の名称に対するクエリとして検索が行われても、属性を示す語句が施設名称に含まれているとは限らないので、ユーザが所望するような検索結果が得られないこととなっていた。
In the facility information search, words and phrases indicating the attributes of the facility as illustrated in the facility category and place name may be input. Even if such a phrase is searched as a query for the facility name, the phrase indicating the attribute is not always included in the facility name, so that the search result desired by the user cannot be obtained. It was.
そこで、本発明は、上記問題点に鑑みてなされたものであり、施設情報の検索において、ユーザの意図に沿う検索結果を得ることを目的とする。
Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to obtain a search result in line with the intention of the user in the search of facility information.
上記課題を解決するために、本発明の一形態に係る検索装置は、特定の地点を示し1以上の所定の属性フィールドごとの属性情報が関連付けられた施設情報を検索する検索装置であって、検索クエリを取得する取得部と、検索クエリに、属性フィールドに対応する属性要素に該当する文字列が含まれている場合に、該文字列を特定クエリとして抽出する抽出部と、特定クエリに基づく当該特定クエリが該当する属性要素に対応する属性フィールドの属性情報に対する検索を第1の検索として実施する検索部と、第1の検索の結果に基づいて、施設情報を出力する出力部と、を備える。
In order to solve the above problems, the search device according to one embodiment of the present invention is a search device that indicates a specific point and searches for facility information associated with attribute information for each of one or more predetermined attribute fields. Based on the acquisition unit that acquires the search query, the extraction unit that extracts the character string as a specific query when the search query contains the character string corresponding to the attribute element corresponding to the attribute field, and the specific query. A search unit that performs a search for the attribute information of the attribute field corresponding to the corresponding attribute element of the specific query as the first search, and an output unit that outputs facility information based on the result of the first search. Be prepared.
上記の形態によれば、施設情報における属性フィールドに対応する属性要素が検索クエリから特定クエリとして抽出される。これにより、属性フィールドの属性情報として含まれ得る文字列が特定クエリとして抽出される。そして、特定クエリに基づいて、当該特定クエリに対応する属性フィールドの属性情報に対する検索の結果に基づいて施設情報が出力される。従って、検索クエリに含まれている語句に基づく、その語句に対応する適切な属性フィールドに対する検索が行われることとなるので、ユーザの意図に沿う検索結果を得ることが可能となる。
According to the above form, the attribute element corresponding to the attribute field in the facility information is extracted as a specific query from the search query. As a result, the character string that can be included as the attribute information of the attribute field is extracted as a specific query. Then, based on the specific query, the facility information is output based on the search result for the attribute information of the attribute field corresponding to the specific query. Therefore, based on the phrase included in the search query, the search is performed for the appropriate attribute field corresponding to the phrase, so that it is possible to obtain the search result according to the user's intention.
施設情報の検索において、ユーザの意図に沿う検索結果を得ることが可能となる。
In the search of facility information, it is possible to obtain search results that meet the user's intentions.
本発明に係る検索装置の実施形態について図面を参照して説明する。なお、可能な場合には、同一の部分には同一の符号を付して、重複する説明を省略する。
An embodiment of the search device according to the present invention will be described with reference to the drawings. If possible, the same parts will be designated by the same reference numerals, and duplicate description will be omitted.
図1は、本実施形態に係る検索装置を含む検索システムの機能的構成を示す図である。図1に示すように、検索システム1は、検索装置10及び各種の記憶部20,30,50,60を含む。
FIG. 1 is a diagram showing a functional configuration of a search system including a search device according to the present embodiment. As shown in FIG. 1, the search system 1 includes a search device 10 and various storage units 20, 30, 50, 60.
検索装置10は、特定の地点を示すPOIと言われる施設情報を検索する装置である。施設情報は、1以上の所定の属性フィールドごとの属性情報が関連付けられている。
The search device 10 is a device that searches for facility information called POI that indicates a specific point. The facility information is associated with the attribute information for each of one or more predetermined attribute fields.
検索装置10に含まれる各機能部11~16は、各種の記憶部20,30,50,60にアクセス可能に構成されている。検索装置10及び各種の記憶部20,30,50,60は、1つの装置として構成されてもよいし、それぞれが別の装置に構成されてもよい。
Each functional unit 11 to 16 included in the search device 10 is configured to be accessible to various storage units 20, 30, 50, 60. The search device 10 and various storage units 20, 30, 50, 60 may be configured as one device, or each may be configured as a separate device.
検索装置10は、図1に示すように、機能的には、取得部11、分解部12、抽出部13、検索部14、出力部15及び地名情報生成部16を備える。これらの各機能部11~16は、一つの装置に構成されてもよいし、複数の装置に分散されて構成されてもよい。
As shown in FIG. 1, the search device 10 functionally includes an acquisition unit 11, a disassembly unit 12, an extraction unit 13, a search unit 14, an output unit 15, and a place name information generation unit 16. Each of these functional units 11 to 16 may be configured in one device, or may be distributed and configured in a plurality of devices.
なお、図1に示したブロック図は、機能単位のブロックを示している。これらの機能ブロック(構成部)は、ハードウェア及びソフトウェアの少なくとも一方の任意の組み合わせによって実現される。また、各機能ブロックの実現方法は特に限定されない。すなわち、各機能ブロックは、物理的又は論理的に結合した1つの装置を用いて実現されてもよいし、物理的又は論理的に分離した2つ以上の装置を直接的又は間接的に(例えば、有線、無線などを用いて)接続し、これら複数の装置を用いて実現されてもよい。機能ブロックは、上記1つの装置又は上記複数の装置にソフトウェアを組み合わせて実現されてもよい。
The block diagram shown in FIG. 1 shows a block for each function. These functional blocks (components) are realized by any combination of at least one of hardware and software. Further, the method of realizing each functional block is not particularly limited. That is, each functional block may be realized by using one device that is physically or logically connected, or directly or indirectly (for example, by two or more devices that are physically or logically separated). , Wired, wireless, etc.) and may be realized using these plurality of devices. The functional block may be realized by combining the software with the one device or the plurality of devices.
機能には、判断、決定、判定、計算、算出、処理、導出、調査、探索、確認、受信、送信、出力、アクセス、解決、選択、選定、確立、比較、想定、期待、見做し、報知(broadcasting)、通知(notifying)、通信(communicating)、転送(forwarding)、構成(configuring)、再構成(reconfiguring)、割り当て(allocating、mapping)、割り振り(assigning)などがあるが、これらに限られない。たとえば、送信を機能させる機能ブロック(構成部)は、送信部(transmitting unit)や送信機(transmitter)と呼称される。いずれも、上述したとおり、実現方法は特に限定されない。
Functions include judgment, decision, judgment, calculation, calculation, processing, derivation, investigation, search, confirmation, reception, transmission, output, access, solution, selection, selection, establishment, comparison, assumption, expectation, and assumption. There are broadcasting, notifying, communicating, forwarding, configuring, reconfiguring, allocating, mapping, assigning, etc., but only these. I can't. For example, a functional block (constituent unit) that functions transmission is called a transmitting unit (transmitting unit) or a transmitter (transmitter). As described above, the method of realizing each of them is not particularly limited.
例えば、本発明の一実施の形態における検索装置10は、コンピュータとして機能してもよい。図2は、本実施形態に係る検索装置10のハードウェア構成の一例を示す図である。検索装置10は、物理的には、プロセッサ1001、メモリ1002、ストレージ1003、通信装置1004、入力装置1005、出力装置1006、バス1007などを含むコンピュータ装置として構成されてもよい。
For example, the search device 10 according to the embodiment of the present invention may function as a computer. FIG. 2 is a diagram showing an example of the hardware configuration of the search device 10 according to the present embodiment. The search device 10 may be physically configured as a computer device including a processor 1001, a memory 1002, a storage 1003, a communication device 1004, an input device 1005, an output device 1006, a bus 1007, and the like.
なお、以下の説明では、「装置」という文言は、回路、デバイス、ユニットなどに読み替えることができる。検索装置10のハードウェア構成は、図に示した各装置を1つ又は複数含むように構成されてもよいし、一部の装置を含まずに構成されてもよい。
In the following explanation, the word "device" can be read as a circuit, device, unit, etc. The hardware configuration of the search device 10 may be configured to include one or more of the devices shown in the figure, or may be configured not to include some of the devices.
検索装置10における各機能は、プロセッサ1001、メモリ1002などのハードウェア上に所定のソフトウェア(プログラム)を読み込ませることで、プロセッサ1001が演算を行い、通信装置1004による通信や、メモリ1002及びストレージ1003におけるデータの読み出し及び/又は書き込みを制御することで実現される。
Each function in the search device 10 is performed by loading predetermined software (program) on hardware such as the processor 1001 and the memory 1002, so that the processor 1001 performs an calculation, and communication by the communication device 1004, memory 1002, and storage 1003 It is realized by controlling the reading and / or writing of the data in.
プロセッサ1001は、例えば、オペレーティングシステムを動作させてコンピュータ全体を制御する。プロセッサ1001は、周辺装置とのインターフェース、制御装置、演算装置、レジスタなどを含む中央処理装置(CPU:Central Processing Unit)で構成されてもよい。例えば、図1に示した各機能部11~16などは、プロセッサ1001で実現されてもよい。
The processor 1001 operates, for example, an operating system to control the entire computer. The processor 1001 may be composed of a central processing unit (CPU: Central Processing Unit) including an interface with a peripheral device, a control device, an arithmetic unit, a register, and the like. For example, each of the functional units 11 to 16 shown in FIG. 1 may be realized by the processor 1001.
また、プロセッサ1001は、プログラム(プログラムコード)、ソフトウェアモジュールやデータを、ストレージ1003及び/又は通信装置1004からメモリ1002に読み出し、これらに従って各種の処理を実行する。プログラムとしては、上述の実施の形態で説明した動作の少なくとも一部をコンピュータに実行させるプログラムが用いられる。例えば、検索装置10の各機能部11~16は、メモリ1002に格納され、プロセッサ1001で動作する制御プログラムによって実現されてもよい。上述の各種処理は、1つのプロセッサ1001で実行される旨を説明してきたが、2以上のプロセッサ1001により同時又は逐次に実行されてもよい。プロセッサ1001は、1以上のチップで実装されてもよい。なお、プログラムは、電気通信回線を介してネットワークから送信されても良い。
Further, the processor 1001 reads a program (program code), a software module, and data from the storage 1003 and / or the communication device 1004 into the memory 1002, and executes various processes according to these. As the program, a program that causes a computer to execute at least a part of the operations described in the above-described embodiment is used. For example, the functional units 11 to 16 of the search device 10 may be realized by a control program stored in the memory 1002 and operated by the processor 1001. Although it has been described that the various processes described above are executed by one processor 1001, they may be executed simultaneously or sequentially by two or more processors 1001. Processor 1001 may be mounted on one or more chips. The program may be transmitted from the network via a telecommunication line.
メモリ1002は、コンピュータ読み取り可能な記録媒体であり、例えば、ROM(Read Only Memory)、EPROM(Erasable Programmable ROM)、EEPROM(Electrically Erasable Programmable ROM)、RAM(Random Access Memory)などの少なくとも1つで構成されてもよい。メモリ1002は、レジスタ、キャッシュ、メインメモリ(主記憶装置)などと呼ばれてもよい。メモリ1002は、本発明の一実施の形態に係る検索方法を実施するために実行可能なプログラム(プログラムコード)、ソフトウェアモジュールなどを保存することができる。
The memory 1002 is a computer-readable recording medium, and is composed of at least one such as a ROM (Read Only Memory), an EPROM (Erasable Programmable ROM), an EEPROM (Electrically Erasable Programmable ROM), and a RAM (Random Access Memory). May be done. The memory 1002 may be referred to as a register, a cache, a main memory (main storage device), or the like. The memory 1002 can store a program (program code), a software module, or the like that can be executed to carry out the search method according to the embodiment of the present invention.
ストレージ1003は、コンピュータ読み取り可能な記録媒体であり、例えば、CD-ROM(Compact Disc ROM)などの光ディスク、ハードディスクドライブ、フレキシブルディスク、光磁気ディスク(例えば、コンパクトディスク、デジタル多用途ディスク、Blu-ray(登録商標)ディスク)、スマートカード、フラッシュメモリ(例えば、カード、スティック、キードライブ)、フロッピー(登録商標)ディスク、磁気ストリップなどの少なくとも1つで構成されてもよい。ストレージ1003は、補助記憶装置と呼ばれてもよい。上述の記憶媒体は、例えば、メモリ1002及び/又はストレージ1003を含むデータベース、サーバその他の適切な媒体であってもよい。
The storage 1003 is a computer-readable recording medium, for example, an optical disk such as a CD-ROM (Compact Disc ROM), a hard disk drive, a flexible disk, an optical magnetic disk (for example, a compact disk, a digital versatile disk, a Blu-ray). It may consist of at least one (registered trademark) disk), smart card, flash memory (eg, card, stick, key drive), floppy (registered trademark) disk, magnetic strip, and the like. The storage 1003 may be referred to as an auxiliary storage device. The storage medium described above may be, for example, a database, server or other suitable medium containing memory 1002 and / or storage 1003.
通信装置1004は、有線及び/又は無線ネットワークを介してコンピュータ間の通信を行うためのハードウェア(送受信デバイス)であり、例えばネットワークデバイス、ネットワークコントローラ、ネットワークカード、通信モジュールなどともいう。
The communication device 1004 is hardware (transmission / reception device) for communicating between computers via a wired and / or wireless network, and is also referred to as, for example, a network device, a network controller, a network card, a communication module, or the like.
入力装置1005は、外部からの入力を受け付ける入力デバイス(例えば、キーボード、マウス、マイクロフォン、スイッチ、ボタン、センサなど)である。出力装置1006は、外部への出力を実施する出力デバイス(例えば、ディスプレイ、スピーカー、LEDランプなど)である。なお、入力装置1005及び出力装置1006は、一体となった構成(例えば、タッチパネル)であってもよい。
The input device 1005 is an input device (for example, a keyboard, a mouse, a microphone, a switch, a button, a sensor, etc.) that receives an input from the outside. The output device 1006 is an output device (for example, a display, a speaker, an LED lamp, etc.) that outputs to the outside. The input device 1005 and the output device 1006 may have an integrated configuration (for example, a touch panel).
また、プロセッサ1001やメモリ1002などの各装置は、情報を通信するためのバス1007で接続される。バス1007は、単一のバスで構成されてもよいし、装置間で異なるバスで構成されてもよい。
Further, each device such as the processor 1001 and the memory 1002 is connected by the bus 1007 for communicating information. The bus 1007 may be composed of a single bus, or may be composed of different buses between the devices.
また、検索装置10は、マイクロプロセッサ、デジタル信号プロセッサ(DSP:Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、PLD(Programmable Logic Device)、FPGA(Field Programmable Gate Array)などのハードウェアを含んで構成されてもよく、当該ハードウェアにより、各機能ブロックの一部又は全てが実現されてもよい。例えば、プロセッサ1001は、これらのハードウェアの少なくとも1つで実装されてもよい。
In addition, the search device 10 includes hardware such as a microprocessor, a digital signal processor (DSP: Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), and an FPGA (Field Programmable Gate Array). It may be configured, and the hardware may realize a part or all of each functional block. For example, processor 1001 may be implemented on at least one of these hardware.
次に、検索装置10の各機能部について説明する。取得部11は、検索クエリを取得する。具体的には、取得部11は、ユーザの端末(図示せず)においてユーザにより入力された検索クエリを、ネットワークを介して取得する。検索装置10がユーザの端末に構成される場合には、取得部11は、検索装置10における入力装置1005を介して入力された検索クエリを取得する。
Next, each functional unit of the search device 10 will be described. The acquisition unit 11 acquires a search query. Specifically, the acquisition unit 11 acquires the search query input by the user on the user's terminal (not shown) via the network. When the search device 10 is configured in the user's terminal, the acquisition unit 11 acquires the search query input via the input device 1005 in the search device 10.
分解部12は、検索クエリをそれぞれが形態素からなる1以上のクエリ要素に分解する。具体的には、分解部12は、例えば周知の形態素解析の手法により、検索クエリを形態素に分解する。図3は、検索クエリの例及び当該検索クエリを分解して得られるクエリ要素の例を示す図である。図3に示すように、取得部11は、例えば「横浜の携帯ショップ」といった検索クエリq1を取得する。分解部12は、検索クエリq1を、「横浜/携帯/ショップ」といった3つのクエリ要素el1に分解する。
The decomposition unit 12 decomposes the search query into one or more query elements each consisting of a morpheme. Specifically, the decomposition unit 12 decomposes the search query into morphemes by, for example, a well-known morphological analysis method. FIG. 3 is a diagram showing an example of a search query and an example of query elements obtained by decomposing the search query. As shown in FIG. 3, the acquisition unit 11 acquires the search query q1 such as “Yokohama mobile phone shop”. The decomposition unit 12 decomposes the search query q1 into three query elements el1 such as "Yokohama / mobile phone / shop".
ここで、図4を参照して、検索の対象となる施設情報について説明する。図4は、施設情報記憶部20に記憶されている施設情報の例を示す図である。即ち、施設情報記憶部20は、施設情報を記憶している記憶手段である。図4に示されるように、施設情報記憶部20は、各施設情報を識別するIDごとに、施設名称、都道府県、市区町村群及び最寄駅・周辺駅といった属性フィールドごとの属性情報を記憶している。これらの情報のうち、都道府県及び市区町村群の属性フィールドに記憶されている属性情報は、地名である。また、最寄駅・周辺駅の属性フィールドに記憶されている属性情報も地名として扱われてもよい。
Here, the facility information to be searched will be described with reference to FIG. FIG. 4 is a diagram showing an example of facility information stored in the facility information storage unit 20. That is, the facility information storage unit 20 is a storage means for storing facility information. As shown in FIG. 4, the facility information storage unit 20 stores attribute information for each attribute field such as the facility name, prefecture, city, ward, town, and village group, and the nearest station / peripheral station for each ID that identifies each facility information. I remember. Of these information, the attribute information stored in the attribute fields of prefectures and municipalities is a place name. In addition, the attribute information stored in the attribute field of the nearest station / peripheral station may also be treated as a place name.
従来の施設情報の検索では、例えば、検索クエリに含まれるクエリ要素の、施設情報における施設名称のフィールドの属性情報に対する一致数の多い施設情報を上位とする検索結果が出力されていた。
In the conventional facility information search, for example, the search result in which the facility information having a large number of matches with the attribute information of the facility name field in the facility information of the query element included in the search query is output is output.
例えば、「横浜/携帯/ショップ」といった3つのクエリ要素の、ID「1」の施設情報の施設名称「携帯ショップ 渋谷店」に対する一致数は、「携帯」、「ショップ」の2である。同クエリ要素の、ID「2」の施設情報の施設名称「携帯ショップ 横浜店」に対する一致数は、「携帯」、「ショップ」、「横浜」の3である。同クエリ要素の、ID「3」の施設情報の施設名称「携帯ショップ 戸塚店」に対する一致数は、「携帯」、「ショップ」の2である。
For example, the number of matches for the facility name "Mobile shop Shibuya store" in the facility information with ID "1" for the three query elements such as "Yokohama / Mobile / Shop" is 2 for "Mobile" and "Shop". The number of matches of the same query element for the facility name "Mobile shop Yokohama store" in the facility information of ID "2" is 3, "Mobile", "Shop", and "Yokohama". The number of matches of the same query element for the facility name "Mobile shop Totsuka store" in the facility information of ID "3" is 2 of "Mobile" and "Shop".
従って、一致数が最も多いID「2」の施設情報が検索結果において最上位となる。ID「1」とID「3」の施設情報のクエリ要素に対する一致数はともに2であるが、その場合には、例えばIDの昇順に順位が付されることとなるので、ID「1」の「携帯ショップ 渋谷店」の方が、ID「3」の「携帯ショップ 戸塚店」よりも上位となる。
Therefore, the facility information with ID "2", which has the largest number of matches, is the highest in the search results. The number of matches for the query elements of the facility information of ID "1" and ID "3" is both 2, but in that case, for example, the ranking is given in ascending order of ID, so that ID "1" The "mobile phone shop Shibuya store" ranks higher than the "mobile phone shop Totsuka store" with ID "3".
しかしながら、「横浜の携帯ショップ」という検索クエリを鑑みると、横浜市に所在する「携帯ショップ 戸塚店」の方が、「携帯ショップ 渋谷店」より上位となるような検索結果がユーザの意図に沿うものである。このように、従来の検索では、ユーザの意図しない検索結果が出力される場合があった。本実施形態の検索装置10は、このようなユーザの意図しない検索結果が出力されることを改善するものである。
However, considering the search query "Yokohama's mobile phone shop", the search results that "Mobile phone shop Totsuka store" located in Yokohama city is higher than "Mobile phone shop Shibuya store" are in line with the user's intention. It is a thing. As described above, in the conventional search, the search result not intended by the user may be output. The search device 10 of the present embodiment improves the output of such a search result not intended by the user.
再び図1を参照して、抽出部13は、取得部11により取得された検索クエリに、施設情報の属性フィールドに対応する属性要素に該当する文字列が含まれている場合に、属性要素に該当する文字列を特定クエリとして抽出する。
With reference to FIG. 1 again, when the search query acquired by the acquisition unit 11 includes a character string corresponding to the attribute element corresponding to the attribute field of the facility information, the extraction unit 13 sets the attribute element. Extract the corresponding character string as a specific query.
本実施形態では、施設情報が、地名を属性情報として含むための属性フィールドを有するので、抽出部13は、検索クエリに地名が含まれている場合に、地名を表す文字列を特定クエリとして抽出してもよい。抽出部13は、地名を表す文字列を特定クエリとして抽出するために、地名辞書記憶部30に記憶されている地名辞書を参照する。地名辞書記憶部30は、地名辞書を記憶している記憶手段である。図5(a)は、都道府県の名称を記憶している地名辞書の例を示す図である。図5(b)は、市区町村群の名称を記憶している地名辞書の例を示す図である。抽出部13は、図5(a)及び図5(b)に示される地名辞書を参照して、「横浜/携帯/ショップ」という3つのクエリ要素からなる検索クエリから、「横浜」を特定クエリとして抽出する。
In the present embodiment, since the facility information has an attribute field for including the place name as the attribute information, the extraction unit 13 extracts the character string representing the place name as a specific query when the place name is included in the search query. You may. The extraction unit 13 refers to the place name dictionary stored in the place name dictionary storage unit 30 in order to extract the character string representing the place name as a specific query. The place name dictionary storage unit 30 is a storage means for storing the place name dictionary. FIG. 5A is a diagram showing an example of a place name dictionary that stores the names of prefectures. FIG. 5B is a diagram showing an example of a place name dictionary that stores the names of cities, wards, towns, and villages. The extraction unit 13 refers to the place name dictionary shown in FIGS. 5 (a) and 5 (b), and identifies "Yokohama" from a search query consisting of three query elements "Yokohama / mobile phone / shop". Extract as.
本実施形態では、地名を表す文字列からなるクエリ要素を特定クエリとして抽出することとしているが、例えば、施設情報により示される地点のカテゴリを表す文字列を特定クエリとして抽出することとしてもよい。カテゴリは、例えば、カフェ、レストラン、観光施設等の当該施設の種別を表す情報である。その場合には、検索装置10は、カテゴリを示す語を予め記憶しているカテゴリ辞書を有することとする。
In the present embodiment, the query element consisting of the character string representing the place name is extracted as a specific query, but for example, the character string representing the category of the point indicated by the facility information may be extracted as a specific query. The category is information indicating the type of the facility such as a cafe, a restaurant, and a tourist facility. In that case, the search device 10 has a category dictionary in which words indicating the categories are stored in advance.
検索部14は、特定クエリに基づく当該特定クエリが該当する属性要素に対応する属性フィールドの属性情報に対する検索を実施する。本実施形態では、地名が特定クエリとして抽出されるので、検索部14は、地名の属性フィールドの属性情報に対して、特定クエリに基づく検索を実施する。例えば、「横浜」という語句が特定クエリとして抽出された場合には、検索部14は、特定クエリ「横浜」に基づいて、施設情報の「都道府県」及び「市区町村群」の属性フィールドを検索する。そして、検索部14は、施設情報ごとに、特定クエリ「横浜」の「都道府県」及び「市区町村群」の属性フィールドの属性情報に対する一致の度合い及び一致数等に基づくスコアを取得する。
The search unit 14 searches for the attribute information of the attribute field corresponding to the attribute element to which the specific query corresponds based on the specific query. In the present embodiment, since the place name is extracted as a specific query, the search unit 14 performs a search based on the specific query for the attribute information in the attribute field of the place name. For example, when the phrase "Yokohama" is extracted as a specific query, the search unit 14 sets the attribute fields of "prefecture" and "city / ward / town / village group" of the facility information based on the specific query "Yokohama". Search for. Then, the search unit 14 acquires a score based on the degree of matching and the number of matches with respect to the attribute information of the attribute fields of the "prefecture" and "city / ward / town / village group" of the specific query "Yokohama" for each facility information.
また、検索部14は、特定クエリによる、対応する属性フィールドの属性情報に対する検索と併せて、検索クエリに基づく施設名称(POI)に対する検索を実施して、一致の度合いに基づくスコアを取得してもよい。具体的には、検索部14は、検索クエリ「横浜の携帯ショップ」から得られるクエリ要素「横浜/携帯/ショップ」に基づいて、図4に示される施設情報における施設名称のフィールドに対する検索を実施する。そして、検索部14は、施設情報ごとに、クエリ要素「横浜/携帯/ショップ」の、施設名称のフィールドに記憶されている施設名称に対する一致の度合い及び一致数等に基づくスコアを取得する。
Further, the search unit 14 performs a search for the facility name (POI) based on the search query in addition to the search for the attribute information of the corresponding attribute field by the specific query, and obtains a score based on the degree of matching. May be good. Specifically, the search unit 14 searches for the facility name field in the facility information shown in FIG. 4 based on the query element "Yokohama / mobile phone / shop" obtained from the search query "Yokohama mobile phone shop". To do. Then, the search unit 14 acquires a score based on the degree of matching and the number of matches of the query element "Yokohama / mobile phone / shop" with respect to the facility name stored in the facility name field for each facility information.
このような、施設情報における特定のフィールドの属性情報に対するクエリによる検索を、(フィールド:クエリ)として表すと、上記のような検索における検索クエリ式は、以下のように表される。
(施設名称:横浜の携帯ショップ)OR((施設名称:横浜の携帯ショップ)AND(地名:横浜)) When a search by a query for the attribute information of a specific field in the facility information is expressed as (field: query), the search query expression in the above search is expressed as follows.
(Facility name: Yokohama mobile phone shop) OR ((Facility name: Yokohama mobile phone shop) AND (Place name: Yokohama))
(施設名称:横浜の携帯ショップ)OR((施設名称:横浜の携帯ショップ)AND(地名:横浜)) When a search by a query for the attribute information of a specific field in the facility information is expressed as (field: query), the search query expression in the above search is expressed as follows.
(Facility name: Yokohama mobile phone shop) OR ((Facility name: Yokohama mobile phone shop) AND (Place name: Yokohama))
「OR」より前の部分のクエリ式(施設名称:横浜の携帯ショップ)は、従来型の検索と捉えることができる。この検索クエリ式により、例えば、所在地を表す地名とは異なる地名が施設名称に含まれているような施設情報を検索することができる。また、「OR」より後の部分のクエリ式((施設名称:横浜の携帯ショップ)AND(地名:横浜))は、検索クエリに含まれる特定クエリに基づく特定の属性フィールドに対する検索のためである。検索部14は、「OR」より前の部分のクエリ式による検索及び「OR」より後の部分のクエリ式による検索をそれぞれ実施し、それぞれの検索における一致度合いに基づくスコアを独立して計算し、それらのスコアを合算したスコアを、上記の検索クエリ式による検索結果として出力してもよい。
The query expression (facility name: Yokohama mobile phone shop) before "OR" can be regarded as a conventional search. With this search query expression, for example, it is possible to search for facility information in which a place name different from the place name representing the location is included in the facility name. In addition, the query expression ((facility name: Yokohama mobile phone shop) AND (place name: Yokohama)) after "OR" is for searching for a specific attribute field based on the specific query included in the search query. .. The search unit 14 performs a search by the query formula of the part before "OR" and a search by the query formula of the part after "OR", and independently calculates the score based on the degree of matching in each search. , The total score of those scores may be output as the search result by the above search query formula.
再び図1を参照して、出力部15は、検索部14による検索の結果に基づいて、施設情報を出力する。具体的には、出力部15は、属性フィールドの属性情報に対する特定クエリの一致度合いに基づいて、施設情報を出力する。例えば、出力部15は、施設名称を含む属性情報に対するクエリ要素の一致度合い及び一致数等に基づく施設情報ごとのスコアを、検索部14による検索結果として取得し、スコアの降順に施設情報を出力する。
With reference to FIG. 1 again, the output unit 15 outputs facility information based on the result of the search by the search unit 14. Specifically, the output unit 15 outputs the facility information based on the degree of matching of the specific query with respect to the attribute information of the attribute field. For example, the output unit 15 acquires the score for each facility information based on the degree of matching and the number of matches of the query elements with respect to the attribute information including the facility name as the search result by the search unit 14, and outputs the facility information in descending order of the score. To do.
本実施形態の検索装置10により、検索クエリ「横浜の携帯ショップ」に基づいて図4に示される施設情報に対する検索の例を以下に説明する。取得部11による検索クエリ「横浜の携帯ショップ」が取得された場合には、「横浜/携帯/ショップ」といった3つのクエリ要素が取得されると共に特定クエリ「横浜」が抽出される。
An example of searching for the facility information shown in FIG. 4 based on the search query “Yokohama mobile phone shop” by the search device 10 of the present embodiment will be described below. When the search query "Yokohama mobile phone shop" by the acquisition unit 11 is acquired, three query elements such as "Yokohama / mobile phone / shop" are acquired and the specific query "Yokohama" is extracted.
ID「1」の施設情報の施設名称「携帯ショップ 渋谷店」に対する「横浜/携帯/ショップ」といった3つのクエリ要素の一致数は、「携帯」、「ショップ」の2である。また、ID「1」の施設情報の地名のフィールド(都道府県、市町村群)の属性情報「東京都」、「渋谷区」に対する特定クエリ「横浜」の一致数は0である。従って、検索部14は、検索クエリ「横浜の携帯ショップ」に基づくID「1」の施設情報に対する検索結果として、スコア「2」を得る。
The number of matches for the three query elements such as "Yokohama / mobile / shop" for the facility name "mobile shop Shibuya" in the facility information with ID "1" is 2 for "mobile" and "shop". In addition, the number of matches of the specific query "Yokohama" for the attribute information "Tokyo" and "Shibuya Ward" of the place name field (prefecture, municipality group) of the facility information of ID "1" is 0. Therefore, the search unit 14 obtains a score of "2" as a search result for the facility information of the ID "1" based on the search query "Yokohama mobile phone shop".
ID「2」の施設情報の施設名称「携帯ショップ 横浜店」に対する「横浜/携帯/ショップ」といった3つのクエリ要素の一致数は、「携帯」、「ショップ」、「横浜」の3である。また、ID「2」の施設情報の地名のフィールド(都道府県、市町村群)の属性情報「神奈川県」、「横浜市、西区」に対する特定クエリ「横浜」の一致数は1である。従って、検索部14は、検索クエリ「横浜の携帯ショップ」に基づくID「2」の施設情報に対する検索結果として、スコア「4」を得る。
The number of matches for the three query elements such as "Yokohama / mobile / shop" for the facility name "mobile shop Yokohama store" in the facility information with ID "2" is "mobile", "shop", and "Yokohama". In addition, the number of matches of the specific query "Yokohama" for the attribute information "Kanagawa Prefecture" and "Yokohama City, Nishi Ward" of the place name field (prefecture, municipality group) of the facility information of ID "2" is 1. Therefore, the search unit 14 obtains a score of "4" as a search result for the facility information of the ID "2" based on the search query "Yokohama mobile phone shop".
ID「3」の施設情報の施設名称「携帯ショップ 戸塚店」に対する「横浜/携帯/ショップ」といった3つのクエリ要素の一致数は、「携帯」、「ショップ」の2である。また、ID「3」の施設情報の地名のフィールド(都道府県、市町村群)の属性情報「神奈川県」、「横浜市、戸塚」に対する特定クエリ「横浜」の一致数は1である。従って、検索部14は、検索クエリ「横浜の携帯ショップ」に基づくID「3」の施設情報に対する検索結果として、スコア「3」を得る。
The number of matches for the three query elements such as "Yokohama / mobile / shop" for the facility name "mobile shop Totsuka store" in the facility information with ID "3" is 2 for "mobile" and "shop". In addition, the number of matches of the specific query "Yokohama" for the attribute information "Kanagawa Prefecture" and "Yokohama City, Totsuka" of the place name field (prefecture, municipality group) of the facility information of ID "3" is 1. Therefore, the search unit 14 obtains a score of "3" as a search result for the facility information of the ID "3" based on the search query "Yokohama mobile phone shop".
従って、出力部15は、スコアの降順に、以下のように施設情報を出力する。
1.ID「2」、施設名称「携帯ショップ 横浜店」、・・・
2.ID「3」、施設情報「携帯ショップ 戸塚店」、・・・
3.ID「1」、施設情報「携帯ショップ 渋谷店」、・・・ Therefore, theoutput unit 15 outputs the facility information as follows in descending order of the score.
1. 1. ID "2", facility name "Mobile Shop Yokohama Store", ...
2. 2. ID "3", facility information "Mobile shop Totsuka store", ...
3. 3. ID "1", facility information "Mobile shop Shibuya store", ...
1.ID「2」、施設名称「携帯ショップ 横浜店」、・・・
2.ID「3」、施設情報「携帯ショップ 戸塚店」、・・・
3.ID「1」、施設情報「携帯ショップ 渋谷店」、・・・ Therefore, the
1. 1. ID "2", facility name "Mobile Shop Yokohama Store", ...
2. 2. ID "3", facility information "Mobile shop Totsuka store", ...
3. 3. ID "1", facility information "Mobile shop Shibuya store", ...
このように、従来の検索では、「携帯ショップ 戸塚店」より「携帯ショップ 渋谷店」が上位に出力されていたところ、本実施形態の検索では、「携帯ショップ 戸塚店」が「携帯ショップ 渋谷店」より上位に出力される。従って、ユーザの意図に沿う施設情報の検索が実現される。
In this way, in the conventional search, "mobile phone shop Totsuka store" was output higher than "mobile phone shop Totsuka store", but in the search of this embodiment, "mobile phone shop Totsuka store" is "mobile phone shop Shibuya store". Is output higher than. Therefore, the search for facility information according to the user's intention is realized.
なお、出力部15は、検索部14による検索において、特定クエリを含むクエリ要素の一の施設情報の各属性フィールドの属性情報に対する一致数の合計が予め設定された所定数以上である場合に、一の施設情報を検索の結果として出力することとしてもよい。以下、このような検索の結果の出力について説明する。
In the search by the search unit 14, the output unit 15 determines that the total number of matches for the attribute information of each attribute field of the facility information of one of the query elements including the specific query is equal to or more than a preset predetermined number. One facility information may be output as a search result. The output of the result of such a search will be described below.
従来の施設情報の検索では、検索クエリに含まれるクエリ要素の同フィールド内における属性情報との一致数が、検索結果として出力されることの条件として設定される場合があった。かかる条件のもとでは、ある施設情報の複数の属性フィールドのそれぞれにおいて、特定クエリを含むクエリ要素が属性情報に一致しても、各属性フィールドのそれぞれにおける一致数が条件として設定された一致数未満であった場合には、その施設情報は検索結果として出力されないこととなる。
In the conventional facility information search, the number of matches of the query element included in the search query with the attribute information in the same field may be set as a condition for being output as the search result. Under such a condition, even if the query element including the specific query matches the attribute information in each of the plurality of attribute fields of the certain facility information, the number of matches set as the condition in each of the attribute fields. If it is less than, the facility information will not be output as a search result.
これに対して、本実施形態の検索では、出力部15が、特定クエリを含むクエリ要素の一の施設情報の各属性フィールドの属性情報に対する一致数の合計が予め設定された所定数以上である場合に、一の施設情報を検索の結果として出力するので、属性フィールドごとの属性情報に対するクエリ要素の一致度合いが低い場合であっても、複数の属性フィールドを跨いでクエリ要素の施設情報に対する一致度合いが判断されることとなり、入力された検索クエリに応じた、ユーザが意図するような施設情報を検索結果として得ることが可能となる。
On the other hand, in the search of the present embodiment, the output unit 15 has a total number of matches for the attribute information of each attribute field of one facility information of the query element including the specific query, which is equal to or more than a preset predetermined number. In this case, since one facility information is output as the search result, even if the degree of matching of the query element with respect to the attribute information for each attribute field is low, the matching of the query element with respect to the facility information across multiple attribute fields The degree will be determined, and it will be possible to obtain the facility information intended by the user as the search result according to the input search query.
再び図1を参照して、地名情報生成部16は、所定の提供元から提供された施設情報が、属性情報としての地名を含んでおらず、緯度及び経度により表される位置情報を含んでいた場合に、適切な地名を、地名の属性フィールドの属性情報として施設情報に関連付ける。具体的には、地名情報生成部16は、地名と当該地名に該当する地理的範囲とを関連付けた地名情報を参照し、施設情報に含まれる位置情報が地名情報における地理的範囲に属する場合に、当該地理的範囲に関連付けられた地名を地名の属性フィールドの属性情報として施設情報に関連付ける。以下、具体的に説明する。
With reference to FIG. 1 again, the place name information generation unit 16 does not include the place name as the attribute information in the facility information provided by the predetermined provider, but includes the position information represented by the latitude and longitude. If so, associate the appropriate place name with the facility information as the attribute information in the place name attribute field. Specifically, the place name information generation unit 16 refers to the place name information in which the place name is associated with the geographical range corresponding to the place name, and when the position information included in the facility information belongs to the geographical range in the place name information. , The place name associated with the geographical range is associated with the facility information as the attribute information of the attribute field of the place name. Hereinafter, a specific description will be given.
図6は、地名情報記憶部50に記憶されている地名情報の例を示す図である。地名情報記憶部50は、地名情報を記憶している記憶手段である。図6に示すように、地名情報記憶部50は、グリッドIDごとに、地名を表す都道府県、市、区等の情報、及び、グリッドIDにより識別されるメッシュの地理的範囲を、地名情報として記憶している。地理的範囲は、緯度及び経度によりメッシュの範囲を特定する情報である。
FIG. 6 is a diagram showing an example of place name information stored in the place name information storage unit 50. The place name information storage unit 50 is a storage means for storing place name information. As shown in FIG. 6, the place name information storage unit 50 uses the information of prefectures, cities, wards, etc. representing the place name, and the geographical range of the mesh identified by the grid ID as the place name information for each grid ID. I remember. Geographical range is information that identifies the range of the mesh by latitude and longitude.
図7は、所定の提供元から提供された施設情報(POI)の例を示す図である。図7に示されるように、提供された施設情報は、施設名称「携帯ショップ 長津田店」及び当該施設の所在位置を示す緯度「35.495」及び経度「139.562」の情報を有している。
FIG. 7 is a diagram showing an example of facility information (POI) provided by a predetermined provider. As shown in FIG. 7, the provided facility information has information on the facility name "mobile phone shop Nagatsuta store", latitude "35.495" indicating the location of the facility, and longitude "139.562". There is.
地名情報生成部16は、図6に例示した地名情報の地理的範囲を参照して、提供された施設情報の緯度及び経度が該当するグリッドID並びに都道府県、市及び区として表される地名を抽出する。具体的には、地名情報生成部16は、緯度「35.495」及び経度「139.562」が地理的範囲「lat1lng3」に該当することに基づいて、都道府県「神奈川県」、市「横浜市」及び区「緑区」という地名の情報を取得する。そして、図8の施設情報に示されるように、地名情報生成部16は、都道府県「神奈川県」、市「横浜市」及び区「緑区」という地名の情報を、施設名称「携帯ショップ 長津田店」に属性情報として関連付けて、施設情報記憶部20に施設情報として記憶させる(図8の施設情報において矢印により示されるレコードを参照)。
The place name information generation unit 16 refers to the geographical range of the place name information illustrated in FIG. 6 and obtains a grid ID corresponding to the latitude and longitude of the provided facility information and a place name represented as a prefecture, city and ward. Extract. Specifically, the place name information generation unit 16 is based on the fact that the latitude "35.495" and the longitude "139.562" correspond to the geographical range "lat1lng3", and the prefecture "Kanagawa Prefecture" and the city "Yokohama". Obtain information on place names such as "city" and ward "Midori Ward". Then, as shown in the facility information of FIG. 8, the place name information generation unit 16 uses the information of the place names of the prefecture "Kanagawa prefecture", the city "Yokohama city" and the ward "Midori Ward", and the facility name "Mobile shop Nagatsuda". It is associated with "store" as attribute information and stored in the facility information storage unit 20 as facility information (see the record indicated by the arrow in the facility information of FIG. 8).
次に、検索クエリに基づく特定クエリの抽出及び検索クエリ式の生成の例について説明する。抽出部13は、クエリパターン情報を参照し、取得部11により取得された検索クエリに対応するクエリパターンに基づいて、検索クエリから特定クエリを抽出してもよい。クエリパターン情報は、検索クエリ中における特定クエリの含まれ方のパターンであるクエリパターンを予め複数規定した情報である。クエリパターン記憶部60は、クエリパターン情報を記憶している記憶手段である。
Next, an example of extracting a specific query based on a search query and generating a search query expression will be described. The extraction unit 13 may refer to the query pattern information and extract a specific query from the search query based on the query pattern corresponding to the search query acquired by the acquisition unit 11. The query pattern information is information in which a plurality of query patterns, which are patterns of how a specific query is included in a search query, are defined in advance. The query pattern storage unit 60 is a storage means for storing query pattern information.
図9は、クエリパターン記憶部60に記憶されているクエリパターン情報の例を示す図である。図9に示されるように、クエリパターン情報は、規定されたクエリパターンを識別するIDごとに、クエリパターン及びクエリ式を含む。
FIG. 9 is a diagram showing an example of query pattern information stored in the query pattern storage unit 60. As shown in FIG. 9, the query pattern information includes a query pattern and a query expression for each ID that identifies the defined query pattern.
抽出部13は、例えば、取得部11により検索クエリ「横浜にあるカフェ」が取得された場合には、クエリパターン情報のクエリパターンを参照して、該当するID「1」のクエリパターン「A:location,(の/にある/…):助詞,B:category」を抽出する。そして、抽出部13は、クエリパターンの「A」に相当する「横浜」を、「location(地名)」の属性フィールドを検索するための特定クエリとして抽出する。また、抽出部13は、クエリパターンの「B」に相当する「カフェ」を、「category(カテゴリ)」の属性フィールドを検索するための特定クエリとして抽出する。
For example, when the search query "cafe in Yokohama" is acquired by the acquisition unit 11, the extraction unit 13 refers to the query pattern of the query pattern information and refers to the query pattern "A:" of the corresponding ID "1". "Location, (in / in / ...): particle, B: cafe" is extracted. Then, the extraction unit 13 extracts "Yokohama" corresponding to "A" of the query pattern as a specific query for searching the attribute field of "location (place name)". Further, the extraction unit 13 extracts the "cafe" corresponding to the query pattern "B" as a specific query for searching the attribute field of the "category (category)".
検索部14は、クエリパターン情報に規定された検索クエリ式に基づいて施設情報の検索を実施してもよい。図9における検索クエリ式では、特定のフィールドの属性情報に対するクエリによる検索を、(フィールド:クエリ)として表される。例えば、ID「1」の検索クエリ式「(address:A OR par_1:A OR par_2:A)) AND (category:B)」において、address、par_1、par_2はそれぞれ、住所、都道府県、市区町村群の属性フィールドを表す。また、categoryは、カテゴリの属性フィールドを表す。従って、検索部14は、検索クエリ「横浜にあるカフェ」に基づいて、クエリパターンの「A」に相当する「横浜」を特定クエリとして、住所、都道府県又は市区町村群の属性フィールドを検索し、且つ、クエリパターンの「B」に相当する「カフェ」を特定クエリとして、カテゴリの属性フィールドを検索する。
The search unit 14 may search for facility information based on the search query formula defined in the query pattern information. In the search query expression in FIG. 9, a search by a query for the attribute information of a specific field is represented as (field: query). For example, in the search query expression "(addless: A OR par_1: A OR par_1: A)) AND (category: B)" of ID "1", the address, prefecture, and city / ward / town / village are the addresses, prefectures, and cities, respectively. Represents a group attribute field. In addition, category represents an attribute field of a category. Therefore, the search unit 14 searches the attribute fields of the address, prefecture, or city / ward / town / village group using "Yokohama" corresponding to the query pattern "A" as a specific query based on the search query "cafe in Yokohama". In addition, the attribute field of the category is searched by using "cafe" corresponding to "B" of the query pattern as a specific query.
このように、予め設定されたクエリパターン情報を参照することにより、自由に入力された検索クエリからの特定クエリの抽出が容易となる。
In this way, by referring to the preset query pattern information, it becomes easy to extract a specific query from the freely input search query.
図10は、検索装置10における検索方法の処理内容を示すフローチャートである。
FIG. 10 is a flowchart showing the processing contents of the search method in the search device 10.
ステップS1において、取得部11は、検索クエリを取得する。続くステップS2において、抽出部13は、取得部11により取得された検索クエリに、施設情報の属性フィールドに対応する属性要素に該当する文字列が含まれている場合に、属性要素に該当する文字列を特定クエリとして抽出する。
In step S1, the acquisition unit 11 acquires the search query. In the following step S2, when the search query acquired by the acquisition unit 11 includes the character string corresponding to the attribute element corresponding to the attribute field of the facility information, the extraction unit 13 indicates the character corresponding to the attribute element. Extract columns as specific queries.
ステップS3において、検索部14は、特定クエリに基づく当該特定クエリが該当する属性要素に対応する属性フィールドの属性情報に対する検索を実施する。
In step S3, the search unit 14 searches for the attribute information of the attribute field corresponding to the attribute element to which the specific query corresponds based on the specific query.
ステップS4において、出力部15は、ステップS4における検索部14による検索の結果に基づいて、施設情報を出力する。具体的には、出力部15は、属性フィールドの属性情報に対する特定クエリの一致度合いに基づいて、施設情報を出力する。
In step S4, the output unit 15 outputs facility information based on the result of the search by the search unit 14 in step S4. Specifically, the output unit 15 outputs the facility information based on the degree of matching of the specific query with respect to the attribute information of the attribute field.
次に、コンピュータを、本実施形態の検索装置10として機能させるための検索プログラムについて説明する。図11は、検索プログラムの構成を示す図である。
Next, a search program for making the computer function as the search device 10 of the present embodiment will be described. FIG. 11 is a diagram showing a configuration of a search program.
検索プログラムP1は、検索装置10における検索処理を統括的に制御するメインモジュールm10、取得モジュールm11、分解モジュールm12、抽出モジュールm13、検索モジュールm14、出力モジュールm15、地名情報生成モジュールm16を備えて構成される。そして、各モジュールm11~m16により、取得部11、分解部12、抽出部13、検索部14、出力部15、地名情報生成部16のための各機能が実現される。
The search program P1 includes a main module m10, an acquisition module m11, a decomposition module m12, an extraction module m13, a search module m14, an output module m15, and a place name information generation module m16 that collectively control the search process in the search device 10. Will be done. Then, each module m11 to m16 realizes each function for the acquisition unit 11, the decomposition unit 12, the extraction unit 13, the search unit 14, the output unit 15, and the place name information generation unit 16.
なお、検索プログラムP1は、通信回線等の伝送媒体を介して伝送される態様であってもよいし、図11に示されるように、記録媒体M1に記憶される態様であってもよい。
The search program P1 may be transmitted via a transmission medium such as a communication line, or may be stored in the recording medium M1 as shown in FIG.
以上説明した本実施形態の検索装置10、検索方法及び検索プログラムP1では、施設情報における属性フィールドに対応する属性要素が検索クエリから特定クエリとして抽出される。これにより、属性フィールドの属性情報として含まれ得る文字列が特定クエリとして抽出される。そして、特定クエリに基づいて、当該特定クエリに対応する属性フィールドの属性情報に対する検索の結果に基づいて施設情報が出力される。従って、検索クエリに含まれている語句に基づく、その語句に対応する適切な属性フィールドに対する検索が行われることとなるので、ユーザの意図に沿う検索結果を得ることが可能となる。
In the search device 10, the search method, and the search program P1 of the present embodiment described above, the attribute element corresponding to the attribute field in the facility information is extracted from the search query as a specific query. As a result, the character string that can be included as the attribute information of the attribute field is extracted as a specific query. Then, based on the specific query, the facility information is output based on the search result for the attribute information of the attribute field corresponding to the specific query. Therefore, based on the phrase included in the search query, the search is performed for the appropriate attribute field corresponding to the phrase, so that it is possible to obtain the search result according to the user's intention.
また、別の形態に係る検索装置では、出力部は、属性フィールドの属性情報に対する特定クエリの一致度合いに基づいて、施設情報を出力することとしてもよい。
Further, in the search device according to another form, the output unit may output the facility information based on the degree of matching of the specific query with respect to the attribute information of the attribute field.
上記形態によれば、特定クエリに対する一致度合いが高い属性情報を有する施設情報が出力されるので、ユーザの意図に沿う検索結果を得ることができる。
According to the above form, facility information having attribute information having a high degree of matching with a specific query is output, so that a search result according to the user's intention can be obtained.
また、別の形態に係る検索装置では、1以上の属性フィールドは、地名を属性情報として施設情報に関連付けるための属性フィールドを含み、抽出部は、検索クエリから、地名を表す文字列を特定クエリとして抽出し、検索部は、地名を表す特定クエリに基づいて、地名の属性フィールドを検索することとしてもよい。
Further, in the search device according to another form, one or more attribute fields include an attribute field for associating a place name with facility information as attribute information, and the extraction unit performs a specific query for a character string representing the place name from a search query. The search unit may search the attribute field of the place name based on the specific query representing the place name.
上記形態によれば、検索クエリとして入力された地名を属性情報として有する施設情報が出力される。従って、ユーザが検索結果に対して所望する地名に関連がある施設情報を検索結果として得ることができる。
According to the above form, facility information having the place name input as the search query as attribute information is output. Therefore, facility information related to the place name desired by the user with respect to the search result can be obtained as the search result.
また、別の形態に係る検索装置では、1以上の属性フィールドは、地点のカテゴリを属性情報として施設情報に関連付けるための属性フィールドを含み、抽出部は、検索クエリから、地点のカテゴリを表す文字列を特定クエリ要素として抽出し、検索部は、カテゴリを表す特定クエリに基づいて、カテゴリの属性フィールドを検索することとしてもよい。
Further, in the search device according to another form, one or more attribute fields include an attribute field for associating a point category with facility information as attribute information, and the extraction unit is a character representing a point category from a search query. The column may be extracted as a specific query element, and the search unit may search the attribute field of the category based on the specific query representing the category.
上記形態によれば、検索クエリとして入力されたカテゴリを属性情報として有する施設情報が出力される。従って、ユーザが検索結果に対して所望するカテゴリに関連がある施設情報を検索結果として得ることができる。
According to the above form, facility information having the category input as the search query as attribute information is output. Therefore, facility information related to the category desired by the user with respect to the search result can be obtained as the search result.
また、別の形態に係る検索装置では、施設情報は、地点の名称を表す施設名称を、施設名称の属性フィールドの属性情報として含み、検索装置は、検索クエリをそれぞれが形態素からなる1以上のクエリ要素に分解する分解部、をさらに備え、検索部は、検索クエリに含まれるクエリ要素に基づいて、施設名称の属性フィールドに対する検索を第2の検索として実施し、出力部は、各施設情報における施設名称に対するクエリ要素の一致度合い及び属性フィールドの属性情報に対する特定クエリの一致度合いに基づいて、施設情報を出力することとしてもよい。
Further, in the search device according to another form, the facility information includes the facility name representing the name of the point as the attribute information of the attribute field of the facility name, and the search device includes one or more search queries each consisting of a form element. A decomposition unit that decomposes into query elements is further provided, the search unit performs a search for the attribute field of the facility name as a second search based on the query elements included in the search query, and the output unit performs each facility information. The facility information may be output based on the degree of matching of the query element with respect to the facility name in the above and the degree of matching of the specific query with respect to the attribute information of the attribute field.
上記形態によれば、検索クエリに含まれるクエリ要素に基づく施設名称に対する検索が第2の検索として更に実施され、第1の検索における特定クエリの属性情報に対する一致度合い及び第2の検索におけるクエリ要素の施設名称に対する一致度合いを併せた検索結果に基づいて、施設情報が出力される。これにより、ユーザが検索結果に対して所望する名称及び属性情報を有する施設情報を、検索結果として得ることが可能となる。
According to the above form, the search for the facility name based on the query element included in the search query is further performed as the second search, the degree of matching with the attribute information of the specific query in the first search, and the query element in the second search. The facility information is output based on the search result including the degree of matching with the facility name of. This makes it possible to obtain facility information having the name and attribute information desired by the user for the search result as the search result.
また、別の形態に係る検索装置では、施設情報は、当該施設情報により示される地点の位置を示す位置情報を含み、検索装置は、地名と当該地名に該当する地理的範囲とを関連付けた地名情報を参照し、施設情報に含まれる位置情報が地名情報における地理的範囲に属する場合に、該地理的範囲に関連付けられた地名を地名の属性フィールドの属性情報として施設情報に関連付ける地名情報生成部、を更に備えることとしてもよい。
Further, in the search device according to another form, the facility information includes the position information indicating the position of the point indicated by the facility information, and the search device is a place name in which the place name is associated with the geographical range corresponding to the place name. When the location information included in the facility information belongs to the geographical range in the place name information by referring to the information, the place name information generator that associates the place name associated with the geographical range with the facility information as the attribute information of the attribute field of the place name. , May be further provided.
上記形態によれば、位置情報が関連付けられた施設情報に対して、当該位置情報により示される位置が属する地名を、施設情報に属性情報として関連付けることができる。従って、地名を含む検索クエリによって、施設情報を検索することが可能となる。
According to the above form, the place name to which the position indicated by the location information belongs can be associated with the facility information as attribute information with respect to the facility information associated with the location information. Therefore, it is possible to search facility information by a search query including a place name.
また、別の形態に係る検索装置では、出力部は、検索部による検索において、特定クエリを含むクエリ要素の一の施設情報の各属性フィールドの属性情報に対する一致数の合計が予め設定された所定数以上である場合に、一の施設情報を検索の結果として出力することとしてもよい。
Further, in the search device according to another form, in the search by the search unit, the output unit has a predetermined total number of matches for the attribute information of each attribute field of the facility information of one of the query elements including the specific query. When the number is more than the number, one facility information may be output as a search result.
上記形態によれば、属性フィールドごとの属性情報に対するクエリ要素の一致度合いが低い場合であっても、複数の属性フィールドを跨いでクエリ要素の施設情報に対する一致度合いが判断されるので、入力された検索クエリに応じた、ユーザが意図するような施設情報を検索結果として得ることが可能となる。
According to the above form, even when the degree of matching of the query element with respect to the attribute information for each attribute field is low, the degree of matching of the query element with respect to the facility information is determined across a plurality of attribute fields, so that the input is made. It is possible to obtain the facility information intended by the user according to the search query as the search result.
また、別の形態に係る検索装置では、抽出部は、検索クエリ中における特定クエリの含まれ方のパターンであるクエリパターンを予め複数規定したクエリパターン情報を参照し、取得部により取得された検索クエリに対応するクエリパターンに基づいて、該検索クエリから特定クエリを抽出することとしてもよい。
Further, in the search device according to another form, the extraction unit refers to the query pattern information in which a plurality of query patterns, which are patterns of how the specific query is included in the search query, are defined in advance, and the search is acquired by the acquisition unit. A specific query may be extracted from the search query based on the query pattern corresponding to the query.
上記形態によれば、自由に入力された検索クエリからの特定クエリの抽出が容易となる。
According to the above form, it becomes easy to extract a specific query from a freely input search query.
以上、本実施形態について詳細に説明したが、当業者にとっては、本実施形態が本明細書中に説明した実施形態に限定されるものではないということは明らかである。本実施形態は、特許請求の範囲の記載により定まる本発明の趣旨及び範囲を逸脱することなく修正及び変更態様として実施することができる。したがって、本明細書の記載は、例示説明を目的とするものであり、本実施形態に対して何ら制限的な意味を有するものではない。
Although the present embodiment has been described in detail above, it is clear to those skilled in the art that the present embodiment is not limited to the embodiment described in the present specification. This embodiment can be implemented as a modified or modified mode without departing from the spirit and scope of the present invention determined by the description of the claims. Therefore, the description of the present specification is for the purpose of exemplification and does not have any limiting meaning to the present embodiment.
本明細書で説明した各態様/実施形態は、LTE(Long Term Evolution)、LTE-A(LTE-Advanced)、SUPER 3G、IMT-Advanced、4G、5G、FRA(Future Radio Access)、W-CDMA(登録商標)、GSM(登録商標)、CDMA2000、UMB(Ultra Mobile Broadband)、IEEE 802.11(Wi-Fi)、IEEE 802.16(WiMAX)、IEEE 802.20、UWB(Ultra-WideBand)、Bluetooth(登録商標)、その他の適切なシステムを利用するシステム及び/又はこれらに基づいて拡張された次世代システムに適用されてもよい。
Each aspect / embodiment described in the present specification includes LTE (Long Term Evolution), LTE-A (LTE-Advanced), SUPER 3G, IMT-Advanced, 4G, 5G, FRA (Future Radio Access), W-CDMA. (Registered Trademarks), GSM (Registered Trademarks), CDMA2000, UMB (Ultra Mobile Broadband), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX), LTE 802.20, UWB (Ultra-WideBand) It may be applied to systems that utilize Bluetooth®, other suitable systems and / or next-generation systems that are extended based on them.
本明細書で説明した各態様/実施形態の処理手順、シーケンス、フローチャートなどは、矛盾の無い限り、順序を入れ替えてもよい。例えば、本明細書で説明した方法については、例示的な順序で様々なステップの要素を提示しており、提示した特定の順序に限定されない。
The order of the processing procedures, sequences, flowcharts, etc. of each aspect / embodiment described in the present specification may be changed as long as there is no contradiction. For example, the methods described herein present elements of various steps in an exemplary order, and are not limited to the particular order presented.
入出力された情報等は特定の場所(例えば、メモリ)に保存されてもよいし、管理テーブルで管理してもよい。入出力される情報等は、上書き、更新、または追記され得る。出力された情報等は削除されてもよい。入力された情報等は他の装置へ送信されてもよい。
The input / output information and the like may be saved in a specific location (for example, memory) or may be managed by a management table. Input / output information and the like can be overwritten, updated, or added. The output information and the like may be deleted. The input information or the like may be transmitted to another device.
判定は、1ビットで表される値(0か1か)によって行われてもよいし、真偽値(Boolean:trueまたはfalse)によって行われてもよいし、数値の比較(例えば、所定の値との比較)によって行われてもよい。
The determination may be made by a value represented by 1 bit (0 or 1), by a boolean value (Boolean: true or false), or by comparing numerical values (for example, a predetermined value). It may be done by comparison with the value).
本明細書で説明した各態様/実施形態は単独で用いてもよいし、組み合わせて用いてもよいし、実行に伴って切り替えて用いてもよい。また、所定の情報の通知(例えば、「Xであること」の通知)は、明示的に行うものに限られず、暗黙的(例えば、当該所定の情報の通知を行わない)ことによって行われてもよい。
Each aspect / embodiment described in the present specification may be used alone, in combination, or switched with execution. Further, the notification of predetermined information (for example, the notification of "being X") is not limited to the explicit one, but is performed implicitly (for example, the notification of the predetermined information is not performed). May be good.
以上、本開示について詳細に説明したが、当業者にとっては、本開示が本開示中に説明した実施形態に限定されるものではないということは明らかである。本開示は、請求の範囲の記載により定まる本開示の趣旨及び範囲を逸脱することなく修正及び変更態様として実施することができる。したがって、本開示の記載は、例示説明を目的とするものであり、本開示に対して何ら制限的な意味を有するものではない。
Although the present disclosure has been described in detail above, it is clear to those skilled in the art that the present disclosure is not limited to the embodiments described in the present disclosure. The present disclosure may be implemented as an amendment or modification without departing from the purpose and scope of the present disclosure, which is determined by the description of the scope of claims. Therefore, the description of this disclosure is for purposes of illustration only and does not have any restrictive meaning to this disclosure.
ソフトウェアは、ソフトウェア、ファームウェア、ミドルウェア、マイクロコード、ハードウェア記述言語と呼ばれるか、他の名称で呼ばれるかを問わず、命令、命令セット、コード、コードセグメント、プログラムコード、プログラム、サブプログラム、ソフトウェアモジュール、アプリケーション、ソフトウェアアプリケーション、ソフトウェアパッケージ、ルーチン、サブルーチン、オブジェクト、実行可能ファイル、実行スレッド、手順、機能などを意味するよう広く解釈されるべきである。
Software is an instruction, instruction set, code, code segment, program code, program, subprogram, software module, whether called software, firmware, middleware, microcode, hardware description language, or another name. , Applications, software applications, software packages, routines, subroutines, objects, executable files, execution threads, procedures, features, etc. should be broadly interpreted to mean.
また、ソフトウェア、命令などは、伝送媒体を介して送受信されてもよい。例えば、ソフトウェアが、同軸ケーブル、光ファイバケーブル、ツイストペア及びデジタル加入者回線(DSL)などの有線技術及び/又は赤外線、無線及びマイクロ波などの無線技術を使用してウェブサイト、サーバ、又は他のリモートソースから送信される場合、これらの有線技術及び/又は無線技術は、伝送媒体の定義内に含まれる。
Further, software, instructions, etc. may be transmitted and received via a transmission medium. For example, the software uses wired technology such as coaxial cable, fiber optic cable, twisted pair and digital subscriber line (DSL) and / or wireless technology such as infrared, wireless and microwave to websites, servers, or other When transmitted from a remote source, these wired and / or wireless technologies are included within the definition of transmission medium.
本開示において説明した情報、信号などは、様々な異なる技術のいずれかを使用して表されてもよい。例えば、上記の説明全体に渡って言及され得るデータ、命令、コマンド、情報、信号、ビット、シンボル、チップなどは、電圧、電流、電磁波、磁界若しくは磁性粒子、光場若しくは光子、又はこれらの任意の組み合わせによって表されてもよい。
The information, signals, etc. described in this disclosure may be represented using any of a variety of different techniques. For example, data, instructions, commands, information, signals, bits, symbols, chips, etc. that may be referred to throughout the above description may be voltage, current, electromagnetic waves, magnetic fields or magnetic particles, light fields or photons, or any of these. It may be represented by a combination of.
なお、本開示において説明した用語及び/又は本明細書の理解に必要な用語については、同一の又は類似する意味を有する用語と置き換えてもよい。
Note that the terms described in the present disclosure and / or the terms necessary for understanding the present specification may be replaced with terms having the same or similar meanings.
本明細書で使用する「システム」および「ネットワーク」という用語は、互換的に使用される。
The terms "system" and "network" used in this specification are used interchangeably.
また、本明細書で説明した情報、パラメータなどは、絶対値で表されてもよいし、所定の値からの相対値で表されてもよいし、対応する別の情報で表されてもよい。
Further, the information, parameters, etc. described in the present specification may be represented by an absolute value, a relative value from a predetermined value, or another corresponding information. ..
本開示で使用する「判断(determining)」、「決定(determining)」という用語は、多種多様な動作を包含する場合がある。「判断」、「決定」は、例えば、判定(judging)、計算(calculating)、算出(computing)、処理(processing)、導出(deriving)、調査(investigating)、探索(looking up、search、inquiry)(例えば、テーブル、データベース又は別のデータ構造での探索)、確認(ascertaining)した事を「判断」「決定」したとみなす事などを含み得る。また、「判断」、「決定」は、受信(receiving)(例えば、情報を受信すること)、送信(transmitting)(例えば、情報を送信すること)、入力(input)、出力(output)、アクセス(accessing)(例えば、メモリ中のデータにアクセスすること)した事を「判断」「決定」したとみなす事などを含み得る。また、「判断」、「決定」は、解決(resolving)、選択(selecting)、選定(choosing)、確立(establishing)、比較(comparing)などした事を「判断」「決定」したとみなす事を含み得る。つまり、「判断」「決定」は、何らかの動作を「判断」「決定」したとみなす事を含み得る。また、「判断(決定)」は、「想定する(assuming)」、「期待する(expecting)」、「みなす(considering)」などで読み替えられてもよい。
The terms "determining" and "determining" used in this disclosure may include a wide variety of actions. "Judgment" and "decision" are, for example, judgment (judging), calculation (calculating), calculation (computing), processing (processing), derivation (deriving), investigation (investigating), search (looking up, search, inquiry). It may include (eg, searching in a table, database or another data structure), ascertaining as "judgment" or "decision". Also, "judgment" and "decision" are receiving (for example, receiving information), transmitting (for example, transmitting information), input (input), output (output), and access. (Accessing) (for example, accessing data in memory) may be regarded as "judgment" or "decision". In addition, "judgment" and "decision" mean that "resolving", "selecting", "choosing", "establishing", "comparing", etc. are regarded as "judgment" and "decision". Can include. That is, "judgment" and "decision" may include that some action is regarded as "judgment" and "decision". Further, "judgment (decision)" may be read as "assuming", "expecting", "considering" and the like.
本開示で使用する「に基づいて」という記載は、別段に明記されていない限り、「のみに基づいて」を意味しない。言い換えれば、「に基づいて」という記載は、「のみに基づいて」と「に少なくとも基づいて」の両方を意味する。
The phrase "based on" as used in this disclosure does not mean "based on" unless otherwise stated. In other words, the statement "based on" means both "based only" and "at least based on".
本明細書で「第1の」、「第2の」などの呼称を使用した場合においては、その要素へのいかなる参照も、それらの要素の量または順序を全般的に限定するものではない。これらの呼称は、2つ以上の要素間を区別する便利な方法として本明細書で使用され得る。したがって、第1および第2の要素への参照は、2つの要素のみがそこで採用され得ること、または何らかの形で第1の要素が第2の要素に先行しなければならないことを意味しない。
When the names such as "first" and "second" are used in the present specification, any reference to the elements does not generally limit the quantity or order of those elements. These designations can be used herein as a convenient way to distinguish between two or more elements. Thus, references to the first and second elements do not mean that only two elements can be adopted there, or that the first element must somehow precede the second element.
「含む(include)」、「含んでいる(including)」、およびそれらの変形が、本明細書あるいは特許請求の範囲で使用されている限り、これら用語は、用語「備える(comprising)」と同様に、包括的であることが意図される。さらに、本明細書あるいは特許請求の範囲において使用されている用語「または(or)」は、排他的論理和ではないことが意図される。
As long as "include", "including", and variations thereof are used within the scope of the present specification or claims, these terms are similar to the term "comprising". Is intended to be inclusive. Moreover, the term "or" as used herein or in the claims is intended not to be an exclusive OR.
本明細書において、文脈または技術的に明らかに1つのみしか存在しない装置である場合以外は、複数の装置をも含むものとする。
In the present specification, a plurality of devices shall be included unless the device has only one device, which is clearly technically or technically present.
本開示の全体において、文脈から明らかに単数を示したものではなければ、複数のものを含むものとする。
In the whole of this disclosure, if it does not clearly indicate the singular from the context, it shall include more than one.
1…検索システム、10…検索装置、11…取得部、12…分解部、13…抽出部、14…検索部、15…出力部、16…地名情報生成部、20…施設情報記憶部、30…地名辞書記憶部、50…地名情報記憶部、60…クエリパターン記憶部、M1…記録媒体、m10…メインモジュール、m11…取得モジュール、m12…分解モジュール、m13…抽出モジュール、m14…検索モジュール、m15…出力モジュール、m16…地名情報生成モジュール、P1…検索プログラム。
1 ... Search system, 10 ... Search device, 11 ... Acquisition unit, 12 ... Disassembly unit, 13 ... Extraction unit, 14 ... Search unit, 15 ... Output unit, 16 ... Place name information generation unit, 20 ... Facility information storage unit, 30 ... place name dictionary storage unit, 50 ... place name information storage unit, 60 ... query pattern storage unit, M1 ... recording medium, m10 ... main module, m11 ... acquisition module, m12 ... decomposition module, m13 ... extraction module, m14 ... search module, m15 ... Output module, m16 ... Place name information generation module, P1 ... Search program.
Claims (8)
- 特定の地点を示し1以上の所定の属性フィールドごとの属性情報が関連付けられた施設情報を検索する検索装置であって、
検索クエリを取得する取得部と、
前記検索クエリに、前記属性フィールドに対応する属性要素に該当する文字列が含まれている場合に、該文字列を特定クエリとして抽出する抽出部と、
前記特定クエリに基づく当該特定クエリが該当する属性要素に対応する前記属性フィールドの属性情報に対する検索を第1の検索として実施する検索部と、
前記第1の検索の結果に基づいて、施設情報を出力する出力部と、
を備える検索装置。 A search device that searches for facility information that indicates a specific point and is associated with attribute information for one or more predetermined attribute fields.
The acquisition part that acquires the search query and
When the search query contains a character string corresponding to the attribute element corresponding to the attribute field, an extraction unit that extracts the character string as a specific query and
A search unit that performs a search for the attribute information of the attribute field corresponding to the attribute element to which the specific query corresponds based on the specific query as the first search.
An output unit that outputs facility information based on the result of the first search,
A search device equipped with. - 前記出力部は、前記属性フィールドの属性情報に対する前記特定クエリの一致度合いに基づいて、前記施設情報を出力する、
請求項1に記載の検索装置。 The output unit outputs the facility information based on the degree of matching of the specific query with respect to the attribute information of the attribute field.
The search device according to claim 1. - 前記1以上の属性フィールドは、地名を属性情報として前記施設情報に関連付けるための属性フィールドを含み、
前記抽出部は、前記検索クエリから、地名を表す文字列を特定クエリとして抽出し、
前記検索部は、前記地名を表す特定クエリに基づいて、地名の属性フィールドを検索する、
請求項1または2に記載の検索装置。 The one or more attribute fields include an attribute field for associating a place name as attribute information with the facility information.
The extraction unit extracts a character string representing a place name as a specific query from the search query.
The search unit searches the attribute field of the place name based on the specific query representing the place name.
The search device according to claim 1 or 2. - 前記1以上の属性フィールドは、地点のカテゴリを属性情報として前記施設情報に関連付けるための属性フィールドを含み、
前記抽出部は、前記検索クエリから、地点のカテゴリを表す文字列を特定クエリ要素として抽出し、
前記検索部は、前記カテゴリを表す特定クエリに基づいて、前記カテゴリの属性フィールドを検索する、
請求項1~3のいずれか一項に記載の検索装置。 The one or more attribute fields include an attribute field for associating a point category as attribute information with the facility information.
The extraction unit extracts a character string representing a point category as a specific query element from the search query.
The search unit searches for an attribute field of the category based on a specific query representing the category.
The search device according to any one of claims 1 to 3. - 施設情報は、地点の名称を表す施設名称を、施設名称の属性フィールドの属性情報として含み、
前記検索装置は、
前記検索クエリをそれぞれが形態素からなる1以上のクエリ要素に分解する分解部、をさらに備え、
前記検索部は、前記検索クエリに含まれるクエリ要素に基づいて、前記施設名称の属性フィールドに対する検索を第2の検索として実施し、
前記出力部は、各施設情報における前記施設名称に対する前記クエリ要素の一致度合い及び前記属性フィールドの属性情報に対する前記特定クエリの一致度合いに基づいて、前記施設情報を出力する、
請求項1~4のいずれか一項に記載の検索装置。 The facility information includes the facility name representing the name of the point as the attribute information of the attribute field of the facility name.
The search device
A decomposition unit that decomposes the search query into one or more query elements each consisting of a morpheme
The search unit performs a search for the attribute field of the facility name as a second search based on the query element included in the search query.
The output unit outputs the facility information based on the degree of matching of the query element with respect to the facility name in each facility information and the degree of matching of the specific query with respect to the attribute information of the attribute field.
The search device according to any one of claims 1 to 4. - 前記施設情報は、当該施設情報により示される地点の位置を示す位置情報を含み、
前記検索装置は、
地名と当該地名に該当する地理的範囲とを関連付けた地名情報を参照し、前記施設情報に含まれる位置情報が前記地名情報における地理的範囲に属する場合に、該地理的範囲に関連付けられた地名を地名の前記属性フィールドの属性情報として前記施設情報に関連付ける地名情報生成部、を更に備える、
請求項1~5のいずれか一項に記載の検索装置。 The facility information includes position information indicating the position of a point indicated by the facility information.
The search device
Refer to the place name information that associates the place name with the geographical range corresponding to the place name, and when the location information included in the facility information belongs to the geographical range in the place name information, the place name associated with the geographical range Is further provided with a place name information generation unit, which is associated with the facility information as the attribute information of the attribute field of the place name.
The search device according to any one of claims 1 to 5. - 前記出力部は、前記検索部による検索において、前記特定クエリを含むクエリ要素の一の施設情報の各属性フィールドの属性情報に対する一致数の合計が予め設定された所定数以上である場合に、前記一の施設情報を検索の結果として出力する、
請求項1~6のいずれか一項に記載の検索装置。 When the total number of matches for the attribute information of each attribute field of the facility information of one of the query elements including the specific query is equal to or more than a preset predetermined number in the search by the search unit. Output one facility information as a search result,
The search device according to any one of claims 1 to 6. - 前記抽出部は、前記検索クエリ中における前記特定クエリの含まれ方のパターンであるクエリパターンを予め複数規定したクエリパターン情報を参照し、前記取得部により取得された前記検索クエリに対応する前記クエリパターンに基づいて、該検索クエリから前記特定クエリを抽出する、
請求項1~7のいずれか一項に記載の検索装置。
The extraction unit refers to query pattern information in which a plurality of query patterns, which are patterns of how the specific query is included in the search query, are defined in advance, and the query corresponding to the search query acquired by the acquisition unit. Extract the specific query from the search query based on the pattern.
The search device according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021533021A JP7510933B2 (en) | 2019-07-12 | 2020-07-09 | Search Device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019130076 | 2019-07-12 | ||
JP2019-130076 | 2019-07-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021010290A1 true WO2021010290A1 (en) | 2021-01-21 |
Family
ID=74210811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2020/026901 WO2021010290A1 (en) | 2019-07-12 | 2020-07-09 | Search device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7510933B2 (en) |
WO (1) | WO2021010290A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7502540B1 (en) | 2023-09-28 | 2024-06-18 | 楽天グループ株式会社 | Search device, search method, and program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017091045A (en) * | 2015-11-05 | 2017-05-25 | 株式会社Nttドコモ | One-day determination system |
JP2018055345A (en) * | 2016-09-28 | 2018-04-05 | 株式会社Nttドコモ | Device for determining priority |
JP2018160283A (en) * | 2018-07-19 | 2018-10-11 | パイオニア株式会社 | Program, search program, search device, search system, facility search device, and facility search system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006277168A (en) | 2005-03-29 | 2006-10-12 | Seiko Epson Corp | Preparation for web page data |
JP5731940B2 (en) | 2011-09-29 | 2015-06-10 | 株式会社Nttドコモ | Text position determination apparatus and text position determination method |
JP6569887B2 (en) | 2014-10-31 | 2019-09-04 | 株式会社システムイグゼ | Data file name assigning apparatus and method, and recording medium recording data file name assigning program |
-
2020
- 2020-07-09 WO PCT/JP2020/026901 patent/WO2021010290A1/en active Application Filing
- 2020-07-09 JP JP2021533021A patent/JP7510933B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017091045A (en) * | 2015-11-05 | 2017-05-25 | 株式会社Nttドコモ | One-day determination system |
JP2018055345A (en) * | 2016-09-28 | 2018-04-05 | 株式会社Nttドコモ | Device for determining priority |
JP2018160283A (en) * | 2018-07-19 | 2018-10-11 | パイオニア株式会社 | Program, search program, search device, search system, facility search device, and facility search system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7502540B1 (en) | 2023-09-28 | 2024-06-18 | 楽天グループ株式会社 | Search device, search method, and program |
Also Published As
Publication number | Publication date |
---|---|
JPWO2021010290A1 (en) | 2021-01-21 |
JP7510933B2 (en) | 2024-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363698B (en) | Method and device for identifying relation of interest points | |
KR102407510B1 (en) | Method, apparatus, device and medium for storing and querying data | |
US9116940B1 (en) | Searching for join candidates | |
US11507549B2 (en) | Data normalization system | |
CN103049495A (en) | Method, device and equipment for providing searching advice corresponding to inquiring sequence | |
US20190188647A1 (en) | Multiple element job classification | |
CN112800213A (en) | Medical text information display method and device and electronic equipment | |
CN111899822B (en) | Medical institution database construction method, query method, device, equipment and medium | |
WO2021010290A1 (en) | Search device | |
US11948472B2 (en) | Popularity evaluation system and geographical feature generation model | |
US20230350878A1 (en) | Automated database updating and curation | |
JP2021124913A (en) | Retrieval device | |
US20190163810A1 (en) | Search User Interface | |
WO2020235135A1 (en) | Interactive system | |
CN114048797A (en) | Method, device, medium and electronic equipment for determining address similarity | |
CN113535883A (en) | Business place entity linking method, system, electronic device and storage medium | |
JP6895580B2 (en) | Dialogue system | |
JP5494066B2 (en) | SEARCH DEVICE, SEARCH METHOD, AND SEARCH PROGRAM | |
JP2020177387A (en) | Sentence output device | |
CN115268664B (en) | Control method, device, equipment and storage medium for error correction word display | |
US12026006B2 (en) | POI popularity derivation device | |
WO2021039372A1 (en) | Re-ranking device | |
JP2024135684A (en) | Facility database, facility data generation device, facility data generation method, facility data generation program, search device, search method, and search program | |
JP6891342B2 (en) | POI information updater | |
US11709844B2 (en) | Computerized smart inventory search methods and systems using classification and tagging |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20840395 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021533021 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20840395 Country of ref document: EP Kind code of ref document: A1 |