Home
last modified time | relevance | path

Searched refs:voc (Results 1 – 4 of 4) sorted by relevance

/external/srec/srec/clib/
Dvoc_read.c71 int read_word_transcription(const LCHAR* basename, vocab_info* voc, ESR_Locale* locale) in read_word_transcription() argument
79 ASSERT(voc); in read_word_transcription()
86 if (mmap_zip(basename, (void**)&voc->ok_file_data, (size_t*)&voc->ok_file_data_length)) { in read_word_transcription()
92 if (!cr_or_nl(voc->ok_file_data[voc->ok_file_data_length - 1])) { in read_word_transcription()
98 ok = voc->ok_file_data; in read_word_transcription()
124 voc->first_entry = strchr(voc->ok_file_data, '\n') + 1; in read_word_transcription()
125 voc->last_entry = voc->ok_file_data + voc->ok_file_data_length - 2; in read_word_transcription()
126 while (*voc->last_entry != '\n') voc->last_entry--; /* header forces termination */ in read_word_transcription()
127 voc->last_entry++; in read_word_transcription()
130 voc->hasUpper = 1; in read_word_transcription()
[all …]
/external/srec/srec/ca/
Dvoc_basi.c77 if (0 <= read_word_transcription(vocname, &hVocab->voc, locale)) { in CA_LoadDictionary()
100 delete_word_transcription(&hVocab->voc); in CA_UnloadDictionary()
117 pronCount = get_prons(&hVocab->voc, label, prons, sizeof(prons)); in CA_CheckEntryInDictionary()
128 pronCount = get_prons(&hVocab->voc, lower, prons, sizeof(prons)); in CA_CheckEntryInDictionary()
160 pronCount = get_prons(&hVocab->voc, label, pron, pronMaxSize); in CA_GetFullEntryInDictionary()
171 pronCount = get_prons(&hVocab->voc, lower, pron, pronMaxSize); in CA_GetFullEntryInDictionary()
/external/srec/srec/include/
Dhmmlib.h32 int read_word_transcription(const LCHAR* basename, vocab_info* voc, ESR_Locale* locale);
33 void delete_word_transcription(vocab_info* voc);
34 int get_prons(const vocab_info* voc, const char* label, char* prons, int prons_len);
Dsimapi.h203 vocab_info voc; member