1. A method performed in an electronic device, the method comprising: receiving a first sound sample; extracting a first acoustic feature from the first sound sample; receiving a second sound sample; extracting a second acoustic feature from the second sound sample; determining whether the second acoustic feature is similar to the first acoustic feature; and in response to determining that the second acoustic feature is not similar to the first acoustic feature, outputting a determination result indicating whether the second sound sample is to be used in generating a sound detection model, the determination result including a request for a replacement sound sample.