diff --git a/src/feat/pitch-functions-test.cc b/src/feat/pitch-functions-test.cc index ce0084c5f..f1553011d 100644 --- a/src/feat/pitch-functions-test.cc +++ b/src/feat/pitch-functions-test.cc @@ -340,7 +340,7 @@ void UnitTestPostProcess() { op.max_f0 = 400; Matrix m, m2; Compute(op, waveform, &m); - PostProcessOptions postprop_op; + PostProcessPitchOptions postprop_op; postprop_op.pov_nonlinearity = 2; PostProcessPitch(postprop_op, m, &m2); std::string outfile = "keele/"+num+"-processed-kaldi.txt"; @@ -359,7 +359,7 @@ void UnitTestDeltaPitch() { for (int32 j = 2; j < num_frames - 2; j++) output_feat2(j) = 1.0 / 10.0 * (-2.0 * feat(j - 2) - feat(j - 1) + feat(j + 1) + 2.0 * feat(j + 2)); - PostProcessOptions op; + PostProcessPitchOptions op; op.delta_pitch_noise_stddev = 0; ExtractDeltaPitch(op, feat, &output_feat); if (!output_feat.ApproxEqual(output_feat2, 0.05)) { diff --git a/src/nnet2bin/nnet-subset-egs.cc b/src/nnet2bin/nnet-subset-egs.cc index 38be2cc5e..bb72824cc 100644 --- a/src/nnet2bin/nnet-subset-egs.cc +++ b/src/nnet2bin/nnet-subset-egs.cc @@ -36,7 +36,7 @@ int main(int argc, char *argv[]) { "Usage: nnet-subset-egs [options] [ ...]\n" "\n" "e.g.\n" - "nnet-get-egs [args] ark:- | nnet-subset-egs --n=1000 ark:- ark:subset.egs\n"; + "nnet-subset-egs [args] ark:- | nnet-subset-egs --n=1000 ark:- ark:subset.egs\n"; int32 srand_seed = 0; int32 n = 1000;