-
Page 156, Figure 5.5:
There are two major changes to this code: (1) we need to initialize
all of the 0th row and column to their respective indexes as in Figure
5.6, and (2) the two main loops should start at 1 not 0. We'll have a
replacement page for this soon.
-
Page 157, Figure 5.6:
There are five errors in this table: entry [1,4] 5 should be a 3;
entry [6,3] 9 should be a 7; entry [7,1] 8 should be a 6; entry [9,2]
11 should be 9; and entry[9,5] 12 should be 10.
-
Page 176, Figure 5.16:
,
The line in the inner
loop doesn't perform the required sum. It should read:
forward[s',t+1] <-- forward[s',t+1] + forward[s,t]*a[s,s']*b[s',o_t]