diff --git a/meta/system.py b/meta/system.py index e732cf1e..0a7c5f46 100644 --- a/meta/system.py +++ b/meta/system.py @@ -323,14 +323,15 @@ def mfcc_features(self, corpus: str, num_deriv: int = 2, num_features: int = 33, self.add_derivatives(corpus, "mfcc", num_deriv, num_features) self.add_derivatives(corpus, "uncached_mfcc", num_deriv, num_features) - def fb_features(self, corpus: str, **kwargs): + def fb_features(self, corpus: str, prefix: str = "", **kwargs): """ :param corpus: :param kwargs: + :param prefix: :return: """ self.jobs[corpus]["fb_features"] = f = features.FilterbankJob(self.crp[corpus], **kwargs) - f.add_alias("%s_fb_features" % corpus) + f.add_alias("%s%s_fb_features" % (prefix, corpus)) self.feature_caches[corpus]["fb"] = f.out_feature_path["fb"] self.feature_bundles[corpus]["fb"] = f.out_feature_bundle["fb"]