Recognition system using lexical trees

Abstract: The dynamic programming technique employs a lexical tree that is encoded in computer memory as a flat representation in which the nodes of each generation occupy contiguous memory locations. The traversal algorithm employs a set of traversal rules whereby nodes of a given generation are processed before the parent nodes of that generation. The deepest child generation is processed first and traversal among nodes of each generation proceeds in the same topological direction.

Description: The present invention relates to a dynamic processing system, comprising a tree data structure implemented in a computer-readable memory accessible by a processor, said tree data structure having a plurality of nodes that topologically define a root node and a plurality of parent-child generations, including a deepest child generation that is topologically furthest from the root. Dynamic programming techniques are commonly used today for time-warping problems in both isolated and continuous speech recognition and optimum word sequence searching problems in continuous speech (connected word) recognition. A well known type of dynamic programming recognition that can be used in the context of the Hidden Markov Model (HMM) is the Viterbi algorithm. Dynamic programming techniques can also be used with a variety of other types of speech models besides HMMs, such as neural network models, for example. The classic Viterbi algorithm is an inductive algorithm in which at each instant (each frame) the algorithm stores the best possible state sequence for each of the end states as an intermediate stage for the desired observation sequence O. In this way, the algorithm ultimately discovers the best path for each of the end states as the last state for the desired observation sequence. Out of these, the algorithm selects the one with the highest probability. The classic Viterbi algorithm proceeds frame-by-frame, seeking to find the best match between a spoken utterance and the previously trained models. Taking the case of a Hidden Markov Model recogniser as an example, the probability of the observed sequence (the test speaker's utterance) being generated by the model (HMM) is the sum of the probabilities for each possible path through all possible observable sequences. The probability of each path is calculated and the most likely one identified. The Viterbi algorithm calculates the most likely path and remembers the states through which it passes. The classic Viterbi algorithm is computationally expensive. It keeps extensive linked lists or hash tables to maintain the list of all active hypotheses (or tokens). A great deal of computational energy is expended in the book keeping operations of storing and consulting items from these lists or tables. Because the classic Viterbi algorithm is computationally expensive, it can noticeably slow down the apparent speed of the speech recogniser. This is especially problematic in real-time systems where a prompt response time is needed. A current solution is simply to use more powerful processors - an expensive solution which can undesirable in some embedded systems and small consumer products, like cellular telephones and home entertainment equipment. A method of automatically recognising data is disclosing in US 5,983,180. Sequential data units represented as sequential tokens are grouped into one or more items. Known items are stored as respective finite state sequence models. Each state corresponds to a token and the models which have common prefix states are organised in a tree structure such that suffix states comprise branches from common prefix states and there are a plurality of tree structures each having a different prefix state. Each sequential data unit is compared with stored reference data units identified by reference tokens to generate scores indicating the similarity of the data units to reference data units. An accumulated score for the final state in the models is determined by steps of sequentially calculating the accumulated score for a model to reach the final state comprising a leaf in the tree; identifying the closest branch to the leaf corresponding to a next model for which an accumulated score for the final stage has not yet been calculated; and accumulating the score from the identified closest branch for the next model to the final state. These steps are repeated for the branches of the trees. The item corresponding to a model having the highest accumulated score is recognised as the model best matching the data. The invention as defined in claims 1 and 15. According to an aspect of the present invention, there is provided a dynamic programming system of the aforesaid type, characterised by a traversal algorithm implemented by the processor, said algorithm traversing the nodes based on a set of traversal rules whereby nodes of a given generation are processed before the parent node of said given generation and processed, the deepest child generation is processed first and traversal among nodes of each generation proceeds in the topological direction. The invention will now be described by way of example only, with reference to the accompanying drawings, of which: Figure 1 is a block diagram of a speech recogniser illustrating how a decoder constructed in accordance with the present invention may be used to implement a model-based recogniser; Figure 2 shows the presently preferred data structure for the lexical tree employed by the invention; Figure 3 is a data structure diagram used to represent each node of the lexical tree; Figure 4a is a time-line diagram illustrating the basic task performed by a decoder employing the invention in a continuous speech application; Figure 4b is a tree diagram showing how the active envelope is traversed; Figure 5 is a series of tree diagrams useful in understanding the dynamic behaviour of the algorithm; and Figure 6 is a flow chart of the algorithm. An exemplary speech recognition system is shown in Figure 1. The system operates in two phases: a training phase, during which the system learns the preferred patterns representing the different speech sounds (eg phrases, words, phones) that constitute the vocabulary of the application; and a recognition phase, during which an unknown input pattern is identified by considering the set of references. During the training phase each reference is learned from spoken examples and stored either in the form of templates obtained by some averaging method (in template matching systems) or models that characterise the statistical properties of patterns (like in stochastic systems). One of the most popular stochastic systems utilizes a statistical modeling approach employing Hidden Markov Models (HMM). As illustrated in Figure 1, the exemplary speech recognizer performs the recognition process in three steps. As depicted at 10 , speech analysis and feature extraction is first performed on the input speech. This step focuses on extracting a set of parameters obtained by signal analysis. The next step, depicted at 12 , involves pattern classification. It is at this step that the classic Viterbi algorithm would be performed. During this step a similarity measure is computed between the input speech and each reference pattern. The process defines a local measure of closeness between feature vectors and further involves a method for aligning two speech patterns, which may differ in duration and rate of speaking. The pattern classification step uses a template or model dictionary 14 containing the information generated during the training phase. The final step is the decision step 16 . During this step the unknown pattern is assigned the label of the "closest" reference pattern. Typically, this decision is based on rules which take into account the results of the similarity measurements. Because many recognizers in popular use today employ Hidden Markov Models as a model of speech, a simple illustration of a Hidden Markov Model is shown at 20 in Figure 1. It will be recognized, however, that the principles of the present invention are not limited to recognizers employing Hidden Markov Models. A three-state Hidden Markov Model is illustrated in Figure 1, with the states designated s 1 , s 2 and s 3 . Of course, a working implementation could employ a different number of states, and the number of states selected here is merely for illustration purposes. Although the invention is not restricted to LR (left-to-right) HMMs, the algorithm provides best results with this class of models. Hence the HMM illustrated in Fig. 1 is an LR HMM in which state transitions proceed only from left to right, without jumping states. The Hidden Markov Model involves a collection of probabilities, some associated with the states themselves and others associated with the making a transition from that state to another state or to itself. In Figure 1, state transitions are illustrated by arrows. Note that some arrows depict a transition from one state to a different state, whereas other arrows depict a transition from one state to itself. Each phrase, word or phone to be represented by the speech models will have its own model, consisting of probability values associated with each transition and associated with each state. Thus each self-loop has an associated transition probability, depicted at 22 ; each loop to another state has its associated transition probability 24 . In addition, each state has probability information associated with it, as well. Because the probability values associated with each state may be more complex than a single value could represent, some systems will represent the probabilities associated with each state in terms of a Gaussian distribution. Sometimes, a mixture of multiple distributions are used in a blended manner to comprise Gaussian mixture density data. Such data are shown diagrammatically at 26 and referenced by a mixture index pointer 28 . Thus associated with each state is a mixture index pointer, which in turn identifies the Gaussian mixture density information for that state. It, of course, bears repeating that the speech recognizer and Hidden Markov Model structure illustrated in Figure 1 are intended to be merely exemplary of one type of recognizer with which the invention may be used. In general, the invention may be used with any system that performs dynamic programming in pattern classification. As previously noted, best HMM results are obtained with a LR HMMs. Thus the invention may be employed, for example, in place of the classical Viterbi algorithm. For more information regarding the basic structure of speech recognition systems and of Hidden Markov Modeling, see Junqua, Jean-Claude and Haton, Jean-Paul, Robustness in Automatic Speech Recognition, Fundamentals and Applications, Kluwer Academic Publishers, 1996. The Preferred Data Structure The present invention may be used to greatly improve the way in which the pattern classification step 12 is performed. The invention employs a unique data structure for representing the template or model dictionary 14 , in combination with a unique algorithm that traverses the data structure to discover the best matching hypothesis. The preferred data structure will be described in this section; the preferred algorithm will be described in the next section. The preferred data structure represents the template or model dictionary 14 as a lexical tree that has been flattened to a linked list. Figure 2 illustrates this topology. Figure 2, more specifically, shows an example of a lexical tree 30 that stores individual words that are made up of letters. The algorithm, described later below, traverses this lexical tree in a time-synchronous fashion and applies dynamic programming equations at each active node. The algorithm thus traverses the tree, from node to node, testing whether or not the letter at each node matches the letter identified in the feature extraction step 10 (Fig. 1). In considering the exemplary lexical tree presented in Fig 2, it should be recognized that the illustrated example, which uses words made up of the letters that spell those words, is merely selected here for teaching purposes. In a speech recognition system the features extracted during speech analysis at step 10 might be features or their corresponding sound units such as phonemes, syllables or the like. In other words, the invention is not limited to only applications in which individual letters are tested at each node to identify the word that those letters spell. Rather, any suitable unit may be used at each node. In a continuous speech recognizer, for example, the system might represent entire words at each node, and the lexical trees would contain pointers to entire phrases or sentences made up of those words. Referring to Figure 2, note that the lexical tree 30 is represented as a flattened linked list 32 that includes a number of specific features to identify, not only the topology of the list, but also the route that the list would be traversed to mirror a traversal of the corresponding tree. More specifically, the list is constructed so that all nodes at the same descent level within the tree are represented as contiguous entries in the list. Thus the linked list begins with a first structure or node to represent the root node of the tree. Beneath the root node structure are the structures for the next immediate child nodes, corresponding in this example to nodes k and h of the tree. Proceeding with the linked list, the next two nodes in this example represent the second tier children, namely nodes aa and aa of the tree. The next three nodes represent the third tier grandchildren, nodes r, r and I. Finally, the last four nodes represent the last tier of the tree, namely nodes d, d, t and t. The nodes within the linked list store more than just the letter or sound unit that corresponds to each node in the tree. Each node also includes at least one forward pointer to the next node that would be traversed if one were traversing the tree. Thus the first child node k includes a pointer to the grandchild node aa, to illustrate how one would traverse the tree from node k to node aa in ultimately spelling the sound units corresponding to the word CARD. The structure of each node also includes a flag, represented in Figure 2 as a small box in the lower righthand corner. This flag is set to identify if that node represents the last child of its parent. This information is used to further describe the topology of the tree as it is expressed in the flattened linked list form. The actual representation of the linked list takes the form of a data structure shown in Figure 3. The structure of Figure 3 illustrates how the flattened linked list nodes might be configured for a recognizer that uses Hidden Markov Models. The nodes may be readily configured to store other types of parameters, as well. Thus the illustration of Figure 3 should not be understood as a limitation upon the scope of the invention. The structures can be used to store parameters and/or template information corresponding to recognizers other than Hidden Markov Model recognizers. Referring to Figure 3, each node stores the topological structure of the tree as follows. It includes a data element 50 in which is stored the pointer from that node to its next child node. These pointers correspond to those illustrated in Figure 2 and are used when traversing the tree. The node data structure also includes a Boolean flag 52 that is either set of not set to indicate whether that node is the last child of its parent. This information was illustrated diagrammatically in Figure 2 by the small boxes that are either unfilled (FALSE) or filled (TRUE). Because the illustrated example is designed to represent Hidden Markov Models, the node data structure includes data elements 54 that contain the transition probabilities associated with the self-loop and loop to child probabilities associated with that node. In a typical recognizer these would be floating point values corresponding to the probabilities illustrated in Figure 1 at 22 and 24 . The node data structure also includes a data element 56 in which an index or pointer is stored to identify the corresponding Gaussian mixture densities of that node. The mixture index pointer was shown at 28 in Figure 1. In turn, it points to a collection of data representing the Gaussian mixture density 26 or other probability values used by the recognizer to represent the probability that a given node would emit a given sound unit. The remaining data elements in the node data structure are used by the algorithm that determines which traversal represents the best path or best match. Data element 58 stores the cumulative probability score associated with that node as the algorithm performs its analysis process. Data element 60 stores a pointer to another node within the tree, known as the next active node. The algorithm uses the next active node to determine how it will proceed through the tree. The details of the algorithm and how these data elements come into play will be described next. The Algorithm The preferred algorithm traverses the data structure, described above, in a time-synchronous fashion. That is, the algorithm traverses the nodes in synchronism with the observation data developed as the feature extraction process (step 10 in Fig. 1) proceeds. In a typical recognizer, the input speech is temporally segmented or subdivided into frames. The preferred algorithm thus operates in synchronism with these frames. Traversal from node to node is dictated by the topological structure of the tree and also by a second structure called the active node envelope. Active nodes are those node that currently represent the most likely match hypotheses. The active node envelope is a linked list of these currently active nodes. The active node envelope represents a dynamic structure. Nodes will join or leave the active node list as the algorithm proceeds. Nodes are added to the active list if their probability score is above a beam search threshold and formerly active nodes are cut from the active list if their score falls below that threshold. To compute the probability score of an active node, the algorithm applies the following dynamic programming equation to each active node: s k (t) = max {s ϕ (t-1)+a ϕ,k }+d k (t) where s k (t) is the score at time t, and ϕ is the node's parent. To understand how the algorithm traverses the lexical tree, a few definitions should be made. With reference to the lexical tree, we define the depth of the node as the number of states on that node's left. See Figure 4a. The greater the number, the deeper the node. We define a column of the lexical tree as the set of nodes of the same depth. For each column we define or an arbitrary order relation on the nodes. The active envelope or active node list is the list of nodes that are active, ordered given a relation such that, if node n is a node with parent n*, and node k is a node with parent k*, k*<n* implies k<n. Since all nodes of a given depth in the lexical tree can be processed in almost any arbitrary order, we chose the traversing sequence that maximizes the performance of the memory cache. In other words, when the processor loads a given address from memory, it's onboard cache mechanism will also load a block of contiguous addresses that immediately follow the address being loaded from memory. Thereafter, if any of those subsequent addresses need to be accessed, the processor will access them from its cache, instead of from memory, thereby eliminating the associated memory access time. The present invention traverses the lexical tree so that it exploits this feature of the cache. The lexical tree is encoded so that the algorithm will traverse the tree in a direction that utilizes the information stored in the cache. To further illustrate, let the nodes of Fig. 2 be ordered in a contiguous array in memory. The preferred embodiment will thus traverse the nodes in increasing order of the memory heap. The preferred traversal path is illustrated in Figure 4b. Traversal starts at the active node of greatest depth and then proceeds in increasing order within a given column. Once all active nodes within a column have been traversed, the path proceeds to the previous column. The presently preferred algorithm proceeds through the following steps: 1. Start from the deepest active list in the lexical tree. 2. Let B be the smallest ranked node in the active list of the children column. 3. Traverse the active list in increasing order. 4. For each child c of the current node k, 5. If B < c, then increment B until that condition is false. 6. If B = c, then apply the dynamic programming equation. 7. If B > c, then simply link c before n. 8. Decrement the depth and process the parent column. The above algorithm compares the sequential output of the speech analysis module with the entries in its lexical tree, at each node determining which entry has the highest probability of matching the input speech utterance. While it is possible to exhaustively analyze each node of the tree, this brute force approach is very time-consuming and inefficient. The preferred algorithm dynamically reduces its search space at each successive iteration by identifying the nodes that currently have the highest probability of matching the input utterance. The algorithm identifies these nodes as the next active nodes. It uses these nodes, and only these nodes, in its subsequent iteration. As the algorithm visits each node, it computes the probability score of that node. If we define the loop and incoming probabilities as l k = a k,k and i k = a *k,k . The score s k ( · ) at time t+1 can be computed as: s k (t+1)=max{s k (t)+l k, s k* (t)+i k }+d k (t). Note that the algorithm uses t and t+1 instead of t and t-1 to denote a forward recursion instead of a backwards recursion. The ultimate goal is to compute a score based on knowledge of child notes only (i.e., from k* and not from k) to avoid use of back-pointers (i.e., knowledge of the parent node). The algorithm defines the topological score r k (t) = s k (t)-d k (t) and the partial topological score r^(t) = s k (t) + l. Note that the partial topological score equals the topological score when k* does not belong to an active list. The algorithm traverses a cell in the active envelope by performing the following operations: 1. Compute score s k ←r k +d k (acoustic match); 2. Bequeathal: for each child c, r c ←max{s k +i c ,r c }. The score field of the child is assumed to hold the partial score r^. 3. Self-activation: r k ←r^ k =r k +l k . The score field now holds the partial topological score. If no score inheritance takes place then this is also the topological score for t+1. As indicated by the above steps, each cell k computes its own topological score and acoustic scores at each frame. We call this property self-activiation . Each cell activates itself and then all of its children. If the children have already activated themselves, the parent cell's score is bequeathed to its children. Bequeathal and self-activation can be inverted if the algorithm keeps s k and the next active node in variables. In such case data from a node can be discarded from the memory cache immediately after self-activation. Note that during the bequeathal process a node has direct access to its children. This is ensured by the way the active envelope is constructed, as described above. Dynamic Behavior of Algorithm and Active Node Envelope Propagation As noted above, the active node envelope is a dynamic structure. The active nodes change as the algorithm proceeds. When the active node envelope is superimposed onto the lexical tree, the active node envelope will appear to propagate as the algorithm operates over time. This concept is shown diagrammatically in Figure 4a. Figure 4a shows an example where words, instead of letters, are represented at each node. In the preceding examples, an individual word recognizer was illustrated. Each node of the tree represented a letter or sound unit that comprises a word in the dictionary. However, it will be recalled that the techniques of the invention can be used in both individual word and continuous speech recognizers. Thus Figure 4a shows how the tree structure might look in a continuous speech recognizer, in which individual words are represented at each node and the output would be sentences or phrases. By examining the tree 70 in Figure 4a one can see, for example, how the phrase "the quick brown fox" would be constructed by appropriate traversal of the tree. Figure 4a shows how the active node envelope will appear to propagate over time. Timeline 72 shows how the next active node envelope for the exemplary tree might appear at a first time a, and at a later time b. Time a corresponds to the point within the utterance "the quick brown fox" immediately after the word "the" has been analyzed by the speech analysis step 10 (Fig. 1). Time b corresponds to the point at which the word "brown" has been processed. At time a the active envelope is illustrated at 74 , correspond to those that are most likely to match the utterance that has been partially analyzed at this point. At later time b the active envelope has propagated outwardly, as illustrated at 76 . The active node envelopes at 74 and at 76 represent the active nodes at two different points in time (time a and time b). The algorithm operates upon these active nodes, using the currently active nodes to define the entry point into the lexical tree for the next successive iteration. As illustrated by this example, the next active nodes evolve or propagate, much as a wavefront would propagate if a stone were dropped into a puddle of water at the root node, causing a wave to propagate outwardly with the passage of time. In a single word recognizer, the next active node wavefront would, indeed, propagate in such an outward, wavelike fashion. That is because each individual node need only be used once. In the more general case, however, such as in a continuous speech recognizer, nodes may be visited again and hence the next active node wavefront would not necessarily always propagate away from the root node. To understand why this is so, appreciate that in a continuous speech recognizer the speaker may utter a word more than once. Thus the utterance "the quick brown quick brown fox" would cause the next active node wavefront to momentarily propagate toward the root node. Figure 5 shows the dynamic behavior of the presently preferred search algorithm. Specifically Figure 5 shows a subset of the lexical tree at different times: time = 0, time = 1... time = 4. In a frame-based recognizer these different times would correspond to successive frames. The algorithm begins at the root node at time = 0 as indicated by the active entry point arrow 100 . At time = 0 the root node is the only active node. The algorithm then proceeds to identify the child nodes of the root node and these also become active nodes at time = 1. The algorithm uses the active envelope traversal path to visit one active node to the next. The path always begins at the deepest nodes, i.e. the ones that are furthest from the root node. At time = 1 the active node entry point is designated by the arrow labeled 100 . The active node traversal path then proceeds as indicated by arrows 102 and 104 . For purposes of illustration, example probability scores will be used, showing how the individual nodes become active and are then eliminated by the beam search process. At time = 1 assume that the root node has a probability score of 100 (all scores are shown in brackets in Figure 5). Assume further that the other two active nodes have probability scores of 60 and 80, respectively. The algorithm employs a beam search technique using a beam size defined as the maximum deviation from the best score at a given time frame. For purposes of this example, assume that the beam size is 30. The beam search algorithm specifies that a node is deleted from further processing if the probability score of that node is less than the probability score of the highest probability node by more than the beam size. In other words, if the probability score of a node is less than the maximum score minus 30, that node will be skipped in subsequent processing. At time = 0 the maximum probability score is the score associated with the root node, namely a probability of 100. The beam is 100 - 30 or 70. Note that the node with a score of 60 falls below the beam and is thus subject to being cut by the beam search algorithm. Accordingly, at time = 2 only two active nodes are present, the root node and the node pointed to by the active node entry arrow 100 . Because the probability scores are recomputed at each time interval, new values for each active node are computed. Assume that the root node has a probability score of 160 and the other active node a score of 120. Also note that at time = 2 the active node traversal path enters at the arrow designated 100 and proceeds as indicated by the arrow 102 . Calculating the beam at time = 2, the algorithm determines that the beam is 160 - 30 = 160. Because the node having a probability score of 120 falls below the beam value, it is cut from further processing. Thus only the root node survives the beam cut. At time = 3 the root node remains active, and its child nodes are thereby also activated. Note that in this case, the uppermost child node that was cut by the beam search at time = 2 is reactivated at time t = 3 because it is a child of the active root node. Also note that the active node entry point 100 identifies the deepest node and that the remaining active node arrows 102 and 104 show how the active node path is connected or defined. In the present example, assume that the root node has a probability score of 200, the entry point node a probability score of 220 and the remaining node a probability score of 240 as illustrated at time = 3. The beam calculation 240 - 30 = 210 now results in the root node being cut from further processing because it falls below the beam value. Thus at time = 4 the root node is no longer active. However, the child nodes associated with the lowermost node are now activated. The entry point 100 moves to the deepest node, which happens to be one of the child nodes from the previously deepest node. Arrow 102 , 104 and 106 show how the active node path would be traversed. As in the preceding cases, the entry point is always at the deepest node and the traversal proceeds such that the deepest nodes are traversed first and the traversal path ends with the parent node of the deepest node. With the foregoing example in mind, the presently preferred algorithm will now be explained with reference to the flowchart of Figure 6 and to the detailed pseudocode listing appearing in Appendix I. With reference to Figure 6, the preferred algorithm begins at step 200 by checking to determine if the parent node of the current active node list must be removed from further consideration or "beamed out" by virtue of having a score below the beam score. Next, the active node list is traversed as indicated at 202 . The acoustic match is calculated at step 204 and the beam is updated. Next, in step 206 the algorithm performs a dynamic program match from parent to child and at step 208 the connections are updated so that the next active node list can be traversed during time t + 1. The procedure then iterates with return to step 200 . The corresponding steps from the flowchart of Figure 6 had been inserted as heading listings in the pseudocode shown in Appendix I below. Appendix II provides a pseudocode listing for the algorithm used to generate the lexical trees. In continuous speech recognition, the processor must spend time on computation of the acoustic match, the search algorithm itself, and language modeling. Due to the late application of language model penalties, the search space must be spit. Thus it may no longer be possible to store the hypotheses embedded in the lexical tree. If word-internal context-dependent models are used, however, we need only one instance of the static lexical tree. Furthermore, unigram language models (LM) can be pre-factored. They are useful for unigram or bigram language model look ahead. In addition, a vast number of nodes in the lexical tree will share the same LM look ahead score. From the foregoing it will be seen that the present invention provides a highly compact and efficient data structure and algorithm for performing dynamic programming matching in speech recognition systems. The algorithm and data structure may be used as a replacement for the classic Viterbi algorithm in a variety of dynamic programming and recognition applications. The lexical tree structure and the active node traversal technique results in a highly memory efficient process that can be used to great advantage in recognition systems that have limited memory and/or processing speed. The invention is therefore useful in embedded systems, consumer products and other recognition applications where large memory and fast processors may not be feasible.

Claims: A dynamic programming system, comprising a tree data structure (30) implemented in a computer-readable memory accessible by a processor, said tree data structure having a plurality of nodes that topologically define a root node and a plurality of parent-child generations, including a deepest child generation that is topologically furthest from the root; characterised by a traversal algorithm implemented by said processor, said algorithm traversing said nodes based on a set of traversal rules whereby nodes of a given generation are processed before the parent nodes of said given generation are processed, the deepest child generation is processed first, and traversal among nodes of each generation proceeds in the same topological direction. A system according to claim 1, wherein said tree data structure (30) is encoded in said memory as a flat representation in which nodes of each generation occupy contiguous memory locations. A system according to claim 1, wherein said tree data structure (30) is encoded in said memory with parent-child generations being represented through a linked list. A system according to claim 1, wherein said tree data structure (30) is encoded in said memory as a flat representation in which nodes of each generation occupy contiguous memory locations and have indicia designating the topological boundary between children of the same parent. A system according to claim 1, further comprising a mechanism for designating selected ones of said nodes as active nodes. A system according to claim 5, wherein said mechanism for designating selected ones of said nodes as active nodes comprises an active envelope data structure associated with said tree data structure. A system according to claim 1, further comprising a mechanism for designating selected ones of said nodes as active nodes and wherein said traversal algorithm includes a traversal rule whereby only active nodes are processed. A system according to claim 1, wherein said tree data structure (30) is a lexical tree representing a lexicon. A system according to claim 1, wherein said tree data structure (30) is a lexical tree representing the lexicon of a speech recogniser. A system according to claim 1, wherein said processor employs a cache and wherein said tree data structure (30) is encoded in said memory such that traversal of said tree proceeds into said cache. A system according to claim 1, further comprising a mechanism for designating selected ones of said nodes as active nodes, wherein said active nodes have a probability score (58) above a predetermined search threshold, said probability score (58) being determined from information sourced only from the child generation nodes, wherein said traversal algorithm only traverses said active nodes. A system according to claim 11, wherein said traversal algorithm calculates a probability score (58) for a node according to: s k (t+1)=max{s k (t)+l k , s k* (t)+i k }+d k (t) where loop and incoming probabilities are defined as l k = a k,k and l k = a k*,k . A system according to claim 1, further comprising a mechanism for designating selected ones of said nodes as active nodes by defining an active envelope as a linked list of currently active nodes and using a set of rules to propagate the active envelope by identifying nodes that currently have a highest probability score (58) of matching an input utterance as next active nodes (60) the mechanism using only the next active nodes (60) in a subsequent iteration, wherein said traversal algorithm includes a dynamic programming process that assigns probability scores (58) to nodes that are traversed using a forward recursion, thereby computing the scores (58) based only on knowledge of child nodes. A system according to claim 13, wherein said traversal algorithm calculates the probability score (58) for a node according to: s k (t+1)=max{s k (t)+l k , s k* (t)+i k }+d k (t) where loop and incoming probabilities are defined as l k = a k,k and l k = a k*,k . A dynamic programming system, comprising A tree data structure (30) implemented in a computer-readable memory accessible by a processor, said tree data structure having a plurality of nodes; characterised by a mechanism for designating selected ones of said nodes as active nodes by defining an active envelope as a linked list of currently active nodes and using a set of rules to propagate the active envelope by identifying nodes that currently have a highest probability score (58) of matching an input utterance as next active nodes (60), the mechanism using only the next active nodes (60) in a subsequent iteration; and a traversal algorithm implemented by said processor, said algorithm traversing said nodes based on a set of traversal rules whereby only said active nodes are traversed, wherein said traversal algorithm includes a dynamic programming process that assigns probability scores (58) to nodes that are traversed using a forward recursion, thereby computing the scores (58) based only on knowledge of the child nodes. A system according to claim 15, wherein a predetermined threshold governing identification of a node as an active node is calculated based on a highest probability score (58). A system according to claim 15, wherein said mechanism for designating selected ones of said nodes as active nodes defines an active envelope and uses a set of rules to propagate the active envelope by removing nodes that have a probability score (58) below a predetermined threshold. A system according to claim 15, wherein said mechanism for designating selected ones of said nodes as active nodes defines an active envelope and uses a set of rules to propagate the active envelope by inserting nodes that have a probability score (58) above a predetermined threshold. A system according to claim 18, wherein said set of rules for inserting nodes guarantees that the nodes in said active envelope are sorted by their topological index. A system according to claim 15, wherein said processor employs a cache and wherein said tree data structure (30) is encoded in said memory such that traversal of said tree proceeds into said cache. A system according to claim 15, wherein said traversal algorithm calculates a probability score (58) for a node according to: s k (t+1)=max{s k (t)+l k , s k* (t)+i k }+d k (t) where loop and incoming probabilities are defined as l k = a k,k and l k = a k*,k .

Inventors: NGUYEN PATRICK, RIGAZIO LUCA, NGUYEN, PATRICK, RIGAZIO, LUCA
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 2001
Main classification: G10L15
IPC codes: G10L15, G06F17