Search device, search method, and program

The search device and method address the challenge of unknown pronunciations and tones in tonal languages by generating and comparing modified character strings with added tone symbols, enhancing search accuracy and efficiency.

JP7582274B2Active Publication Date: 2024-11-13CASIO COMPUTER CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022119881
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2024-11-13
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

Existing search technologies for tonal languages, such as Chinese, face challenges in accurately searching for words when the pronunciation and tone symbols are unknown, leading to inefficiencies and reduced search accuracy.

Method used

A search device and method that generates a character string with added tone symbols for unknown characters, allowing comparison with conversion candidates to accurately match and retrieve words, using a control section to manage the process.

Benefits of technology

Enables accurate search for words in tonal languages with unknown pronunciations and tones by generating and comparing modified character strings, improving search efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007582274000001
    Figure 0007582274000001
  • Figure 0007582274000002
    Figure 0007582274000002
  • Figure 0007582274000003
    Figure 0007582274000003
Patent Text Reader

Abstract

To accurately retrieve a tonal language in which a part of reading and its tone are unknown.SOLUTION: A method generates a four tones number added Pinyin retrieval character string for wild retrieval in which "0" is added to a character having no four tones number (an alphabet indicating a consonant) and a wildcard [?] for four tones number is added just after the wildcard [?] from the four tones number added Pinyin retrieval character string corresponding to a tonal symbol added Pinyin retrieval character string including a character of a part having unknown reading (wildcard [?]). And, the method generates a four tones number added Pinyin entry word character string for wild retrieval in which "0" is added, for a character having no four tones number of the four tones number added Pinyin entry word character string corresponding to an entry word of a Chinese-Japanese dictionary matching a Pinyin retrieval character string having no four tones number. Wildcard retrieval of a Chinese language based on a tonal symbol added Pinyin retrieval character string can be performed by comparing and determining whether the generated retrieval character string matches the four tones number added Pinyin entry word character string.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a search device, a search method, and a program for searching a tonal language. [Background technology]

[0002] In conventional electronic dictionaries and the like, operations for searching for a word in a tonal language, such as Chinese, include a kanji search operation in which kanji are input based on handwriting, radical stroke count, total stroke count, etc., and words containing the input kanji are searched for, and a pinyin search operation in which a phonetic notation system in which a Chinese word is converted into an alphabetic string with tone symbols, i.e., pinyin, is input and the corresponding word is searched for.

[0003] Pinyin is composed of alphabets representing vowels and consonants and tone symbols representing intonation. In a typical Pinyin search operation, the desired word can be searched for by adding the four tone numbers (1 to 4) corresponding to the tone symbols to the Pinyin alphabet of the Chinese word to be searched.

