Fix Kaldi2Reader building.
This commit is contained in:
Родитель
ee92cf1d1c
Коммит
367db5e76e
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "basetypes.h"
|
||||
#include "Basics.h"
|
||||
|
||||
#include "htkfeatio.h" // for reading HTK features
|
||||
|
||||
|
|
|
@ -2007,6 +2007,7 @@ bool HTKMLFReader<ElemType>::DataEnd()
|
|||
return m_sentenceEnd[0];
|
||||
else
|
||||
return true; // useless in current condition
|
||||
}
|
||||
|
||||
template <class ElemType>
|
||||
void HTKMLFReader<ElemType>::SetSentenceEndInBatch(vector<size_t>& sentenceEnd)
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
//
|
||||
#pragma once
|
||||
#include "DataWriter.h"
|
||||
#include "ScriptableObjects.h"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
|
@ -57,5 +58,6 @@ public:
|
|||
virtual void GetSections(std::map<std::wstring, SectionType, nocase_compare>& sections);
|
||||
virtual bool SaveData(size_t recordStart, const std::map<std::wstring, void*, nocase_compare>& matrices, size_t numRecords, size_t datasetSize, size_t byteVariableSized);
|
||||
virtual void SaveMapping(std::wstring saveId, const std::map<LabelIdType, LabelType>& labelMapping);
|
||||
virtual bool SupportMultiUtterances() const { return false; };
|
||||
};
|
||||
} } }
|
||||
|
|
Загрузка…
Ссылка в новой задаче