Voice recognition method and electronic device using the same
AssigneeASUSTeK COMPUTER INC.
InventorPei-Lin Liang
Life of this patent
Estimating the term…
Abstract
A voice recognition method is provided. The voice recognition method includes: collecting a plurality of voice signals; extracting the voiceprint features of each of the voice signals; performing a data process on the voiceprint features, to convert the voiceprint features into a N-dimensional matrix, and N is an integer greater than or equal to 2; performing a feature normalization process on the N-dimensional matrix to obtain a plurality of voiceprint data; classifying the voiceprint data to generate a clustering result; finding out a centroid of each cluster according to the clustering result, and registering the voiceprint data adjacent to each of the centroid. The disclosure also provides an electronic device that adapted for the voice recognition method.
Claims12
A voice recognition method, comprising:
- collecting a plurality of voice signals;
- extracting voiceprint features of each of the voice signals;
- performing a data process on the voiceprint features, to convert the voiceprint features into a N-dimensional matrix, and N is an integer greater than or equal to 2;
- performing a feature normalization process on the N-dimensional matrix to scale the voiceprint features proportionally to fall within a specific interval to obtain a plurality of voiceprint data;
- classifying the voiceprint data to generate a clustering result;
- and
- finding out a centroid of each cluster according to the clustering result, and registering the voiceprint data adjacent to each of the centroid;
- wherein the step of classifying the voiceprint data further comprises:
- calculating a number of the clusters and adjacent slopes by an elbow method according to the voiceprint data;
- generating the clustering result of classification by a hierarchical clustering algorithm using the calculated number of clusters when the slope changes suddenly;
- and
- generating the clustering result of classification directly by the hierarchical clustering algorithm without using the calculated number of clusters when the slope does not change suddenly.
An electronic device, comprising:
- a sound receiver, configured to collect a plurality of voice signals;
- and
- a processor, electrically connected to the sound receiver and configured for:
- extracting voiceprint features of each of the voice signals;
- performing a data process on the voiceprint features to convert the voiceprint features into a N-dimensional matrix, where N is an integer greater than or equal to 2;
- performing a feature normalization process on the N-dimensional matrix to obtain a plurality of voiceprint data;
- classifying the voiceprint data to generate a clustering result;
- and
- finding out a centroid of each cluster according to the clustering result, and registering the voiceprint data adjacent to the centroid;
- wherein when the processor is classifying the voiceprint data, the processor further configures to perform:
- calculating a number of the clusters and adjacent slopes by an elbow method according to the voiceprint data;
- generating the clustering result of classification by a hierarchical clustering algorithm using the calculated number of clusters when the slope changes suddenly;
- and
- generating the clustering result of classification by the hierarchical clustering algorithm without using the calculated number of clusters when the slope does not change suddenly.
Dependencies are inferred from the claim text.