[0004] However, when performing a wildcard search for a word in which part of the reading, including the tone mark, is unknown, i.e., the reading is marked "?", it is often the case that not only the alphabet corresponding to the reading but also the tone mark added to it is unknown. For example, in Chinese pinyin searches, a technique has been devised in which the four tone digits "0" are added to light vowels without tone marks, and when the tone mark is unknown, a "-" is added and the index term is entered, and the four tone digits corresponding to the tone mark are entered in the "-" in order of 0, 1, 2, ..., and then compared with the index term to search. However, there are still issues to be addressed in terms of the search effort and search accuracy (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 10-269239 Summary of the Invention [Problem to be solved by the invention]

[0006] The problem to be solved by the present invention is to enable accurate retrieval of tonal languages ​​in which some readings and tones are unknown. [Means for solving the problem]

[0007] A search device according to one aspect of the present invention comprises: A character string including a predetermined number of characters including an unknown character and a tone mark is obtained as a first search target character string; acquiring, as a conversion candidate, a character string that matches a character string obtained by removing the tone marks from the acquired first search target character string; Adding tone symbols to the conversion candidates to generate conversion candidate character strings consisting of a predetermined number of characters; generating a second search target character string by adding a character indicating an unknown tone mark immediately after at least the unknown character among each character of the first search target character string; comparing the second search target character string with the conversion candidate character string and outputting a comparison result; It is characterized by having a control unit. In addition, a search device according to an embodiment of the present invention includes: The present invention is characterized in that it includes a control unit which, when inputting a character string consisting of a predetermined number of characters including an unknown character and a tone symbol, generates a search target character string by inputting the unknown character followed by a character indicating the unknown tone symbol. Effect of the Invention

[0008] According to the present invention, it is possible to accurately search for a tonal language in which some readings and their tones are unknown. [Brief description of the drawings]

[0009] [Figure 1] 1 is a diagram showing the overall configuration of a search system 1 according to an embodiment of a search device, a search method, and a program of the present invention. [Diagram 2] FIG. 2 is a block diagram showing the functional configuration of a foreign language search server 10 and a communication terminal 20. [Diagram 3]13 is a diagram showing the contents of a four-tone no-digit Pinyin search table stored in a four-tone no-digit Pinyin search table storage area 12c of the foreign language search server 10. FIG. [Figure 4] 13 is a diagram showing the contents of a Pinyin search table with four-tone numbers stored in a Pinyin search table with four-tone numbers storage area 12d of the foreign language search server 10. FIG. [Diagram 5] 11 is a flowchart showing a four-tone pinyin wildcard search process (part 1) executed on the Chinese-Japanese dictionary of the foreign language search server 10. [Figure 6] 11 is a flowchart showing a four-tone pinyin wildcard search process (part 2) executed on the Chinese-Japanese dictionary of the foreign language search server 10. [Figure 7] 13 shows a foreign language search screen G of a Chinese-Japanese dictionary displayed on a communication terminal 20 in response to a four-tone Pinyin wildcard search process by a foreign language search server 10. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0011] (Configuration of the embodiment) FIG. 1 is a diagram showing the overall configuration of a search system 1 according to an embodiment of a search device, a search method, and a program of the present invention.

[0012] The search system 1 includes a foreign language search server 10 (search device) provided on a communication network such as the Internet, and a communication terminal 20 on which an application program (server-using application) for using the foreign language search server 10 is installed.

[0013] The communication terminal 20 may be configured as an electronic device having a function of communicating with the foreign language search server 10, such as a smartphone, a tablet terminal, an electronic dictionary, a PC (personal computer), a mobile phone, an electronic book, or a portable game machine.

[0014] <Functions of Foreign Language Search Server 10> The foreign language search server 10 has at least the following functions (a) and (b).

[0015] (a) A function of storing and managing user information (including ID: identification information) of the communication terminal 20 in which the server-utilizing application is installed.

[0016] (b) A function to search for an entry corresponding to the search string from a dictionary database (DB) based on search characters (search string) entered from a foreign language search screen G displayed on the display unit 21 of the communication terminal 20, and to display explanatory information including the search result entry, its translation, meaning, usage example, explanation, etc. on the communication terminal 20.

[0017] <Electronic circuits of foreign language search server 10 and communication terminal 20> FIG. 2 is a block diagram showing the functional configuration of the foreign language search server 10 and the communication terminal 20. As shown in FIG.

[0018] The foreign language search server 10 includes a control unit (CPU: central processing unit) 11 which is a computer, a storage unit 12, a recording medium reading unit 14, a communication unit 15, an input unit 16, and a display unit 17.

[0019] The control unit 11 controls the operation of each part of the circuit in accordance with the server control program 12a stored in the memory unit 12, in response to an input signal corresponding to a user operation from the input unit 16, or a signal received by the communication unit 15 from a communication terminal 20 on the communication network N.

[0020] The server control program 12a may be pre-stored in the memory unit 12, or may be read from an external recording medium 13 such as a CD-ROM via the recording medium reading unit 14 and stored in the memory unit 12.

[0021] The server control program 12a includes programs for executing at least the above-mentioned functions (a) and (b).

[0022] In the memory unit 12, in addition to the memory area for the server control program 12a, a dictionary database memory area 12b, a Pinyin search table without four-tone numbers memory area 12c, a Pinyin search table with four-tone numbers memory area 12d, a user management data memory area 12e, a search character data memory area 12f, a search result data memory area 12g, and a working data memory area 12h are secured.

