Method and apparatus for processing natural language, method and apparatus for training natural language processing model
AssigneeSamsung Electronics Co., Ltd.
InventorsSangho Lee, Hyoungmin Park
Life of this patent
Estimating the term…
Abstract
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.
Claims19
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.
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.
Dependencies are inferred from the claim text.