Adding words to a prefix tree for improving speech recognition
AssigneeInternational Business Machines Corporation
InventorsMasayuki Suzuki, Gakuto Kurata
Life of this patent
Estimating the term…
Abstract
An approach for improving speech recognition is provided. A processor receives a new word to add to a prefix tree. A processor determines a bonus score for a first transition from a first node to a second node in a prefix tree on condition that the first transition is included in a path of at least one transition representing the new word. A processor determines a hypothesis score for a hypothesis that corresponds to a speech sequence based on the prefix tree, where the hypothesis score adds the bonus score to an initial hypothesis score to determine the hypothesis score. In response to a determination that the hypothesis score exceeds a threshold value, a processor generates an output text sequence for the speech sequence based on the hypothesis.
Claims20
A computer-implemented method for improving speech recognition, the computer-implemented method comprising:
- receiving, by one or more processors, a new word to add to a prefix tree;
- determining, by the one or more processors, a bonus score for a first transition from a first node to a second node in the prefix tree on condition that the first transition is included in a path of at least one transition representing the new word;
- determining, by the one or more processors, a hypothesis score for a hypothesis that corresponds to a speech sequence based, at least in part, on the prefix tree, wherein the hypothesis score adds the bonus score to an initial hypothesis score to determine the hypothesis score;
- and
- responsive to a determination that the hypothesis score exceeds a threshold value, generating, by the one or more processors, an output text sequence for the speech sequence based on the hypothesis.
A computer program product for improving speech recognition, the computer program product comprising:
- one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising:
- program instructions to receive a new word to add to a prefix tree;
- program instructions to determine a bonus score for a first transition from a first node to a second node in the prefix tree on condition that the first transition is included in a path of at least one transition representing the new word;
- program instructions to determine a hypothesis score for a hypothesis that corresponds to a speech sequence based, at least in part, on the prefix tree, wherein the hypothesis score adds the bonus score to an initial hypothesis score to determine the hypothesis score;
- and
- responsive to a determination that the hypothesis score exceeds a threshold value, program instructions to generate an output text sequence for the speech sequence based on the hypothesis.
A computer system for improving speech recognition, the computer system comprising:
- one or more computer processors;
- one or more computer readable storage media;
- and
- program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
- program instructions to receive a new word to add to a prefix tree;
- program instructions to determine a bonus score for a first transition from a first node to a second node in the prefix tree on condition that the first transition is included in a path of at least one transition representing the new word;
- program instructions to determine a hypothesis score for a hypothesis that corresponds to a speech sequence based, at least in part, on the prefix tree, wherein the hypothesis score adds the bonus score to an initial hypothesis score to determine the hypothesis score;
- and
- responsive to a determination that the hypothesis score exceeds a threshold value, program instructions to generate an output text sequence for the speech sequence based on the hypothesis.
Dependencies are inferred from the claim text.