/external/srec/tools/grxmlcompile/ |
H A D | grxmldoc.h | 44 typedef std::map<std::string, KeywordValues> KEYWDPAIR; 48 std::string RuleRefName; 62 int addPhonemeToList( std::string const& s ); 63 bool findPhoneme( int i, std::string & s ); 64 bool getHMMSequence (int centre, int left, int right, std::vector<int> & modelSequence); 68 bool findSubGraph(std::string & s, SubGraph *&p_SubGraph); 69 bool findRule(int i, std::string &s ); 70 bool findTag(int i, std::string &s ); 71 bool findLabel(int i, std [all...] |
H A D | hashmap.cpp | 35 using namespace std; 45 void HashMap<T1,T2>::setName(std::string s) 54 pair<typename std::map<T1,T2>::iterator,bool> result = m_Map.insert( make_pair(index, value) ); 89 typename std::map<T1,T2>::iterator pos; 106 typename std::map<T1,T2>::iterator pos; 130 typename std::map<T1,T2>::iterator pos; 148 typename std::map<T1,T2>::iterator pos; 149 cout << "======= '" << m_Name <<"' =======" << std::endl; 151 cout << pos->first <<" : " << pos->second << std::endl; 156 void HashMap<T1,T2>::writeFile( std [all...] |
H A D | hashmap.h | 35 void setName(std::string s); 45 void writeFile( std::string fileName ); 47 typename std::map<T1,T2>::iterator begin(); 48 typename std::map<T1,T2>::iterator end(); 53 std::string m_Name; 54 std::map<T1, T2> m_Map; 55 typename std::map<T1,T2>::iterator m_pPos;
|
H A D | netw_dump.cpp | 44 void SubGraph::WriteForwardGraphFile( std::string & fileName, GRXMLDoc &p_Doc ) 48 std::string inLabel; 49 std::ofstream outfile; 50 std::string label; 51 std::string separator = "\t"; 52 std::string Eps = "eps"; 63 outfile << arc[loc]->fromId << std::endl; 66 outfile << arc[loc]->fromId << separator << arc[loc]->toId << separator << Eps << std::endl; 80 std::stringstream ss; 84 outfile << arc[loc]->fromId << separator << arc[loc]->toId << separator << inLabel.c_str() << std [all...] |
H A D | sub_grph.cpp | 39 bool IsSlot (std::string label) 44 // std::cout << label << " " << count << " " << fPos << " " << lPos << std::endl;
|
H A D | sub_grph.h | 59 bool IsSlot (std::string label); 181 void WriteForwardGraphWithSemantic ( std::string & fileName, GRXMLDoc &p_Doc ); 182 void WriteForwardGraphFile ( std::string & fileName, GRXMLDoc &p_Doc ); 183 void WriteFile ( std::string & fileName, GRXMLDoc &p_Doc ); 184 void WritePhonemeGraphFile( std::string & fileName, GRXMLDoc &p_Doc ); 185 void WriteHMMGraphFile( std::string & fileName, GRXMLDoc &p_Doc );
|
H A D | sub_phon.cpp | 37 std::string modelLabel, word; 40 std::stringstream ss; 46 std::stringstream ss; 58 // std::cout << "Found slot "<< word <<std::endl; 81 //std::cout << "ExpandPhonemes adding "<< modelLabel <<std::endl; 165 std::vector<int> modelSequence; 171 std::cout << "HMM PIC:" << left <<" " << centre <<" " << right << std [all...] |
H A D | testhashmap.cpp | 26 using namespace std; 49 std::cout << "Index 1 has value= " << value <<std::endl; 51 std::cout << "value " << value << " has index " << i <<std::endl; 54 std::cout << "index " << i << " has numeric index " << j <<std::endl; 56 std::cout << "value " << value << " has numeric index " << j <<std::endl; 76 std [all...] |
H A D | vocab.cpp | 38 Vocabulary::Vocabulary( std::string const & vocFileName ) 44 std::cout << "Error: " << ESR_rc2str(rc) <<std::endl; 72 int Pronunciation::lookup( Vocabulary & vocab, std::string & phrase ) 80 strcpy (s, phrase.c_str() ); // No conversion for std::string to wchar 88 std::cout << "DEBUG: " << phrase <<" to be looked up" << std::endl; 92 // std::cout <<"ERORORORORROOR!" <<std::endl; 93 std [all...] |
H A D | vocab.h | 49 Vocabulary( std::string const & vocFileName ); 60 AcousticModel( std::string & arbFileName ); 63 int getStateIndices(int id, std::vector<int> & stateIDs); 75 int lookup( Vocabulary & vocab, std::string & phrase ); 77 int addPron( std::string & s ); 79 bool getPron( int index, std::string &s ); 84 bool getPhoneme( int pronIndex, int picIndex , std::string &phoneme ); 88 bool getPIC( int pronIndex, int picIndex, std::string &pic ); 93 std::string m_Phrase; 94 std [all...] |
/external/srec/tools/make_cfst/ |
H A D | Android.mk | 29 LOCAL_CPPFLAGS += -std=c++11
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | Android.mk | 21 LOCAL_CPPFLAGS += -std=c++11
|
H A D | compat.cpp | 96 std::cout << flag_usage << "\n"; 97 std::cout << " Flags Description:\n";
|
H A D | compat.h | 46 using namespace std; 154 std::cout << ", default = "; 155 std::cout << (default_value ? "true" : "false"); 158 std::cout << ", default = "; 159 std::cout << "\"" << default_value << "\""; 162 std::cout << ", default = "; 163 std::cout << default_value; 172 std::cout << " --" << name 175 std::cout << "\n " << desc.doc_string << "\n"; 246 std [all...] |
H A D | compose.h | 254 typedef std::unordered_map<StateTuple, StateId, StateTupleKey,
|
H A D | const-fst.h | 308 return Write(std::cout, FstWriteOptions("standard output"));
|
H A D | determinize.h | 219 typedef std::forward_list<Element> Subset; 387 size_t subset1_size = std::distance(subset1->begin(), subset1->end()); 388 size_t subset2_size = std::distance(subset2->begin(), subset2->end()); 457 typedef std::unordered_map<Subset *, StateId, SubsetKey, SubsetEqual>
|
H A D | encode.h | 96 typedef std::unordered_map<const Tuple*, Label, TupleKey, TupleEqual> EncodeHash;
|
H A D | equivalent.h | 164 std::unordered_map<typename Arc::Label, pair<MappedId, MappedId> >
|
H A D | factor-weight.h | 311 typedef std::unordered_map<Element, StateId, ElementKey, ElementEqual> ElementMap;
|
H A D | float-weight.h | 107 strm.clear(std::ios::badbit);
|
H A D | map.h | 838 typedef std::unordered_map<SW, Label, StringKey> Map;
|
H A D | product-weight.h | 141 strm.clear(std::ios::badbit); 154 strm.clear(std::ios::badbit);
|
H A D | relabel.h | 51 std::unordered_map<Label, Label> input_map; 56 std::unordered_map<Label, Label> output_map; 70 typename std::unordered_map<Label, Label>::iterator it = 279 typename std::unordered_map<Label, Label>::iterator it = 286 typename std::unordered_map<Label, Label>::iterator it = 300 std::unordered_map<Label, Label> input_map_; 301 std::unordered_map<Label, Label> output_map_;
|
H A D | replace.h | 77 typedef std::unordered_map<Label, Label> NonTerminalHash; 381 typedef std::unordered_map<StateTuple, StateId, StateTupleKey, StateTupleEqual> 453 typedef std::unordered_map<StackPrefix, int, StackPrefixKey, StackPrefixEqual>
|