Added more logging

This commit is contained in:
Daniel Wolf
2016-06-14 17:38:11 +02:00
parent 542a5ee3d8
commit d1bbe8538e
5 changed files with 29 additions and 2 deletions

View File

@@ -334,6 +334,7 @@ BoundedTimeline<Phone> detectPhones(
ps_set_search(decoder.get(), "lm");
BoundedTimeline<Phone> result(audioStream->getTruncatedRange());
logging::debug("Speech recognition -- start");
for (const auto& timedUtterance : utterances) {
ProgressMerger utteranceProgressMerger(**utteranceProgressSinkIt++);
ProgressSink& wordRecognitionProgressSink = utteranceProgressMerger.addSink(1.0);
@@ -370,6 +371,7 @@ BoundedTimeline<Phone> detectPhones(
result.set(timedPhone);
}
}
logging::debug("Speech recognition -- end");
return result;
}