[0023] In the dictionary database storage area 12b, various dictionary data such as a Chinese-Japanese dictionary, an English-Japanese dictionary, a German-Japanese dictionary, a French-Japanese dictionary, and a Japanese dictionary that convert between words and usages in Chinese, which is a tonal language, and words and usages in Japanese are stored as dictionary data that associates words and phrases that are headwords with explanatory information such as translations, meanings, examples, and explanations that correspond to the headwords for each data number that serves as an index.

[0024] FIG. 3 is a diagram showing the contents of the four-tone no-digit Pinyin search table stored in the four-tone no-digit Pinyin search table storage area 12c of the foreign language search server 10. As shown in FIG.

[0025] The four-tone number-free Pinyin search table (12c) describes, in correspondence with the data number of the entry word in the Chinese-Japanese dictionary in the dictionary database storage area 12b, the four-tone number-free Pinyin entry word string corresponding to the reading that does not include tone symbols (four-tone numbers 1 to 4) in the phonetic notation system in which the entry word is converted into an alphabetic string with tone symbols.

[0026] FIG. 4 is a diagram showing the contents of the Pinyin search table with four-tone numbers stored in the Pinyin search table with four-tone numbers storage area 12d of the foreign language search server 10. As shown in FIG.

[0027] The four-tone number pinyin search table (12d) corresponds to the data number of the entry word in the Chinese-Japanese dictionary in the dictionary database storage area 12b, and describes the reading of the entry word that includes tone symbols (four tone numbers 1 to 4) for each syllable in the phonetic notation system in which the entry word is converted into an alphabetic string with tone symbols, and the four-tone number pinyin entry word string corresponding to the entry word.

[0028] In the embodiment, the foreign language search server 10 stores two tables, a Pinyin search table without four-tone numbers (12c) and a Pinyin search table with four-tone numbers (12d). However, when it is necessary to obtain a Pinyin headword string without four-tone numbers without storing the Pinyin search table without four-tone numbers (12c), the Pinyin search table with four-tone numbers may be read out by omitting the four-tone numbers (1 to 4) from the Pinyin search table with four-tone numbers (12d).

[0029] In the user management data storage area 12e, user attributes (school, grade, etc.) are stored in association with a user ID (user identification information: for example, an application ID) for each user of the communication terminal 20 that has installed the server-utilizing application.

[0030] Search character data storage area 12f stores data of search characters (search character strings) input from communication terminal 20 when communication terminal 20 uses foreign language search server 10.

[0031] The search result data memory area 12g stores data of the search results searched from the dictionary database (12b) based on the data of the search characters (search character strings) stored in the search character data memory area 12f (for example, the type of dictionary searched and the data number of the searched headword, or the searched headword and its explanatory information).

[0032] In the working data storage area 12h, various data generated or acquired in response to the control of the operation of each part by the control unit 11 is temporarily stored as necessary.

[0033] In the foreign language search server 10 configured in this manner, the control unit 11 controls the operation of each part of the circuit in accordance with the commands written in the server control program 12a, and the software and hardware operate in cooperation to realize various functions as described in the operation explanation below.

[0034] Similarly to the foreign language search server 10, the electronic circuit of the communication terminal 20 includes a control unit (CPU) 22, a memory unit 23, a recording medium reading unit 24, a communication unit 25, an input unit 26, and a display unit (touch panel type) 21, and the above-mentioned server-used application is stored in the memory unit 23. This server-used application may be received from the foreign language search server when the foreign language search server 10 and the communication terminal 20 are connected, and executed as a program executable on a Web browser.

[0035] (Operation of the embodiment) Next, the operation of the search system 1 according to the embodiment will be described.

[0036] FIG. 5 is a flow chart showing a four-tone pinyin wildcard search process (part 1) executed on the Chinese-Japanese dictionary of the foreign language search server 10. In FIG.

[0037] FIG. 6 is a flow chart showing a four-tone pinyin wildcard search process (part 2) executed on the Chinese-Japanese dictionary of the foreign language search server 10. In FIG.

[0038] FIG. 7 is a diagram showing a foreign language search screen G of a Chinese-Japanese dictionary displayed on the communication terminal 20 in response to a four-tone pinyin wildcard search process by the foreign language search server 10. As shown in FIG.

