Method and apparatus for processing natural language, method and apparatus for training natural language processing model

US10540964B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10540964-B2
Application numberUS-201715598966-A
CountryUS
Kind codeB2
Filing dateMay 18, 2017
Priority dateNov 16, 2016
Publication dateJan 21, 2020
Grant dateJan 21, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A natural language processing method and corresponding apparatus are disclosed. The natural language processing method may include converting words in sentence data, recognized through voice recognition, to corresponding word vectors, and converting characters in the sentence data to corresponding character vectors. The natural language processing method also may include generating a sentence vector based on the word vectors and the character vectors, and determining intent information of the sentence data based on the sentence vector.

First claim

Opening claim text (preview).

What is claimed is: 1. A natural language processing method, comprising: receiving a voice signal; extracting features from the received voice signal; recognizing a phoneme sequence from the extracted features through an acoustic model; generating sentence data by recognizing words from the phoneme sequence through a language model; converting words in the sentence data, to corresponding word vectors; converting characters in the sentence data to corresponding character vectors; generating a sentence vector based on the word vectors and the character vectors; determining intent information of the sentence data based on the sentence vector; and outputting a control signal corresponding to the intent information to perform an operation by an electronic device. 2. The natural language processing method of claim 1 , wherein the generating of the sentence vector comprises: generating a concatenation vector of each of the words by concatenating a word vector of each of the words and a character vector of each of characters in each of the words; and generating the sentence vector by concatenating corresponding concatenation vectors of the words. 3. The natural language processing method of claim 1 , wherein the converting of the words to the word vectors comprises: in response to an unlabeled word being among the words, converting a word corresponding to the unlabeled word to a word vector corresponding to an unknown word vector. 4. The natural language processing method of claim 1 , wherein the determining of the intent information comprises: calculating a probability of each of pieces of candidate intent information determined from the sentence vector; and determining the intent information among the pieces of candidate intent information based on the calculated probability of each of the pieces of candidate intent information. 5. The natural language processing method of claim 1 , wherein the determining of the intent information comprises: determining a target word corresponding to an error word in the sentence data based on a concatenation vector of the error word; and recognizing the error word as the target word, wherein the concatenation vector of the error word is generated by concatenating a word vector of the error word and a character vector of each of characters in the error word. 6. The natural language processing method of claim 5 , wherein, in response to the error word being an unlabeled word, the word vector of the error word corresponds to an unknown word vector. 7. The natural language processing method of claim 1 , wherein the intent information is generated by a natural language processing model receiving the sentence vector. 8. The natural language processing method of claim 7 , wherein, in response to the natural language processing model receiving training data including a second word generated by applying noise to a first word, the natural language processing model is trained to recognize the second word as the first word. 9. The natural language processing method of claim 8 , wherein the second word is generated by changing a portion of characters in the first word to other characters, or adding another character to the first word. 10. A natural language processing apparatus comprising: a controller; and a memory including at least one instruction executable by the controller, wherein, in response to the instruction being executed by the controller, the controller is configured to: receive a voice signal, extract features from the received voice signal, recognize a phoneme sequence from the extracted features through an acoustic model, generate sentence data by recognizing words from the phoneme sequence through a language model, convert words in the sentence data to corresponding word vectors, convert characters in the sentence data to corresponding character vectors, generate a sentence vector based on the word vectors and the character vectors, determine intent information of the sentence data based on the sentence vector, and output a control signal corresponding to the intent information to perform an operation by an electronic device. 11. The natural language processing apparatus of claim 10 , wherein the controller is further configured to: generate a concatenation vector of each of the words by concatenating a word vector of each of the words and a character vector of each of characters in each of the words; and generate the sentence vector by concatenating corresponding concatenation vectors of the words. 12. The natural language processing apparatus of claim 10 , wherein the controller is further configured to: in response to an unlabeled word being among the words, convert a word corresponding to the unlabeled word to a word vector corresponding to an unknown word vector. 13. The natural language processing apparatus of claim 10 , wherein the controller is further configured to: calculate a probability of each of pieces of candidate intent information determined from the sentence vector; and determine the intent information among the pieces of candidate intent information based on the calculated probability of each of the pieces of candidate intent information. 14. The natural language processing apparatus of claim 10 , wherein the controller is further configured to: determine a target word corresponding to an error word in the sentence data based on a concatenation vector of the error word; and recognize the error word as the target word, wherein the concatenation vector of the error word is generated by concatenating a word vector of the error word and a character vector of each of characters in the error word. 15. The natural language processing apparatus of claim 14 , wherein, in response to the error word being an unlabeled word, the word vector of the error word corresponds to an unknown word vector. 16. The natural language processing apparatus of claim 10 , wherein the intent information is generated by a natural language processing model receiving the sentence vector. 17. The natural language processing apparatus of claim 16 , wherein, in response to the natural language processing model receiving training data including a second word generated by applying noise to a first word, the natural language processing model is trained to recognize the second word as the first word. 18. The natural language processing apparatus of claim 17 , wherein the second word is generated by changing a portion of characters in the first word to other characters, or adding another character to the first word. 19. The natural language processing apparatus of claim 10 , wherein the controller is further configured to: receive a voice signal; extract features from the received voice signal; recognize a phoneme sequence from the extracted features through an acoustic model; and generate the sentence data by recognizing words from the phoneme sequence through a language model.

Assignees

Inventors

Classifications

  • Discourse or dialogue representation · CPC title

  • Feature extraction for speech recognition; Selection of recognition unit · CPC title

  • Speech recognition techniques specially adapted for robustness in adverse environments, e.g. in noise, of stress induced speech (G10L21/02 takes precedence) · CPC title

  • Semantic analysis · CPC title

  • Training · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10540964B2 cover?
A natural language processing method and corresponding apparatus are disclosed. The natural language processing method may include converting words in sentence data, recognized through voice recognition, to corresponding word vectors, and converting characters in the sentence data to corresponding character vectors. The natural language processing method also may include generating a sentence v…
Who is the assignee on this patent?
Samsung Electronics Co Ltd
What technology area does this patent fall under?
Primary CPC classification G10L15/22. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 21 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).