Method and system of adding punctuation and establishing language model using a punctuation weighting applied to chinese speech recognized text
First Claim
1. A computer-implemented method of adding punctuation marks to a Chinese sentence based on a Chinese language punctuation model, wherein the Chinese language punctuation model was pre-generated from a training corpus of Chinese sentences having punctuation marks and includes multiple predefined characteristic units, each predefined characteristic unit including a series of Chinese expressions, possible punctuation marks present in the series of Chinese expressions and their respective probabilities, the method comprising:
- at a computer having one or more processors and memory for storing programs to be executed by the one or more processors;
extracting the Chinese sentence from a speech input through speech recognition;
identifying a plurality of expressions in the Chinese sentence by segmenting the Chinese sentence according to their semantic features, each of the plurality of expressions including one or more Chinese characters;
grouping the plurality of expressions in the Chinese sentence into a plurality of characteristic units according to the semantic features of the plurality of expressions using one or more predefined characteristic templates;
extracting, from the Chinese language punctuation model, a plurality of possible punctuation marks appearing in the corresponding series of Chinese expressions and their respective probabilities for each of the plurality of characteristic units;
determining a punctuation mark and its weight for each of the plurality of expressions in the Chinese sentence according to the plurality of possible punctuation marks extracted from the Chinese language punctuation model;
calculating an overall weight for each possible arrangement of punctuation marks in the Chinese sentence based on the weights of punctuation marks at each of the plurality of expressions in the Chinese sentence; and
adding the punctuation marks corresponding to an arrangement of a maximum overall weight into the Chinese sentence.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of processing information content based on a Chinese language model is performed at a computer, the method including: identifying a plurality of expressions in the information content extracted from a speech input through speech recognition that is queued to be processed; dividing the expressions into a plurality of characteristic units according to semantic features and predetermined characteristics associated with each characteristic unit, each including a subset of the expressions and the predetermined characteristics at least including a respective integer number of expressions that are included in the characteristic unit; extracting, from the Chinese language model, a plurality of probabilities for punctuation marks associated with each characteristic unit; and in accordance with the probabilities, associating a respective punctuation mark with each characteristic unit included in the information content. The method further comprises adding punctuation marks based on a weight determined for each punctuation mark.
-
Citations
16 Claims
-
1. A computer-implemented method of adding punctuation marks to a Chinese sentence based on a Chinese language punctuation model, wherein the Chinese language punctuation model was pre-generated from a training corpus of Chinese sentences having punctuation marks and includes multiple predefined characteristic units, each predefined characteristic unit including a series of Chinese expressions, possible punctuation marks present in the series of Chinese expressions and their respective probabilities, the method comprising:
-
at a computer having one or more processors and memory for storing programs to be executed by the one or more processors; extracting the Chinese sentence from a speech input through speech recognition; identifying a plurality of expressions in the Chinese sentence by segmenting the Chinese sentence according to their semantic features, each of the plurality of expressions including one or more Chinese characters; grouping the plurality of expressions in the Chinese sentence into a plurality of characteristic units according to the semantic features of the plurality of expressions using one or more predefined characteristic templates; extracting, from the Chinese language punctuation model, a plurality of possible punctuation marks appearing in the corresponding series of Chinese expressions and their respective probabilities for each of the plurality of characteristic units; determining a punctuation mark and its weight for each of the plurality of expressions in the Chinese sentence according to the plurality of possible punctuation marks extracted from the Chinese language punctuation model; calculating an overall weight for each possible arrangement of punctuation marks in the Chinese sentence based on the weights of punctuation marks at each of the plurality of expressions in the Chinese sentence; and adding the punctuation marks corresponding to an arrangement of a maximum overall weight into the Chinese sentence. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method of establishing a Chinese language punctuation model from a training corpus of Chinese sentences having a plurality of punctuation marks, comprising:
-
at a computer having one or more processors and memory for storing programs to be executed by the one or more processors; identifying, within the training corpus of Chinese sentences having the plurality of punctuation marks, a plurality of expressions, each of the plurality of expressions including one or more Chinese characters, wherein the plurality of expressions are separated and grouped by a plurality of punctuation marks that are located at predetermined locations in the training corpus of Chinese sentences; grouping the plurality of expressions in the training corpus of Chinese sentences into a plurality of characteristic units according to semantic features of the plurality of expressions and predefined characteristic templates of the plurality of characteristic units, each characteristic unit including a respective series of expressions and a unique identification number assigned to the characteristic unit; and for each of the plurality of characteristic units, recording a respective frequency of occurrence for each of the plurality of punctuation marks appearing in the corresponding series of expressions found in the training corpus of Chinese sentences; and wherein a plurality of probabilities for a plurality of punctuation marks associated with each of the plurality of characteristic units are used to determine a punctuation mark for a corresponding characteristic unit found in a Chinese sentence extracted from a speech input through speech recognition and that is not yet segmented by punctuation marks; determining a punctuation mark and its weight for each of a plurality of expressions in a Chinese sentence according to a plurality of possible punctuation marks extracted from the Chinese language punctuation model; calculating an overall weight for each possible arrangement of punctuation marks in the Chinese sentence based on the weights of punctuation marks at each of the plurality of expressions in the Chinese sentence; and adding the punctuation marks corresponding to an arrangement of a maximum overall weight into the Chinese sentence. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A computer system, comprising:
-
one or more processors; and memory having instructions and a Chinese language punctuation model stored thereon, wherein the Chinese language punctuation model was pre-generated from a training corpus of Chinese sentences having punctuation marks and includes multiple predefined characteristic units, each predefined characteristic unit including a series of Chinese expressions, possible punctuation marks present in the series of Chinese expressions and their respective probabilities, the instructions when executed by the one or more processors cause the processors to perform operations, comprising; extracting a Chinese sentence from a speech input through speech recognition; identifying a plurality of expressions in the Chinese sentence by segmenting the Chinese sentence according to their semantic features, each of the plurality of expressions including one or more Chinese characters; grouping the plurality of expressions in the Chinese sentence into a plurality of characteristic units according to the semantic features of the plurality of expressions using one or more predefined characteristic templates; extracting, from the Chinese language punctuation model, a plurality of possible punctuation marks appearing in the corresponding series of Chinese expressions and their respective probabilities for each of the plurality of characteristic units; determining a punctuation mark and its weight for each of the plurality of expressions in the Chinese sentence according to the plurality of possible punctuation marks extracted from the Chinese language punctuation model; calculating an overall weight for each possible arrangement of punctuation marks in the Chinese sentence based on the weights of punctuation marks at each of the plurality of expressions in the Chinese sentence; and adding the punctuation marks corresponding to an arrangement of a maximum overall weight into the Chinese sentence. - View Dependent Claims (15, 16)
-
Specification