摘要 |
The embodiment of the present invention provides a method for realizing a voice recognition function, including: setting a corresponding relationship between the attitude parameter of a mobile terminal body and a voice recognition mode (S10); if a gravity sensor in the mobile terminal detects that a change of the attitude parameter of the mobile terminal body satisfies a condition of switching the voice recognition mode, then switching the voice recognition mode, and performing voice recognition under the switched voice recognition mode (S20). Through self-adaptively switching the voice recognition mode of the mobile terminal, the voice recognition function of the mobile terminal can be made to free the hands of a user to the greatest extent and save power consumption. An apparatus for realizing the voice recognition function corresponding to the method is also disclosed. |