Pattern string matching apparatus and pattern string matching method
First Claim
1. A character string matching apparatus for effecting a process for matching between a first character string, which comprises a plurality of characters as a result of a recognition of characters, and a second character string, which comprises a plurality of characters stored in a dictionary in advance, comprising:
- a first table comprising a matrix of cells of rows and columns for specifying types of the characters appearing in the first character string and orders of the characters appearing in the first character string;
a second table comprising a one-row memory for voting for each second character sting, in which a calculated value of each of the components of various types of second character strings to be matched with respect to the first character string in the direction of the second character string is stored, the second table is provided with a link for the first table based on the type of each character in the second character string and the orders of appearance and types of the characters specified by the first table, wherein the link indicates the memory address of the voting position in the second table;
voting means for casting a vote to the second table with respect to each of the characters of the first character string which has been input based on a correspondency of the first table with the second table; and
determining means for determining whether or not the first character string and the second character string are matched based on a result of voting to the second table as a result of the voting by said voting by the voting means executed with respect to all of the characters of the first character string.
0 Assignments
0 Petitions
Accused Products
Abstract
This invention is to compare each character of a first character string with each character of a second character string, vote for a matrix having two sides corresponding to the characters of the first character string and the characters of the second character string and calculate values of the voting result for respective components arranged in an oblique direction of the matrix. The matching result is determined based on the calculated values of the voting result. As a result, a high-speed and highly precise matching process which is noise-resistant and takes the character arrangement into consideration can be attained.
20 Citations
8 Claims
-
1. A character string matching apparatus for effecting a process for matching between a first character string, which comprises a plurality of characters as a result of a recognition of characters, and a second character string, which comprises a plurality of characters stored in a dictionary in advance, comprising:
-
a first table comprising a matrix of cells of rows and columns for specifying types of the characters appearing in the first character string and orders of the characters appearing in the first character string; a second table comprising a one-row memory for voting for each second character sting, in which a calculated value of each of the components of various types of second character strings to be matched with respect to the first character string in the direction of the second character string is stored, the second table is provided with a link for the first table based on the type of each character in the second character string and the orders of appearance and types of the characters specified by the first table, wherein the link indicates the memory address of the voting position in the second table; voting means for casting a vote to the second table with respect to each of the characters of the first character string which has been input based on a correspondency of the first table with the second table; and determining means for determining whether or not the first character string and the second character string are matched based on a result of voting to the second table as a result of the voting by said voting by the voting means executed with respect to all of the characters of the first character string. - View Dependent Claims (2, 3, 4)
-
-
5. A character string matching method for effecting a process for matching between a first character string, which comprises a plurality of characters as a result of a recognition of characters, and a second character string, which comprises a plurality of characters stored in a dictionary in advance, comprising:
-
specifying types of the characters appearing in the first character string and orders of the characters appearing in the first character string by a first table comprising a matrix of cells of rows and columns; providing a second table comprising a one-row memory for voting for each second character string, in which a calculated value of each of the components of various types of second character strings to be matched with respect to the first character string in the direction of the second character string is stored, and a link for the first table based on the type of each character in the second character string and the orders of appearance and types of the characters specified by the first table, wherein the link indicates the memory address of the voting position in the second table; casting a vote to the second table with respect to each of the characters of the first character string which has been input, based on a correspondency of the first table with the second table; and determining whether or not the first character string and the second character string are matched based on the result of voting to the second table as a result of the voting by said voting by the voting means executed with respect to all of the characters of the first character string. - View Dependent Claims (6, 7, 8)
-
Specification