Searched refs:std (Results 276 - 300 of 33291) sorted by last modified time

<<11121314151617181920>>

/external/srec/tools/grxmlcompile/
H A Dgrxmldoc.h44 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 Dhashmap.cpp35 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 Dhashmap.h35 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 Dnetw_dump.cpp44 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 Dsub_grph.cpp39 bool IsSlot (std::string label)
44 // std::cout << label << " " << count << " " << fPos << " " << lPos << std::endl;
H A Dsub_grph.h59 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 Dsub_phon.cpp37 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 Dtesthashmap.cpp26 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 Dvocab.cpp38 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 Dvocab.h49 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 DAndroid.mk29 LOCAL_CPPFLAGS += -std=c++11
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A DAndroid.mk21 LOCAL_CPPFLAGS += -std=c++11
H A Dcompat.cpp96 std::cout << flag_usage << "\n";
97 std::cout << " Flags Description:\n";
H A Dcompat.h46 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 Dcompose.h254 typedef std::unordered_map<StateTuple, StateId, StateTupleKey,
H A Dconst-fst.h308 return Write(std::cout, FstWriteOptions("standard output"));
H A Ddeterminize.h219 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 Dencode.h96 typedef std::unordered_map<const Tuple*, Label, TupleKey, TupleEqual> EncodeHash;
H A Dequivalent.h164 std::unordered_map<typename Arc::Label, pair<MappedId, MappedId> >
H A Dfactor-weight.h311 typedef std::unordered_map<Element, StateId, ElementKey, ElementEqual> ElementMap;
H A Dfloat-weight.h107 strm.clear(std::ios::badbit);
H A Dmap.h838 typedef std::unordered_map<SW, Label, StringKey> Map;
H A Dproduct-weight.h141 strm.clear(std::ios::badbit);
154 strm.clear(std::ios::badbit);
H A Drelabel.h51 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 Dreplace.h77 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>

Completed in 3269 milliseconds

<<11121314151617181920>>