Mercurial > hg > aimc
comparison trunk/src/Support/ModuleFactory.cc @ 405:0a428aaa5040
- Commented-out the yet-to-be-added DCT.
author | tomwalters |
---|---|
date | Tue, 19 Oct 2010 07:12:15 +0000 |
parents | 69466da9745e |
children | 6bc760be184b |
comparison
equal
deleted
inserted
replaced
404:ae015c67d1e1 | 405:0a428aaa5040 |
---|---|
14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 // See the License for the specific language governing permissions and | 15 // See the License for the specific language governing permissions and |
16 // limitations under the License. | 16 // limitations under the License. |
17 | 17 |
18 #include "Modules/Features/ModuleGaussians.h" | 18 #include "Modules/Features/ModuleGaussians.h" |
19 #include "Modules/Features/ModuleDCT.h" | 19 //#include "Modules/Features/ModuleDCT.h" |
20 #include "Modules/BMM/ModuleGammatone.h" | 20 #include "Modules/BMM/ModuleGammatone.h" |
21 #include "Modules/BMM/ModulePZFC.h" | 21 #include "Modules/BMM/ModulePZFC.h" |
22 #include "Modules/Input/ModuleFileInput.h" | 22 #include "Modules/Input/ModuleFileInput.h" |
23 #include "Modules/NAP/ModuleHCL.h" | 23 #include "Modules/NAP/ModuleHCL.h" |
24 #include "Modules/Output/FileOutputHTK.h" | 24 #include "Modules/Output/FileOutputHTK.h" |
37 namespace aimc { | 37 namespace aimc { |
38 Module* ModuleFactory::Create(string module_name_, Parameters* params) { | 38 Module* ModuleFactory::Create(string module_name_, Parameters* params) { |
39 if (module_name_.compare("gaussians") == 0) | 39 if (module_name_.compare("gaussians") == 0) |
40 return new ModuleGaussians(params); | 40 return new ModuleGaussians(params); |
41 | 41 |
42 if (module_name_.compare("dct") == 0) | 42 //if (module_name_.compare("dct") == 0) |
43 return new ModuleDCT(params); | 43 // return new ModuleDCT(params); |
44 | 44 |
45 if (module_name_.compare("gt") == 0) | 45 if (module_name_.compare("gt") == 0) |
46 return new ModuleGammatone(params); | 46 return new ModuleGammatone(params); |
47 | 47 |
48 if (module_name_.compare("pzfc") == 0) | 48 if (module_name_.compare("pzfc") == 0) |