[0039] For example, when communication terminal 20 is communicatively connected to foreign language search server 10 in accordance with a server-utilizing application installed on communication terminal 20, a Chinese-Japanese dictionary is designated as the user's preferred dictionary, and a search string corresponding to the headword to be looked up is input, the foreign language search server 10 displays a foreign language search screen G of the Chinese-Japanese dictionary on the display unit (touch panel type) 21 of communication terminal 20, as shown in FIG. 7.

[0040] It should be noted that the foreign language search screen G shown in Figure 7 is in a state where the entry of a search string into the search character input area AE has been completed, and the search result, the headword and its explanatory information, are displayed in the preview area PV. Initially, it is assumed that the entry of the search string into the search character input area AE is incomplete, and a list LS of headwords that begin with the incomplete search string is displayed, and a headword selected from the list LS and identified and displayed H, and its explanatory information, are displayed in the preview area PV.

[0041] In order to search for a Chinese entry word with some of its reading unknown, the user inputs a four-tone pinyin search string in which tone symbols are assigned to the alphabet of the reading, with the characters of the unknown part of the reading replaced with a wildcard [?], into the search character input area AE, and performs a wildcard search using four-tone pinyin.

[0042] A pinyin search string with four tones, in which tone symbols are assigned to the alphabet of pronunciation, is input, for example, by the foreign language search server 10 displaying on the communication terminal 20 a soft keyboard including alphabet keys and tone symbol keys.

[0043] Here, we will explain what happens when the four-tone Pinyin search string including the wildcard [?] entered in the search character input area AE is entered as "ba?cai" (the second character "a" has a two-tone tone symbol, and the fifth character "a" has a four-tone tone symbol).

[0044] When a Pinyin search string with four tones is entered in the search character input area AE, the control unit 11 of the foreign language search server 10 stores the entered Pinyin search string with four tones "ba?cai" (with tone symbols) in the search character data memory area 12f (step S1).

[0045] The control unit 11 converts the four tones (tone symbols) of the four-tone Pinyin search string "ba?cai" (with tone symbols) stored in the search character data storage area 12f into four-tone numbers (four-tone symbols: two tones is "2", four tones is "4") by converting them into an XML format description language in accordance with the tone symbol addition rules (rules regarding the location of tone symbols: added to the vowel that is the target of the four tones), and generates a four-tone Pinyin search string "ba2?ca4i" (first search target string) (step S2).

[0046] The control unit 11 generates a copy of the four-tone numbered Pinyin search string "ba2?ca4i" (the first search target string) and stores it in the working data storage area 12h (step S3).

[0047] The control unit 11 adds "0" immediately after the character without a number (alphabet indicating a consonant) and adds a wildcard [?] for the four-tone number immediately after the wildcard [?] of the four-tone number-attached Pinyin search string "ba2?ca4i" (first search target string) that has been XML converted and stored in the search character data storage area 12f in step S2, thereby generating a four-tone number-attached Pinyin search string "b0a2??c0a4i0" (second search target string) for wild search (step S4). Note that in this embodiment, the control unit 11 is configured to add the wildcard [?] for the four-tone number when the user inputs the character of the unknown part of the reading as the wildcard [?], but the user may input the unknown part as the wildcard [?] and the wildcard [?] for the four-tone number consecutively by any operation.

[0048] Here, a "0" placed immediately after a character with no numeral (a letter indicating a consonant) means that the corresponding character is a consonant and therefore has no tone symbol (four-tone numeral), and a [?] placed immediately after a wildcard [?] means that two consecutive wildcards [?] indicate whether the character (letter) in the corresponding position is a consonant or a vowel, and if it is a vowel, the tone symbol is unknown.

[0049] Meanwhile, the control unit 11 deletes the four-tone numerals from the Pinyin search string with four-tone numerals "ba2?ca4i" (the first search target string) that was duplicated and stored in the working data memory area 12h in step S3, and generates the Pinyin search string "ba?cai" without the four-tone numerals (step S5).

