# HG changeset patch # User tomwalters # Date 1285717951 0 # Node ID 503b6f40d0aa3aa8878880b8b16a40190ae54421 # Parent a4dd813b9b6a2b36e7dc50f29c5d4d0944ea8fd3 - Module tree support - ongoing work diff -r a4dd813b9b6a -r 503b6f40d0aa experiments/scripts/cnbh-syllables/feature_generation/nap_profile_features.aimcopycfg --- a/experiments/scripts/cnbh-syllables/feature_generation/nap_profile_features.aimcopycfg Tue Sep 14 01:41:19 2010 +0000 +++ b/experiments/scripts/cnbh-syllables/feature_generation/nap_profile_features.aimcopycfg Tue Sep 28 23:52:31 2010 +0000 @@ -7,8 +7,7 @@ module2.name = GammatoneFilterbank module2.id = gt -module2.child1 = StandardNAP -module2.child2 = SmoothNAP +module2.child1 = SmoothNAP module3.name = SmoothNAP module3.id = nap diff -r a4dd813b9b6a -r 503b6f40d0aa experiments/scripts/cnbh-syllables/feature_generation/ssi_profile_features.aimcopycfg --- a/experiments/scripts/cnbh-syllables/feature_generation/ssi_profile_features.aimcopycfg Tue Sep 14 01:41:19 2010 +0000 +++ b/experiments/scripts/cnbh-syllables/feature_generation/ssi_profile_features.aimcopycfg Tue Sep 28 23:52:31 2010 +0000 @@ -1,7 +1,7 @@ module1.name = FileInput module1.id = file_input module1.parameters = << +#include #include +#include "Support/Parameters.h" + namespace aimc { using std::string; class ModuleTree { public: bool ParseConfigFile(const string &filename); bool ParseConfigText(const string &config_text); - void set_output_filename_prefix(const string &prefix); + string GetFullConfig() + void set_output_filename_prefix(const string &prefix) { + output_filename_prefix_ = prefix; + } string output_filename_prefix() { return output_filename_prefix_; } private: + Paramters parameters_; string output_filename_prefix_; + hash_map > modules_; + string root_name_; DISALLOW_COPY_AND_ASSIGN(ModuleTree); }; } // namespace aimc \ No newline at end of file