Logo

phoneme_estimator::phoneme_estimator engine_phoneme_spec pSpec  ) 
 

construct the phoneme estimator with the list of expected phonemes.

This allows application to define their own engine_phoneme_spec list and assign it to the phoneme estimator.

The estimator maintains a live pointer to the incoming spec list (not a copy) so the call must be sure the lifecyle of the spec list outlasts the lifecycle of this phoneme_estimator

Parameters:
pSpec - [in] phoneme spec to use.
Note:
The size of the spec (number of items) is determined by the content of the last spec. if you look at SapiEnglish51 you'll see that there is an empty spec as the last item. This is used as a stop condition when search the spec, so it needs to be there in order to keep from crashing.

Definition at line 140 of file phone_estimate.cpp.

00141 {
00142     m_pSpec = pSpec;
00143 }


Copyright (C) 2002-2005 Annosoft LLC. All Rights Reserved.
Visit us at www.annosoft.com