12.07.2015 Views

Large Vocabulary Continuous Speech Recognition - Berlin Chen

Large Vocabulary Continuous Speech Recognition - Berlin Chen

Large Vocabulary Continuous Speech Recognition - Berlin Chen

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WC: Language Model Look-ahead (2/2)• A Simple recursive function for calculating unigram LMlook-aheadvoid <strong>Speech</strong>Class::Calculate_Word_Tree_Unigram(){if(Root==(struct Tree *) NULL) return;Do_Calculate_Word_Tree_Unigram(Root);}void <strong>Speech</strong>Class::Do_Calculate_Word_Tree_Unigram(struct Tree *ptrNow){if(ptrNow==(struct Tree *) NULL) return;Do_Calculate_Word_Tree_Unigram(ptrNow->Brother);Do_Calculate_Word_Tree_Unigram(ptrNow->Child);if(ptrNow->Father!=(struct Tree *) NULL)if(ptrNow->Unigram > ptrNow->Father->Unigram)ptrNow->Father->Unigram=ptrNow->Unigram;}<strong>Speech</strong> – <strong>Berlin</strong> <strong>Chen</strong> 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!