Voice recognition system and construction method thereof
First Claim
1. A voice recognition system, comprising:
- a registration center storing information of application programs installed on the voice recognition system;
wherein the registration center comprises;
class nodes classified by intent, each class node storing preset expressions with semantic variables which describe common behaviors of a series of application programs, and the preset expressions are mapped to a first public function set;
the voice recognition system further comprising;
the application programs, each of the application programs joining the registration center by declaring a first class node which is one of the class nodes to which each of the application programs belongs and inheriting a second public function set of the first class node;
each of the application programs is a third-party application program downloaded from an application store; and
a voice recognition module converting first voice input by a user into first text content;
the voice recognition system selects a selected application program which is one of the class nodes to process information obtained from the first text content output by the voice recognition module;
when the first text content output by the voice recognition module matches with a first preset expression with semantic variables of a matching class node which is one of the class nodes in the registration center, the voice recognition system selects the selected application program belonging to the matching class node and writes a first intent name and first intent variables into a private directory of the selected application program, the selected application program selects and executes a third public function inherited from the matching class node based on the first intent name and the first variables after the selected application program is started;
the first intent name is bound to the first preset expression with semantic variables and corresponds to a constant in the third public function inherited from the matching class node; and
the first intent variables are extracted from the first text content output by the voice recognition module and correspond to variables in the third public function inherited from the matching class node;
wherein when the first text content output by the voice recognition module matches with the first preset expression with semantic variables of the matching class node in the registration center, manners in which the voice recognition system selects the selected application program include;
if the first preset expression with semantic variables specifies an application name, the voice recognition system selects the selected application program according to the application name.
0 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are a voice recognition system and a construction method for the voice recognition system. By way of layering the system, a general semantic recognition operation for the system is separated from a specific semantic recognition operation for an application program; and by way of classifying the application programs and abstracting out a common performance function, the system can find the application program matching the voice content semantics very efficiently and a third-party program is easily added into the existing voice recognition system. The present invention maps many performance functions to a preset expression with semantic variables, so that the system can recognize more semantic expression manners with optimization of the semantic recognition. Therefore, the system can show more humanized characteristics.
-
Citations
15 Claims
-
1. A voice recognition system, comprising:
-
a registration center storing information of application programs installed on the voice recognition system;
wherein the registration center comprises;class nodes classified by intent, each class node storing preset expressions with semantic variables which describe common behaviors of a series of application programs, and the preset expressions are mapped to a first public function set; the voice recognition system further comprising; the application programs, each of the application programs joining the registration center by declaring a first class node which is one of the class nodes to which each of the application programs belongs and inheriting a second public function set of the first class node;
each of the application programs is a third-party application program downloaded from an application store; anda voice recognition module converting first voice input by a user into first text content;
the voice recognition system selects a selected application program which is one of the class nodes to process information obtained from the first text content output by the voice recognition module;when the first text content output by the voice recognition module matches with a first preset expression with semantic variables of a matching class node which is one of the class nodes in the registration center, the voice recognition system selects the selected application program belonging to the matching class node and writes a first intent name and first intent variables into a private directory of the selected application program, the selected application program selects and executes a third public function inherited from the matching class node based on the first intent name and the first variables after the selected application program is started;
the first intent name is bound to the first preset expression with semantic variables and corresponds to a constant in the third public function inherited from the matching class node; and
the first intent variables are extracted from the first text content output by the voice recognition module and correspond to variables in the third public function inherited from the matching class node;
wherein when the first text content output by the voice recognition module matches with the first preset expression with semantic variables of the matching class node in the registration center, manners in which the voice recognition system selects the selected application program include;if the first preset expression with semantic variables specifies an application name, the voice recognition system selects the selected application program according to the application name. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for constructing a voice recognition system, the voice recognition system comprises a voice recognition module and a registration center, the registration center is configured to store information of application programs installed in the voice recognition system, the application programs are third-party applications downloaded from an application store, the registration center further comprising:
- class nodes classified by intent, each class node stores preset expressions with semantic variables which describe common behaviors of a series of the application programs, and the preset expressions are mapped to a first public function set;
wherein the construction method comprising;S701, each of the application programs that belongs to a first class node which is one of the class nodes and inherits a second public function set of the first class node submitting information to the registration center; S702, the voice recognition system receiving first voice input by a user, and the voice recognition module converting voice into first text content; S703, transmitting the first text content obtained from the voice recognition module to all the class nodes, if the first text content matches with a first preset expressions with semantic variables of a matching class node which is one of the class nodes in the registration center, S704 is performed; S704, the voice recognition system selecting a selected application program which is one of the application programs and writing a first intent name and first intent variables corresponding to the first preset expression with semantic variables into a private directory of the selected application program installed on the voice recognition system, wherein, the first intent name is bound to the first preset expression and corresponds to a constant in a third public function inherited from the matching class node, and the first intent variables are extracted from the first text content output by the voice recognition module and correspond to variables in the third public function inherited from the matching class node; S705, the voice recognition system starting the selected application program, the selected application program calls the third public function inherited from the matching class node according to the first intent name and the first intent variables stored in the private directory of the selected application program; wherein manners for selecting the selected application program in step S704 include; If the first preset expression with semantic variables specifies an application name, the voice recognition system selects the selected application program according to the application name. - View Dependent Claims (8, 9, 10, 11, 12)
- class nodes classified by intent, each class node stores preset expressions with semantic variables which describe common behaviors of a series of the application programs, and the preset expressions are mapped to a first public function set;
-
13. A voice recognition system comprising:
- a voice recognition module, converting first voice into first text content; and
class nodes classified by intent, each class node storing preset expressions with semantic variables which describe common behaviors of a series of application programs, the preset expressions are mapped to a first public function set; and
the application programs, each of the application programs joining the voice recognition system by declaring a first class node which is one of the class nodes to which each of the application programs belongs and inheriting a second public function set of the first class node;
wherein the application programs are third-party application programs downloaded from an application store;
manners in which the application programs interact with a user through the voice recognition system includes;after voice input by the user is converted into first text content by the voice recognition module, when the first text content matches with a first preset expression with semantic variables of a matching class node which is one of the class nodes, the voice recognition system selects a selected application program which is one of the application programs according to an application name and writes an first intent name and first intent variables into a private directory of the selected application program and starts the selected application program, the selected application program loads the first intent name and first intent variables from the private directory and calls a second public function inherited from the matching class node;
wherein, the first intent name is bound to the first preset expression and corresponds to a constant in the second public function inherited from the matching class node, and the first intent variables are extracted from the first text content output by the voice recognition module and correspond to variables in the second public function inherited from the matching class node. - View Dependent Claims (14, 15)
- a voice recognition module, converting first voice into first text content; and
Specification