Method of and vector processor for searching text for key words based on candidate character strings obtained from the text using parallel processing
First Claim
1. A vector processor for searching a text character string for a candidate character string likely to coincide with one of a plurality of key word character strings, comprising:
- first generating means for generating, from the text character string, a text vector including elements representing each of the characters in the text character string;
second generating means for generating, from the key word character strings and the text vector, an appearance mode vector including elements representing an appearance mode for each different character in the text character string, the appearance mode for each character indicating at least if the character appears in at least one of the key word character strings;
storing means for storing the text vector and the appearance mode vector;
first reading means for sequentially reading the elements of the text vector from the storing means;
second reading means for reading, from the storing means, the elements of the appearance mode vector corresponding to the elements of the text vector sequentially read from the storing means by the first reading means; and
detecting means for detecting a candidate character string constituted by a sequence of characters in the text character string each appearing in at least one of the key word character strings based on the elements of the text vector sequentially read from the storing means by the first reading means and the elements of the appearance mode vector read from the storing means by the second reading means, the sequence of characters being a continuous series of characters in the text character string.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to a method of search in which a plurality of candidate of character strings likely to coincide with a designated key word are detected from a text character string, and it is decided whether the candidate character strings detected include a character string coincident with the key word character string. Further, the sequence of detection of character string candidates is determined in such a manner that a portion having a succession of characters coincident with any of a plurality of characters included in the key word character string is selected as a candidate character string.
-
Citations
39 Claims
-
1. A vector processor for searching a text character string for a candidate character string likely to coincide with one of a plurality of key word character strings, comprising:
-
first generating means for generating, from the text character string, a text vector including elements representing each of the characters in the text character string; second generating means for generating, from the key word character strings and the text vector, an appearance mode vector including elements representing an appearance mode for each different character in the text character string, the appearance mode for each character indicating at least if the character appears in at least one of the key word character strings; storing means for storing the text vector and the appearance mode vector; first reading means for sequentially reading the elements of the text vector from the storing means; second reading means for reading, from the storing means, the elements of the appearance mode vector corresponding to the elements of the text vector sequentially read from the storing means by the first reading means; and detecting means for detecting a candidate character string constituted by a sequence of characters in the text character string each appearing in at least one of the key word character strings based on the elements of the text vector sequentially read from the storing means by the first reading means and the elements of the appearance mode vector read from the storing means by the second reading means, the sequence of characters being a continuous series of characters in the text character string. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of searching a plurality of candidate character strings for a character string coinciding with a key word character string, the candidate character strings being likely to coincide with the key word character string and having been detected from a text character string, the key word character string being constituted by a sequence of characters, the method being performed by a computer and comprising the steps of:
-
(a) storing state transition destination information including a state transition destination for each of a plurality of characters which may appear in the text character string for each of a plurality of states determined by the sequence of the characters of the key word character string, the states including a final state indicating that an end of the sequence of the characters of the key word character string has been reached; (b) determining, based on the state transition destination information stored in the step (a), if the state transition destination for a leading character of each candidate character string is the final state indicating that the end of the sequence of the characters of the key word character string has been reached; (c) determining, based on the state transition destination information stored in the step (a), if the state transition destination for a second character of each candidate character string is the final state indicating that the end of the sequence of the characters of the key word character string has been reached; (d) repeating the step (c) for each remaining character of each candidate character string; and (e) if it is determined in any of the steps (b), (c), and (d) that the state transition destination for one character of one of the candidate character strings is the final state indicating that the end of the sequence of the characters of the key word character string has been reached, detecting a character string constituted by the characters of the one candidate character string from the leading character of the one candidate character string up to and including the one character of the one candidate character string as the character string coinciding with the key word character string. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A method of searching a text character string for a candidate character string likely to coincide with one of a plurality of key word character strings, the method being performed by a computer and comprising the steps of:
-
(a) generating, from the text character string, a text vector including elements representing each of the characters in the text character string, the computer storing the elements of the text vector after the text vector has been generated; (b) generating, from the key word character strings and the text vector, an appearance mode vector including elements representing an appearance mode for each different character in the text character string, the appearance mode vector for each character indicating at least if the character appears in at least one of the key word character strings, the computer storing the elements of the appearance mode vector after the appearance mode vector has been generated; (c) sequentially reading the elements of the text vector; (d) reading the elements of the appearance mode vector corresponding to the elements of the text vector sequentially read in the step (c); and (e) detecting a candidate character string constituted by a sequence of characters in the text character string each appearing in at least one of the key word character strings based on the elements of the text vector sequentially read in the step (c) and the elements of the appearance mode vector read in the step (d), the sequence of characters being a continuous series of characters in the text character string. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A method of searching a text character string for a candidate character string likely to coincide with a key word character string, the method being performed by a computer and comprising the steps of:
-
(a) determining, for each character in the text character string, an appearance mode indicating at least if the character appears in the key word character string; and (b) detecting, from the text character string, a candidate character string constituted by a sequence of characters each appearing in the key word character string based on the appearance mode for each character in the text character string, the sequence of characters being a continuous series of characters in the text character string. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. A method of searching a text character string for a character string coinciding with a key word character string, the method being performed by a computer and comprising the steps of:
-
(a) detecting, from the next character string, a plurality of candidate character strings likely to coincide with the key word character string; and (b) determining if the candidate character strings include a candidate character string coinciding with the key word character string; wherein the step (a) includes the substep of detecting a plurality of sequences of characters from the text character string, each of the sequences of characters being a continuous series of characters in the text character string, wherein each of the characters in each of the sequences of characters appears in the key word character string such that the sequences of characters constitute respective candidate character strings likely to coincide with the key word character string.
-
-
38. A method of searching a text character string for a character string coinciding with a key word character string, the method being performed by a computer and comprising the steps of:
-
(a) detecting, from the text character string, a plurality of candidate character strings likely to coincide with the key word character string; and (b) determining if the candidate character strings include a candidate character string coinciding with the key word character string; wherein the key word character string is one of a plurality of key word character strings, the step (a) includes the substep of detecting a sequence of characters from the text character string, the sequence of characters being a continuous series of characters in the text character string, wherein each of the characters in the sequence of characters appears in at least one of the key word character strings such that the sequence of characters constitutes a candidate character string likely to coincide with any of the key word character strings, and the step (b) includes the substep of determining if the sequence of characters coincides with any of the key word character strings.
-
-
39. A method of searching a text character string for a character string coinciding with a key word character string, the method being performed by a computer and comprising the steps of:
-
(a) detecting, from the text character string, a plurality of candidate character strings likely to coincide with the key word character string; and (b) determining of the candidate character strings include a candidate character string coinciding with the key word character string; wherein the key word character string is one of a plurality of key word character strings, the step (a) includes the substeps of (a1) detecting a plurality of candidate character strings likely to coincide with any of the key word character strings from (1) a text vector including elements representing each of the characters in the text character string and (2) a plurality of key word vectors each including elements representing each of the characters in a respective one of the key word character strings, and (a2) generating a primary result vector including elements each representing a respective one of the candidate character strings, and the step (b) includes the substep of determining, based on the primary result vector, if each of the candidate character strings coincides with any of the key word character strings.
-
Specification