主权项 |
1. A method of setting a personal wake-up word by text for voice control, which is applied to an electronic device comprising a processing unit, a storage unit, an input unit, a voice recognition unit and a voice receiving unit, wherein the storage unit is configured to store a voice control program, a wake-up-word set program, a preset wake-up word and a voice database, and the method comprises steps of:
activating the wake-up-word set program stored in the storage unit by the processing unit of the electronic device; receiving a set message transmitted from the input unit by the processing unit; parsing first text information contained in the set message by the processing unit, wherein the first text information comprises at least one character; storing the at least one character as a personal wake-up word by the processing unit; setting the personal wake-up word as a voice command for activating the voice control program when the at least one character of the first text information is determined to exist in content of the voice database by the processing unit; upon receipt of a voice message from the voice receiving unit, parsing the voice message and converting the content of the voice message into second text information by the voice recognition unit, wherein the second text information comprises at least one character; receiving the second text information transmitted from the voice recognition unit by the processing unit; and when the content of the second text information is determined to match the personal wake-up word, activating the voice control program stored in the storage unit and executing a control process corresponding to the voice message received subsequently by the processing unit. |