[0050] The control unit 11 acquires the search start position and search end position of the entry word targeted for the Chinese-Japanese dictionary as data numbers (for example, search start position "1" and search end position "last number") (step S6).

[0051] The control unit 11 acquires the data number (here, "1") of the undetermined headword as the search target (step S7), and acquires the four-tone no-digit Pinyin headword string corresponding to the data number of the undetermined headword acquired in step S7 from the four-tone no-digit Pinyin search table (12c) (see Figure 3) (step S8).

[0052] The control unit 11 compares the Pinyin search string "ba?cai" without four-tone digits and including the wildcard [?] generated in step S5 with the Pinyin headword string without four-tone digits obtained in step S8, and determines whether the total number of characters and characters other than the wildcard [?] match (mismatch) (step S9).

[0053] If it is determined that there is a mismatch in step S9 (step S9<mismatch>), the control unit 11 determines whether the data number corresponding to the pinyin headword string without four-tone numbers that was the subject of the determination in step S9 has reached the search end position "final number" (step S15), and if it is determined that the search end position "final number" has not been reached (step S15<not end position>), it obtains the data number of the next undetermined headword as the search target, and repeatedly compares the pinyin search string "ba?cai" without four-tone numbers including the wildcard [?] with the pinyin headword string without four-tone numbers that corresponds to the obtained data number (steps S7 to S9).

[0054] Here, if it is determined that the Pinyin search string without four-tone numbers "ba?cai" matches the Pinyin headword string without four-tone numbers "baicai", for example, data number "11" shown in Figure 3 (step S9 <match>), the control unit 11 retrieves the Pinyin headword string with four-tone numbers "bai2cai4" corresponding to the data number "11" of the matching Pinyin headword string without four-tone numbers "baicai" (conversion candidate) from the Pinyin search table with four-tone numbers (12d) (see Figure 4) (step S10).

[0055] The control unit 11 rearranges the positions of the numbers (here, "2" and "4") of the four-tone numbered Pinyin entry string "bai2cai4" acquired in step S10 according to the tone symbol addition rules (added to the vowels that are the target of the four tones) to generate a four-tone numbered Pinyin entry string "ba2ica4i" (conversion candidate string) (step S11).

[0056] Then, a "0" is added to the non-digit characters (alphabetical characters indicating consonants) of the four-tone numbered Pinyin entry string "ba2ica4i" generated in step S11 to generate a four-tone numbered Pinyin entry string "b0a2i0c0a4i0" (conversion candidate string) for wild search (step S12).

[0057] The control unit 11 compares the four-tone numbered Pinyin search string for wild search generated in step S4 ("b0a2??c0a4i0") (second search target string) with the four-tone numbered Pinyin headword string for wild search generated in step S12 ("b0a2i0c0a4i0"), and determines whether the total number of characters and characters other than the wildcard [?] match (mismatch) (step S13).

[0058] Here, if it is determined that the Pinyin search string with four-tone numbers for wild search "b0a2i0c0a4i0" (conversion candidate string) matches the Pinyin search string with four-tone numbers for wild search "b0a2??c0a4i0" (second search target string) (step S13<match>), the control unit 11 stores the data number corresponding to the matching Pinyin headword string "b0a2i0c0a4i0" (data number "11" corresponding to the Pinyin headword string with four-tone numbers "bai2cai4" acquired in step S10) in the search result data memory area 12g as the search result (comparison result) (step S14).

[0059] In addition, data of the entry word corresponding to the data number may be read out from the dictionary database (12b) and stored as the search result (comparison result) in the search result data storage area 12g.

[0060] The control unit 11 determines whether the data number stored as the search result in step S14 has reached the search end position "final number" (step S15), and if it is determined that the search end position "final number" has not been reached (step S15 <not end position>), it obtains the data number of the next undetermined heading word as the search target, and repeats the processing from step S7 onwards.

[0061] After that, in step S7, when the data number of the next undetermined headword (for example, "45") is obtained, if it is determined that the Pinyin search string without four-tone numbers "ba?cai" matches the Pinyin search string without four-tone numbers "bancai" (step S9 <match>), the control unit 11 obtains the Pinyin headword string with four-tone numbers "ban3cai2" corresponding to the data number "45" of the matching Pinyin headword string without four-tone numbers "bancai" (conversion candidate) from the Pinyin search table with four-tone numbers (12d) (see Figure 4) (step S10).

