Search improvements for electronic spelling machine
First Claim
1. In a machine spelling dictionary having a memory containing a dictionary of words arranged in a tree format, a keyboard to input a query word composed of a set of characters, and encode means to encode each input character string from said tree and from said keyboard into coded strings for purposes of comparing query and tree coded strings, the encoding improvement comprising:
- a look up table to encode word segments from said tree having N or fewer characters into a corresponding coded string, andalgorithm means for encoding word segments from said tree having more than N characters into a corresponding coded string,the word segments encoded by said look up table and by said algorithm means constituting the words in branch segments of the tree.
11 Assignments
0 Petitions
Accused Products
Abstract
Improvements in a hand-held spelling machine increase the speed with which a query word is compared against the words in memory. One technique is to provide a look up table to encode all character sets of one or two letters into a coded string. Where the set of letters is three or more characters, a previously known algorithm is employed. Search of the memory is limited to only a few main branches of the tree. The limitation is a function of the first query word letter. The time it takes to calculate the similarity function is saved in two circumstances. When a similarity function is calculated at a particular level of the tree and found to be great enough so that there is no prune of the tree, then that decision not to prune is carried forward for other tree branches having the same letters prior to the level involved.
-
Citations
9 Claims
-
1. In a machine spelling dictionary having a memory containing a dictionary of words arranged in a tree format, a keyboard to input a query word composed of a set of characters, and encode means to encode each input character string from said tree and from said keyboard into coded strings for purposes of comparing query and tree coded strings, the encoding improvement comprising:
-
a look up table to encode word segments from said tree having N or fewer characters into a corresponding coded string, and algorithm means for encoding word segments from said tree having more than N characters into a corresponding coded string, the word segments encoded by said look up table and by said algorithm means constituting the words in branch segments of the tree. - View Dependent Claims (2)
-
-
3. In a machine spelling dictionary having a memory containing a dictionary of words arranged in a tree format, a keyboard to input a query word composed of a set of characters, an encode means to encode each input characteristic string into a coded string, means for pruning the tree as a function of a similarity characteristic between the coded string of the query word and the coded string of a memory word from the tree, the pruning occurring when the similarity characteristic falls below a predetermined threshold, the improvement comprising:
-
means responsive to the similarity characteristic at a node at a tree level N to provide an automatic termination function where said similarity characteristic is greater than a predetermined threshold, means responsive to said automatic termination function to omit the calculation of said similarity function at said tree level N for all branches that stem from the node at level N-1 that precedes said node at level N, whereby pruning is avoided for all branches so affected. - View Dependent Claims (4, 5, 6, 7, 8, 9)
-
Specification