IP Library › Granted Patent US 11,756,539
Granted Patent B2
US 11,756,539 · App. 16/735,879 · Granted Sep 12, 2023

System, apparatus, and method for processing natural language, and non-transitory computer readable recording medium

Inventors: Ji-hye Chung (Seoul, KR); Kyung-duk Kim (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONIC CO., LTD.
G10L15/22G06F40/20G10L2015/223
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,756,539
App. No.
16/735,879
Granted
Sep 12, 2023
Kind
B2
Abstract

A system, apparatus, and method for processing a natural language, and a computer readable recording medium are provided. The system includes a user device configured to receive a compound or complex sentence and a natural language processing apparatus configured to generate a plurality of control commands for the user device based on whether operations intended by a user are sequentially performable in the compound or complex sentence received from the user device.

Claims (55)

1. An electronic apparatus comprising:

a communicator;

a display;

a user input unit configured to receive a user voice input; and

a processor configured to:

receive the user voice input corresponding to a complex sentence including a plurality of sentences relating to a plurality of functions of the electronic apparatus,

receive, through the communicator, data corresponding to the user voice input from a server, the data including function information corresponding to whether the plurality of functions related to the plurality of sentences are sequentially performable as an order of the plurality of sentences in the complex sentence,

based on the plurality of functions related to the plurality of sentences being sequentially performable as the order of the plurality of sentences in the complex sentence, perform the plurality of functions as the order of the plurality of sentences, and

based on the plurality of functions related to the plurality of sentences being not sequentially performable as the order of the plurality of sentences in the complex sentence, according to the function information, control the display to display information indicating that the plurality of functions is not performable.

2. The electronic apparatus of claim 1 , further comprising:

a memory storing function information describing whether the plurality of functions are sequentially performable.

3. The electronic apparatus of claim 2 , wherein the processor is further configured to:

identify whether the plurality of functions are sequentially performable as the order of the plurality of sentences in the complex sentence based on the function information stored in the memory and the received data, and

based on the plurality of functions related to the plurality of sentences being sequentially performable as the order of the plurality of sentences in the complex sentence according to the data corresponding to the user voice input, generate a plurality of control commands corresponding to the plurality of functions.

4. The electronic apparatus of claim 1 , wherein the processor is further configured to:

divide the complex sentence into a plurality of shorter sentences, and identify whether the plurality of functions corresponding to each of the divided plurality of shorter sentences are sequentially performable functions according to the data corresponding to the user voice input.

5. The electronic apparatus of claim 4 , wherein the processor is further configured to:

based on the plurality of functions corresponding to each of the divided plurality of shorter sentences being sequentially performable according to the data corresponding to the user voice input, obtain the plurality of functions corresponding to each of the divided plurality of shorter sentences based on a dialog context of the plurality of functions and a stored dialog history, and

generate a control command corresponding to the obtained plurality of functions.

6. The electronic apparatus of claim 5 , wherein the processor is further configured to generate a system answer for performing a sub-dialog with the user to obtain the plurality of functions.

7. The electronic apparatus of claim 5 , wherein the processor is further configured to:

based on the plurality of functions corresponding to each of the divided plurality of shorter sentences being not sequentially performable according to the data corresponding to the user voice input, generate a control command for outputting a warning message and generate a control command for performing only one function from among the plurality of functions corresponding to each of the divided plurality of shorter sentences.

8. The electronic apparatus of claim 5 , wherein the processor is further configured to:

based on a voice signal corresponding to the generated control command being provided to the user, synthesize the generated control command and the voice signal.

9. The electronic apparatus of claim 4 , wherein

among the divided plurality of shorter sentences, a first short sentence corresponding to a first function is received before receiving a second short sentence corresponding to a second function, and

based on the second function being not sequentially performable in the electronic apparatus after performing the first function according to the data corresponding to the user voice input, the processor is further configured to generate a control command for performing only the first function among the first function and the second function.

10. The electronic apparatus of claim 1 , further comprising a memory that stores direction information which describes an order corresponding to the plurality of functions.

11. A method of an electronic apparatus, the method comprising:

receiving a user voice input corresponding to a complex sentence including a plurality of sentences relating to a plurality of functions of the electronic apparatus,

receiving data corresponding to the user voice input from a server, the data including function information corresponding to whether the plurality of functions related to the plurality of sentences are sequentially performable as an order of the plurality of sentences in the complex sentence,

based on the plurality of functions related to the plurality of sentences being sequentially performable as the order of the plurality of sentences in the complex sentence, performing the plurality of functions as the order of the plurality of sentences, and

based on the plurality of functions related to the plurality of sentences being not sequentially performable as the order of the plurality of sentences in the complex sentence, displaying information indicating that the plurality of functions is not performable.

12. The method of claim 11 , further comprising:

storing, in a memory, function information describing whether the plurality of functions are sequentially performable.

13. The method of claim 12 , further comprising:

identifying whether the plurality of functions are sequentially performable as the order of the plurality of sentences in the complex sentence based on the function information stored in the memory and the received data, and

based on the plurality of functions related to the plurality of sentences being sequentially performable as the order of the plurality of sentences in the complex sentence according to the data corresponding to the user voice input, generating a plurality of control commands corresponding to the plurality of functions.

14. The method of claim 11 , further comprising:

dividing the complex sentence into a plurality of shorter sentences, and

identifying whether the plurality of functions corresponding to each of the divided plurality of shorter sentences are sequentially performable functions according to the data corresponding to the user voice input.

15. The method of claim 14 , further comprising:

based on the plurality of functions corresponding to each of the divided plurality of shorter sentences being sequentially performable according to the data corresponding to the user voice input, obtaining the plurality of functions corresponding to each of the divided plurality of shorter sentences based on a dialog context of the plurality of function and a stored dialog history, and

generating a control command corresponding to the obtained functions.

16. The method of claim 15 , wherein the generating of the control command comprises generating a system answer for performing a sub-dialog with the user to obtain the plurality of functions.

17. The method of claim 15 , wherein the generating of the control command comprises,

based on the plurality of function corresponding to each of the divided plurality of shorter sentences being not sequentially performable according to the data corresponding to the user voice input, generating a control command for outputting a warning message and generating a control command for performing only one function from among the plurality of functions corresponding to each of the divided plurality of shorter sentences.

18. The method of claim 15 , further comprising:

based on a voice signal corresponding to the generated control command being provided to the user, synthesizing the generated control command and the voice signal.

19. The method of claim 11 , further comprising storing direction information which describes an order corresponding to the plurality of functions.

20. A non-transitory computer readable recording medium comprising a program for executing a method of an electronic apparatus, wherein the method comprises:

receiving a user voice input corresponding to a complex sentence including a plurality of sentences relating to a plurality of functions of the electronic apparatus,

receiving data corresponding to the user voice input from a server, the data including function information corresponding to whether the plurality of functions related to the plurality of sentences are sequentially performable as an order of the plurality of sentences in the complex sentence,

based on the plurality of functions related to the plurality of sentences being sequentially performable as the order of the plurality of sentences in the complex sentence, performing the plurality of functions as the order of the plurality of sentences, and

based on the plurality of functions related to the plurality of sentences being not sequentially performable as the order of the plurality of sentences in the complex sentence, displaying information indicating that the plurality of functions is not performable.

Priority Claims (1)
KR 10-2015-0127692 · Sep 9, 2015 · national
Continuity (2)
Continuation 15212758 · Jul 18, 2016
Related Publication 20200152198A1 · May 14, 2020
Cited By (1)
US 12,387,725