# HG changeset patch # User tomwalters # Date 1285717951 0 # Node ID 077c7ecc2d5f329e563a755b36466652042b53cc # Parent 9d12efd43513d85efd58b4fc8d4efa886b5c8c50 - Module tree support - ongoing work diff -r 9d12efd43513 -r 077c7ecc2d5f 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 9d12efd43513 -r 077c7ecc2d5f experiments/scripts/cnbh-syllables/feature_generation/ssi_profile_features.aimcopycfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/experiments/scripts/cnbh-syllables/feature_generation/ssi_profile_features.aimcopycfg Tue Sep 28 23:52:31 2010 +0000 @@ -0,0 +1,34 @@ +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