diff --git a/Source/Readers/Kaldi2Reader/DataWriter.cpp b/Source/Readers/Kaldi2Reader/DataWriter.cpp index 35874dfd8..5b6564b13 100644 --- a/Source/Readers/Kaldi2Reader/DataWriter.cpp +++ b/Source/Readers/Kaldi2Reader/DataWriter.cpp @@ -6,7 +6,7 @@ // #include "stdafx.h" -#include "basetypes.h" +#include "Basics.h" #include "htkfeatio.h" // for reading HTK features diff --git a/Source/Readers/Kaldi2Reader/HTKMLFReader.cpp b/Source/Readers/Kaldi2Reader/HTKMLFReader.cpp index 3e9ee9b91..62e5c870c 100644 --- a/Source/Readers/Kaldi2Reader/HTKMLFReader.cpp +++ b/Source/Readers/Kaldi2Reader/HTKMLFReader.cpp @@ -2007,6 +2007,7 @@ bool HTKMLFReader::DataEnd() return m_sentenceEnd[0]; else return true; // useless in current condition +} template void HTKMLFReader::SetSentenceEndInBatch(vector& sentenceEnd) diff --git a/Source/Readers/Kaldi2Reader/HTKMLFWriter.h b/Source/Readers/Kaldi2Reader/HTKMLFWriter.h index e4e23b99b..ca2d8e861 100644 --- a/Source/Readers/Kaldi2Reader/HTKMLFWriter.h +++ b/Source/Readers/Kaldi2Reader/HTKMLFWriter.h @@ -6,6 +6,7 @@ // #pragma once #include "DataWriter.h" +#include "ScriptableObjects.h" #include #include @@ -57,5 +58,6 @@ public: virtual void GetSections(std::map& sections); virtual bool SaveData(size_t recordStart, const std::map& matrices, size_t numRecords, size_t datasetSize, size_t byteVariableSized); virtual void SaveMapping(std::wstring saveId, const std::map& labelMapping); + virtual bool SupportMultiUtterances() const { return false; }; }; } } }