Go to the source code of this file.
Functions | |
int32 | CopyIncludedFeats (std::string filename, SequentialBaseFloatMatrixReader *kaldi_reader, BaseFloatMatrixWriter *kaldi_writer) |
int32 | CopyExcludedFeats (std::string filename, SequentialBaseFloatMatrixReader *kaldi_reader, BaseFloatMatrixWriter *kaldi_writer) |
int | main (int argc, char *argv[]) |
int32 CopyExcludedFeats | ( | std::string | filename, |
SequentialBaseFloatMatrixReader * | kaldi_reader, | ||
BaseFloatMatrixWriter * | kaldi_writer | ||
) |
Definition at line 57 of file subset-feats.cc.
References SequentialTableReader< Holder >::Done(), KALDI_ASSERT, KALDI_LOG, SequentialTableReader< Holder >::Key(), SequentialTableReader< Holder >::Next(), kaldi::SplitStringToVector(), Input::Stream(), SequentialTableReader< Holder >::Value(), and TableWriter< Holder >::Write().
Referenced by main().
int32 CopyIncludedFeats | ( | std::string | filename, |
SequentialBaseFloatMatrixReader * | kaldi_reader, | ||
BaseFloatMatrixWriter * | kaldi_writer | ||
) |
Definition at line 27 of file subset-feats.cc.
References SequentialTableReader< Holder >::Done(), KALDI_ASSERT, KALDI_LOG, SequentialTableReader< Holder >::Key(), SequentialTableReader< Holder >::Next(), kaldi::SplitStringToVector(), Input::Stream(), SequentialTableReader< Holder >::Value(), and TableWriter< Holder >::Write().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 87 of file subset-feats.cc.
References CopyExcludedFeats(), CopyIncludedFeats(), SequentialTableReader< Holder >::Done(), ParseOptions::GetArg(), KALDI_ASSERT, KALDI_ERR, SequentialTableReader< Holder >::Key(), rnnlm::n, SequentialTableReader< Holder >::Next(), ParseOptions::NumArgs(), ParseOptions::PrintUsage(), ParseOptions::Read(), ParseOptions::Register(), SequentialTableReader< Holder >::Value(), and TableWriter< Holder >::Write().