[0062] As described above, the control unit 11 rearranges the positions of the numbers (here, "3" and "2") of the four-tone numbered Pinyin entry string "ban3cai2" acquired in step S10 according to the tone symbol addition rules (added to the vowels that are the target of the four tones) to generate a four-tone numbered Pinyin entry string "ba3nca2i" (conversion candidate string) (step S11).

[0063] Then, a "0" is added to the letters (alphabet) without numbers in the four-tone numbered Pinyin entry string "ba3nca2i" generated in step S11, to generate a four-tone numbered Pinyin entry string "b0a3n0c0a2i0" (conversion candidate string) for wild search (step S12).

[0064] The control unit 11 compares the four-tone numbered Pinyin search string for wild search generated in step S4 ("b0a2??c0a4i0") (second search target string) with the four-tone numbered Pinyin headword string for wild search generated in step S12 ("b0a3n0c0a2i0"), and determines whether the total number of characters and characters other than the wildcard [?] match (mismatch) (step S13).

[0065] If it is determined that the four-tone numbered Pinyin search string for wild search "b0a2??c0a4i0" does not match the four-tone numbered Pinyin headword string for wild search "b0a3n0c0a2i0" (step S13 <mismatch>), the control unit 11 determines whether the data number "45" of the four-tone numbered Pinyin headword character "ban3cai2" (conversion candidate string) corresponding to the four-tone numbered Pinyin headword string for wild search "b0a3n0c0a2i0" that was the subject of determination in step S13 has reached the search end position "final number" (step S15), and if it is determined that the search end position "final number" has not been reached (step S15 <not end position>), it again obtains the data number of the next undetermined headword as the search target, and repeats the processing from step S7 onwards.

[0066] Thereafter, in step S15, if it is determined that the data number corresponding to the Pinyin headword string without four-tone numbers that was the subject of judgment in step S9 has reached the search end position "final number", or if it is determined that the data number corresponding to the Pinyin headword string with four-tone numbers that was the subject of judgment in step S13 has reached the search end position "final number" (step S15<end position>), the control unit 11 terminates the series of four-tone Pinyin wildcard search processes.

[0067] The control unit 11 reads out from the Chinese-Japanese dictionary data (12b) the entry word "baicai" corresponding to the data number of the search result (comparison result) stored in the search result data storage area 12g (if multiple data numbers are stored as the search result, multiple corresponding entry words are read out), and displays it in the list LS of the foreign language search screen G displayed on the display unit 21 of the communication terminal 20, as shown in Fig. 7. Then, the entry word "baicai" specified and identified and displayed H in the list LS and its explanatory information are displayed in the preview area PV.

[0068] When the preview area PV of the foreign language search screen G is specified, for example, by a user touching it, the control unit 11 displays the headword and its explanatory information displayed in the preview area PV as a headword explanation screen (not shown) across the entire screen of the display unit 21.

[0069] In this way, even if part of the reading of a Chinese word (phrase) is unknown, by entering a four-tone Pinyin search string in which tone symbols are assigned to the alphabet of the reading and the characters in the unknown part of the reading are replaced with a wildcard [?] into the search character input area AE, a wildcard search process using four-tone Pinyin can be performed and the desired word (phrase) can be searched for with high accuracy.

[0070] (Summary of the embodiment) According to the search system 1 of the embodiment, when a pinyin search string with tone symbols in which unknown readings are replaced with a wildcard [?] is input from the communication terminal 20, the foreign language search server 10 performs XML conversion on the input pinyin search string with tone symbols to generate a pinyin search string with four-tone numbers (first search target string) in which the four-tone numbers are added in accordance with the tone symbol addition rules.

