summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5786406)
raw | patch | inline | side by side (parent: 5786406)
author | lnetsch <lnetsch@mycompany.com> | |
Thu, 12 Apr 2012 22:40:40 +0000 (22:40 +0000) | ||
committer | lnetsch <lnetsch@mycompany.com> | |
Thu, 12 Apr 2012 22:40:40 +0000 (22:40 +0000) |
TIesrFlex/src/TIesrFlex.cpp | patch | blob | history |
index 66cb3cf0d10f624a59a39bf8dbd5f39ebab93ad0..5896e409946fb5c202db33fb24611f719c96d12a 100755 (executable)
{
int j;
int c, l, r; /* center, left, right */
- char pron[ MAX_PRON ];
+ unsigned char pron[ MAX_PRON ];
int baseIndex;
// char pronstr[ MAX_STR ];
// Get base pronunciation, which may be the first dictionary pronunciation
// or may be the default rule pronunciation
//m_dict->GetPron(word[i], pron, pronstr );
- error = LookupBasePronunciation( word[baseIndex], pron );
+ error = LookupBasePronunciation( word[baseIndex], (char*)pron );
demand( error == ErrNone, "create_hmm: lookup pronunciation failed\n" );
// For OMAP application, do not allow printing of pronunciations
// Loop over all multipronunciation words that match this word as long as any
// multipronunciation words in the word table remain to be processed
- error = LookupMultiPronunciation( word[baseIndex], word[multiIndex], pron );
+ error = LookupMultiPronunciation( word[baseIndex], word[multiIndex], (char*)pron );
// Check for failure
demand( error != ErrFail, "create_hmm: lookup pronunciation failed\n" );
// Get next matching multipronunciation as long as any remain
multiIndex++;
if( multiIndex < word_idx )
- error = LookupMultiPronunciation( word[baseIndex], word[multiIndex], pron );
+ error = LookupMultiPronunciation( word[baseIndex], word[multiIndex], (char*)pron );
}
}
}