|
|
@@ -17,13 +17,13 @@ class FeatureExtractor(ABC): |
|
|
|
"""Feature extractor interface.""" |
|
|
|
# TODO: #API -- decide if .features will be a member variable |
|
|
|
def setup(self): |
|
|
|
pass |
|
|
|
"""Setup the feature extractor -- validate input files & config""" |
|
|
|
|
|
|
|
def run(self): |
|
|
|
pass |
|
|
|
"""Run the feature extractor -- extract features""" |
|
|
|
|
|
|
|
def teardown(self): |
|
|
|
pass |
|
|
|
"""Teardown the feature extractor -- clean up any temporary files created during setup""" |
|
|
|
|
|
|
|
class LaughterFeatureExtractor(FeatureExtractor): |
|
|
|
"""Feature extractor for laughter detection. |
|
|
|