[0071] The foreign language search server 10 obtains a Pinyin entry word string without four-tone numbers (conversion candidate) that matches a Pinyin search string without four-tone numbers obtained by removing the four-tone numbers from a Pinyin search string with four-tone numbers (first search target string) other than the wildcard [?] from a Pinyin search table without four-tone numbers 12c corresponding to an entry word of the Chinese-Japanese dictionary, and obtains a Pinyin entry word string with four-tone numbers (conversion candidate string) of the corresponding entry word from a Pinyin search table with four-tone numbers 12d corresponding to the entry word of the Chinese-Japanese dictionary.Then, from the Pinyin entry word string with four-tone numbers (conversion candidate string), it rearranges the four-tone numbers according to the tone symbol addition rule and further generates a Pinyin entry word string with four-tone numbers (conversion candidate string) for wild search by adding "0" to characters without four-tone numbers.

[0072] The foreign language search server 10 generates a Pinyin search string with four-tone numbers for wild search (second search target string) by adding "0" to characters that do not have four-tone numbers in the Pinyin search string with four-tone numbers (first search target string) and adding [?] immediately after the wild card [?], and compares and determines whether the Pinyin search string with four-tone numbers for wild search entry word string (conversion candidate string) matches this Pinyin search string with four-tone numbers for wild search (second search target string). If they match, the entry word in the Chinese-Japanese dictionary that corresponds to the matching Pinyin search string with four-tone numbers for wild search entry word string (conversion candidate string) is stored as the search result (comparison result) and output to the communication terminal 20 for display.

[0073] In this way, a wild search pinyin search string with four-tone numbers (second search target string) is generated from the input pinyin search string with tone symbols (first search target string) corresponding to the input pinyin search string with tone symbols containing the wildcard [?], with "0" added to characters without four-tone numbers and [?] added to wildcard [?], and a wild search pinyin entry word string with four-tone numbers (conversion candidate string) is generated by adding "0" to characters without four-tone numbers in the pinyin entry word string with four-tone numbers corresponding to the entry word of the Chinese-Japanese dictionary that matches the pinyin search string without four-tone numbers. By comparing and determining whether the generated pinyin search string with four-tone numbers for wild search (second search target string) and the pinyin entry word string with four-tone numbers (conversion candidate string) match, a Chinese wildcard search can be performed by inputting a pinyin search string with tone symbols in which unknown readings are replaced with wildcards [?].

[0074] This makes it possible to accurately search for Chinese (a tonal language) whose readings and tones are unknown.

[0075] In the present embodiment, a wildcard search in Chinese words as a tonal language has been described in detail, but the present invention can also be applied to other foreign languages ​​as long as they are tonal languages, such as Vietnamese, Thai, and Croatian.

[0076] Furthermore, in the above embodiment, the search system 1 is composed of a foreign language search server 10 (search device) and a communication terminal 20 having a communication function with the foreign language search server 10, but the data and functions of the foreign language search server 10 (search device) may be provided in an electronic device such as a communication terminal 20, i.e., a smartphone, tablet terminal, electronic dictionary, PC, mobile phone, e-book, portable game console, etc., and the foreign language search function including the four-tone pinyin wildcard search processing described above may be realized by the electronic device (search device) alone.

[0077] Each of the processing methods by the foreign language search server 10 (search device) of the search system 1 described in the above embodiments, i.e., each of the methods such as the four-tone pinyin wildcard search processing shown in the flowcharts of Figures 5 and 6, can be distributed as a program that can be executed by a computer, stored in a medium of an external recording device such as a memory card (ROM card, RAM card, etc.), a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), or a semiconductor memory. Then, the control unit (CPU) of the electronic device loads the program recorded in the medium of the external recording device into the storage device, and the operation is controlled by the loaded program, thereby realizing the various functions described in the embodiments and executing similar processing by the above-mentioned methods.

[0078] In addition, the program data for realizing each technique can be transmitted over a communication network (N) in the form of program code, and the program data can be imported into an electronic device from a computer device (program server) connected to this communication network (N) and stored in a storage device to realize the various functions described above.

[0079] The present invention is not limited to the embodiments, and can be modified in various ways without departing from the gist of the invention. The embodiments may be combined as appropriate, and in that case, the combined effects can be obtained. Furthermore, the embodiments include various inventions, and various inventions can be extracted by combinations selected from the multiple components disclosed. For example, if the problem can be solved and the effect can be obtained even if some components are deleted from all the components shown in the embodiments, the configuration from which the components are deleted can be extracted as an invention. [Explanation of symbols]

