"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stats/EST_viterbi.cc" between
speech_tools-2.4-release.tar.gz and speech_tools-2.5.0-release.tar.gz

About: The speech_tools - Edinburgh Speech Tools Library (used by the Festival Speech Synthesis System).

EST_viterbi.cc  (speech_tools-2.4-release):EST_viterbi.cc  (speech_tools-2.5.0-release)
skipping to change at line 114 skipping to change at line 114
{ {
delete timeline; delete timeline;
} }
void EST_Viterbi_Decoder::initialise(EST_Relation *p) void EST_Viterbi_Decoder::initialise(EST_Relation *p)
{ {
// Creates a time line with each point pointing at each item in p // Creates a time line with each point pointing at each item in p
EST_Item *i; EST_Item *i;
EST_VTPoint *t = 0,*n; EST_VTPoint *t = 0,*n;
for (i=p->head(); i != 0; i=i->next()) for (i=p->head(); i != 0; i=inext(i))
{ {
n = new EST_VTPoint; n = new EST_VTPoint;
n->s = i; n->s = i;
if (num_states > 0) if (num_states > 0)
init_paths_array(n,num_states); init_paths_array(n,num_states);
if (t == 0) if (t == 0)
timeline = n; timeline = n;
else else
t->next = n; t->next = n;
t=n; t=n;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)