Procedure for fining all words contained within any given word including creation of a dictionary
First Claim
1. A computer implemented method for processing words from a standard dictionary into a special dictionary by using a programmable digital computer system comprising the following steps:
- (a) inputting a word in upper case letters from the standard dictionary as a first of two string variables for use by the computer, creating a second such string variable from the first string variable by alphabetizing the letters in the first string variable and converting said letters to lower case, then appending the first string variable to the second string variable to provide a concatenated record and storing the result as one record in a different sequential disk file respectively created for each different length record,(b) repeating step a) for each different word of said standard dictionary.(c) placing the concatenated records in each sequential file in alphabetic order on disk media of the computer after input of such dictionary words is complete,(d) creating a corresponding random file for each sequential file in which the length of a record is equal to the length of the word so input from the standard dictionary in the sequential file, then reserving the first two words in each such random file for a finger index,(e) reading each sequential file, then writing both the lower and upper case words read to the corresponding random file, but if a succeeding record has the same lower case prefix as the one just written, then writing only the upper case word following the record just written, and(f) scanning the lower case words in each random file and storing the record number at which certain preselected letter prefixes change in a predetermined location of said first two words of the random file as a pointer or finger index.
0 Assignments
0 Petitions
Accused Products
Abstract
A procedure for finding words within words as implemented on a programmable digital computer first alphabetizes all letters in the given word then computes permutations of the alphabetized letters and compares them to a special dictionary created so that when a match is found in it this refers to dictionary words that are anagrams of the permutation of letters. The special dictionary is created by first preprocessing each word into an alphabetic concatenation of the letters in it, then appending the word to this anagram. This list is separated by word length, alphabetized and stored in random files for fast table look up. A finger index is created and used in the procedure to further speed execution of the process.
-
Citations
3 Claims
-
1. A computer implemented method for processing words from a standard dictionary into a special dictionary by using a programmable digital computer system comprising the following steps:
-
(a) inputting a word in upper case letters from the standard dictionary as a first of two string variables for use by the computer, creating a second such string variable from the first string variable by alphabetizing the letters in the first string variable and converting said letters to lower case, then appending the first string variable to the second string variable to provide a concatenated record and storing the result as one record in a different sequential disk file respectively created for each different length record, (b) repeating step a) for each different word of said standard dictionary. (c) placing the concatenated records in each sequential file in alphabetic order on disk media of the computer after input of such dictionary words is complete, (d) creating a corresponding random file for each sequential file in which the length of a record is equal to the length of the word so input from the standard dictionary in the sequential file, then reserving the first two words in each such random file for a finger index, (e) reading each sequential file, then writing both the lower and upper case words read to the corresponding random file, but if a succeeding record has the same lower case prefix as the one just written, then writing only the upper case word following the record just written, and (f) scanning the lower case words in each random file and storing the record number at which certain preselected letter prefixes change in a predetermined location of said first two words of the random file as a pointer or finger index. - View Dependent Claims (2, 3)
-
Specification