[0080] 1. Search system 10 … Foreign language search server (search device) 11...Control unit (CPU) 12...Storage section 12a…Server control program 12b…Dictionary database storage area 12c…Four-tone no-digit pinyin search table storage area 12d…Pinyin search table storage area with four-tone numbers 12e...User management data storage area 12f…Search character data storage area 12g…Search result data storage area 12h: Working data storage area 13. External recording media 14 ... Recording medium reading unit 15 … Communications Department 20...Communication terminal 21 … Display unit (touch panel type) G … Foreign language search screen

Claims

1. A character string including a predetermined number of characters including an unknown character and a tone symbol is obtained as a first search target character string; acquiring, as a conversion candidate, a character string that matches a character string obtained by removing the tone mark from the acquired first search target character string; Adding tone symbols to the conversion candidates to generate conversion candidate character strings consisting of a predetermined number of characters; generating a second search target character string by adding a character indicating an unknown tone symbol immediately after at least the unknown character among each character of the first search target character string; comparing the second search target character string with the conversion candidate character string and outputting a comparison result; A search device comprising a control unit.

2. 2. The search device according to claim 1, wherein the control unit further generates a second search target string by adding a character indicating no tone to each character of the first search target string other than the unknown character.

3. 3. The search device according to claim 1, wherein the control unit rearranges the tone symbols included in the conversion candidate character strings based on a rule regarding the positions of the tone symbols.

4. 2. The search device according to claim 1, wherein the control unit converts the input character string into an XML format description language based on rules regarding the positions of tone marks, and acquires the converted character string as the first search target character string.

5. 3. The search device according to claim 1, wherein the control unit generates the conversion candidate character string by adding a character indicating no tone to each character to which the tone symbol is not added, and compares the generated conversion candidate character string with the second search target character string.

6. 2. The search device according to claim 1, wherein the control unit acquires, as the conversion candidate, a character string that matches a character string obtained by removing tone symbols from the first search target character string, from a table of character strings corresponding to a predetermined phonetic notation system corresponding to an entry word in a dictionary.

7. 2. The search device according to claim 1, wherein the control unit generates conversion candidate character strings consisting of the predetermined number of characters based on a table of character strings corresponding to the predetermined phonetic notation system to which tone symbols corresponding to dictionary entries have been added.

8. A search device comprising: a control unit that, when inputting a character string consisting of a predetermined number of characters including an unknown character and a tone symbol, generates a search target character string by inputting the unknown character followed immediately by a character indicating an unknown tone symbol.

9. A search method executed by a search device, comprising: A character string including a predetermined number of characters including an unknown character and a tone mark is obtained as a first search target character string; acquiring, as a conversion candidate, a character string that matches a character string obtained by removing the tone mark from the acquired first search target character string; Adding tone symbols to the conversion candidates to generate conversion candidate character strings consisting of a predetermined number of characters; generating a second search target character string by adding a character indicating an unknown tone mark immediately after at least the unknown character among each character of the first search target character string; comparing the second search target character string with the conversion candidate character string and outputting a comparison result; A search method comprising:

10. A control unit of the search device A character string including a predetermined number of characters including an unknown character and a tone mark is obtained as a first search target character string; acquiring, as a conversion candidate, a character string that matches a character string obtained by removing the tone mark from the acquired first search target character string; Adding tone symbols to the conversion candidates to generate conversion candidate character strings consisting of a predetermined number of characters; generating a second search target character string by adding a character indicating an unknown tone mark immediately after at least the unknown character among each character of the first search target character string; comparing the second search target character string with the conversion candidate character string and outputting a comparison result; A program that functions to carry out processing.

Citation Information

Patent Citations

  • Method and device for automatically proofreading chinese document

    JP1998269204A

  • Retrieval device

    JP1998269238A

  • Retrieval device

    JP1998269239A

  • Headword display control device and program therefor

    JP2007048187A