"meta feature extractor!", GUIUtils.MESSAGE, meapsoftGUI.jframe);
return -1;
}
}
FeatExtractor featExtractor =
new FeatExtractor(segmentFile, featFile, featExts);
featExtractor.writeMEAPFile = meapsoftGUI.writeMEAPFile;
featExtractor.setFeatureExtractorWeights(featWeights);
featExtractor.setClearNonMetaFeatures(
clearNonMetaFeatures.isSelected());
JPanel progressPanel = new JPanel();
progressPanel.add(new JLabel("Extracting features: "));
JProgressBar progressBar = new JProgressBar(featExtractor.getProgress());
progressBar.setStringPainted(true);
progressPanel.add(progressBar);
meapsoftGUI.setProgressPanel(progressPanel);
try
{
// clear whatever chunks may have already been calculated
featFile.clearChunks();
featExtractor.setup();
featExtractor.processFeatFiles();
if(featExtractor.writeMEAPFile)
featFile.writeFile();
}
catch (Exception e)