An electronic device is disclosed. The electronic device comprises: a microphone for receiving voice; a memory for storing a plurality of text sets; and a processor for converting the voice, received via the microphone, into text, searching for words common to the converted text with respect to each of the plurality of text sets, and determining at least one text set of the plurality of text sets on the basis of the ratio of the searched common words.
|
10. A speech recognition method of an electronic device, storing a plurality of text sets, comprising:
obtaining text based on a user voice input;
obtaining common words between words included in the obtained text and words included in a first text set among the plurality of text sets, and
identifying whether the first text set is output based on at least one of a first ratio between the number of the common words included in the obtained text and the number of words included in the obtained text or a second ratio between the number of the common words included in the first text set and the number of words included in the first text set.
1. An electronic device comprising:
a microphone configured to receive a user voice input;
a memory configured to store a plurality of text sets; and
a processor configured to:
obtain text based on the user voice input received via the microphone,
obtain common words between words included in the obtained text and words included in a first text set among the plurality of text sets, and
identify whether the first text set is output based on at least one of a first ratio between the number of the common words included in the obtained text and the number of words included in the obtained text or a second ratio between the number of the common words included in the first text set and the number of words included in the first text set.
2. The device according to
3. The device according to
4. The device according to
5. The device according to
obtain candidate text sets among the plurality of text sets based on the obtained common words and an order of the obtained common words; and
identify whether at least one text set is output based on a ratio of the obtained common words in each of the obtained candidate text sets.
6. The device according to
7. The device according to
a communicator configured to receive EPG information,
wherein the processor is configured to store broadcast program information included in the EPG information in the memory as the plurality of text sets.
8. The device according to
9. The device according to
11. The method according to
based on the first text set having at least one ratio of the first ratio or the second ratio that is higher than a predetermined ratio, outputting the first text set.
12. The method according to
based on the number of text sets having the ratio higher than the predetermined ratio being more than one, displaying a UI in which the plurality of text sets are arranged in the order of at least one ratio of the first ratio or the second ratio of each of the plurality of text sets.
13. The method according to
|
This application is a U.S. National Stage Application which claims the benefit under 35 U.S.C. § 371 of International Patent Application No. PCT/KR2018/012750 filed on Oct. 25, 2018, which claims foreign priority benefit under 35 U.S.C. § 119 of Korean Patent Application No. 10-2017-0143213 filed on Oct. 31, 2017 in the Korean Intellectual Property Office, the contents of both of which are incorporated herein by reference.
The disclosure relates to an electronic device, a speech recognition method, and a recording medium, and more particularly relates to an electronic device capable of recognizing an entire text from utterance of some text by using a ratio of included words extracted from text converted from an input speech, a speech recognition method, and a recording medium.
The electronic device is a device electrically executing specific functions according to instructions of a user, and a technology that the electronic device recognizes a speech of a user and executes a function intended by a user when receiving an instruction of a user has been provided.
Conventionally, when recognizing an instruction of a user through a user's speech, if a result of speech recognition coincided with a candidate word or sentence, it was determined that the corresponding word or sentence was recognized, and the electronic device operated a function or provided a feedback to a user by using the recognized result.
Accordingly, if a candidate word or sentence to be recognized is long or a user does not utter the entire word or sentence, the function operation is not performed or the feedback is not made, since it is not determined that the corresponding candidate word or sentence is recognized. Thus, there was a problem of hindrance of usability of speech recognition against the user's intention.
In addition, a conventional technology of performing post-processing with respect to a result of speech recognition also had a problem, since basically the recognition was operated only when a final result coincided with a candidate word or sentence.
An object of the disclosure is to provide an electronic device capable of recognizing an entire text from utterance of some text by using a ratio of included words extracted from text converted from an input speech, a speech recognition method, and a recording medium.
According to an embodiment of the disclosure for achieving the above-mentioned object, there is provided an electronic device including a microphone for receiving a speech, a memory for storing a plurality of text sets, and a processor configured to convert the speech received via the microphone into text, search for words in each of the plurality of text sets common to words in the converted text, and determine at least one text set among the plurality of text sets based on a ratio of the searched common words.
The processor may be configured to determine at least one text set based on a first ratio of the searched common words in the text set and a second ratio of the searched common words in the converted text.
The processor may be configured to determine a text set having at least one ratio of the first ratio and the second ratio that is higher than a predetermined ratio as the at least one text set.
The processor may be configured to, based on the number of text sets having a ratio higher than the predetermined ratio being more than one, display a UI in which the plurality of text sets are arranged in the order of at least one ratio of the first ratio and the second ratio of each of the plurality of text sets.
The processor may be configured to determine one text set among the plurality of text sets based on a ratio of the extracted words in the plurality of text sets and an order of the extracted words.
The processor may be configured to search for candidate text sets among the plurality of text sets based on the extracted words and an order of the extracted words, and determine at least one text set based on a ratio of the extracted words in the searched candidate text sets.
The processor may be configured to execute an event corresponding to the determined text set.
The electronic device may further include a communicator for receiving EPG information, and the processor may be configured to store broadcast program information included in the EPG information in the memory as the text set.
The processor may be configured to, based on the determined text set corresponding to the EPG information, generate an event regarding a broadcast program corresponding to the EPG information.
The event regarding the broadcast program may be at least one of changing, recording, scheduled recording, and scheduled viewing of a channel of the broadcast program.
According to another embodiment of the disclosure, there is provided a speech recognition method of an electronic device, including converting an input speech into text, extracting a plurality of words based on the converted texts, searching for words in each of a plurality of text sets stored in advance common to the plurality of extracted words and determining at least one text set among the plurality of text sets based on a ratio of the searched common words, and executing an event corresponding to the determined text set.
The determining may include calculating a first ratio of the searched common words in the text set, calculating a second ratio of the searched common words in the converted text, and selecting at least one text set based on the calculated first ratio and the calculated second ratio.
The selecting may include selecting a text set having at least one ratio of the first ratio and the second ratio that is higher than a predetermined ratio as at least one text set.
The speech recognition method may further include, based on the number of text sets having a ratio higher than the predetermined ratio being more than one, displaying a UI in which the plurality of text sets are arranged in the order of at least one ratio of the first ratio and the second ratio of each of the plurality of text sets.
The determining may include determining one text set among the plurality of text sets based on a ratio of the extracted words in the plurality of text sets and an order of the extracted words.
The determining may include a first step of searching for candidate text sets based on the extracted words in the plurality of text sets and an order of the extracted words, and a second step of determining at least one text set based on a ratio of the extracted words in the searched candidate text sets.
The speech recognition method may further include receiving EPG information, and storing broadcast program information included in the EPG information in a memory as the text set.
The executing an event may include, based on the determined text set corresponding to the EPG information, executing an event regarding a broadcast program corresponding to the EPG information.
The event regarding the broadcast program is at least one of changing, recording, scheduled recording, and scheduled viewing of a channel of the broadcast program.
According to still another embodiment of the disclosure, there is provided a computer-readable recording medium including a program for executing a speech recognition method of an electronic device, the speech recognition method including converting an input speech into text, extracting a plurality of words based on the converted texts, determining at least one text set among a plurality of text sets stored in advance based on a ratio of the extracted words in the plurality of text sets, and executing an event corresponding to the determined text set.
The disclosed way of the specification and the drawings will be described before specifically describing the disclosure.
First, the terms used in the specification and claims have been selected as general terms in consideration of functions in embodiments of the disclosure, but these may vary in accordance with the intention of those skilled in the art, legal and technical interpretation, the emergence of new technologies and the like. In addition, some terms are arbitrarily selected by the applicant. Such terms may be interpreted as the meaning defined in this specification, and unless otherwise specifically defined, the terms may be interpreted based on general content of this specification and typical technical knowledge in the technical field.
In addition, the same reference numerals or symbols shown in the accompanying drawings of the specification show parts or elements executing substantially the same function. For convenience of description and understanding, the description will be made using the same reference numerals or symbols in different embodiments. That is, although all of elements having the same reference numeral are shown in a plurality of drawings, the plurality of drawings do not mean one embodiment.
In addition, terms including the ordinal umbers such as “first”, “second”, and the like may be used for distinguishing an element from another in the specification and claims. Such ordinal numbers are used for distinguishing the same or similar elements from each other and the meaning of the term should not be limitedly interpreted by using such ordinal numbers. For example, an element with such an ordinal number should not be limited in terms of a usage order or arrangement order due to the number thereof. If necessary, the ordinal numbers may be interchangeably used.
Unless otherwise defined specifically, a singular expression may encompass a plural expression. It is to be understood that the terms such as “comprise” or “consist of” are used herein to designate a presence of characteristic, number, step, operation, element, part, or a combination thereof, and not to preclude a presence or a possibility of adding one or more of other characteristics, numbers, steps, operations, elements, parts or a combination thereof.
A term such as “module”, “unit”, or “part” in embodiments of the disclosure is a term indicating an element performing at least one function or operation, and such an element may be implemented as hardware, software, or a combination of hardware and software. Further, except for when each of a plurality of “modules”, “units”, “parts” and the like needs to be realized in an individual specific hardware, the components may be integrated as at least one module or chip and be implemented as at least one processor (not shown).
In addition, in embodiments of the disclosure, if it is described that a certain part is connected to another part, this includes not only direct connection but also indirect connection through still another medium. Further, the expression “a certain part includes another element” does not exclude other elements not disclosed, but means that other elements may be further included, unless otherwise noted.
Hereinafter, the disclosure will be described in detail with reference to the accompanying drawings.
The electronic device 100 may be implemented as, for example, an analog TV, a digital TV, a 3D TV, a smart TV, an LED TV, an OLED TV, a plasma TV, a monitor, a curved TV with a screen having a fixed curvature, a flexible TV with a screen having a fixed curvature, a bended TV with a screen having a fixed curvature, and/or a bendable TV having an adjustable curvature of a current screen by a received user input, but there is no limitation thereto.
The microphone 110 may receive a user's speech and generate a speech signal corresponding to the received speech. In
The memory 120 may be implemented as a non-volatile memory (e.g., hard disk, solid state drive (SSD), or flash memory), a volatile memory, and the like, and may store text information, image contents, and information regarding the functions of the electronic device 100.
The memory 120 may store a plurality of text sets. For example, each of the text sets may include a sentence regarding daily information such as “What time is it now?” or “How is the weather today?”, an instruction sentence regarding a function executable by the electronic device 100, a sentence requesting for specific information, and the like, and may also include electronic program guide (EPG) information. However, the text set is not limited to the above-mentioned elements.
The information regarding the plurality of text sets stored in the memory 120 may be added, removed, or changed by the control of the processor 130.
The processor 130 may control the microphone 110 to receive a speech, control the memory 120 to store data, or receive data from the memory 120. The processor 130 may be an element configured to control elements included in the electronic device 100.
The processor 130 may convert a speech signal obtained by receiving utterance of a user via the microphone 110 into text, and then compare this with each of the text sets stored in the memory 120 in a word unit. However, the comparison is not limitedly performed in the word unit and may be performed in a unit of syllable, consonant, vowel, letter, or alphabet.
In addition, the processor 130 may determine a text set having a highest degree of coincidence by considering a ratio or an order of words coinciding between the text converted from the speech signal and each of the text sets stored in the memory.
The processor 130 may determine one or more candidates among the texts based on the order of words, and determine a final text set by considering a ratio of words coinciding between the determined candidates and the text converted from the speech signal.
In such a case, there is no need to calculate the ratio with respect to all of the stored text sets, since the order of the common words is used when determining the candidates. Therefore, it is advantageous in terms of improving a speed of the entire process.
In addition, in the embodiment, it can be said that both the speed and the accuracy of the speech recognition result matching are obtained, since it is possible to perform the precise determination using the ratio after selecting the candidate text sets.
Further, the processor 130 may calculate the ratio of words in each of the text sets coinciding with the text converted from the speech signal, set only text sets having a ratio higher than a predetermined threshold value as candidates, and select a text set having a highest ratio of words coinciding with the text converted from the speech signal among the candidates.
In such a case, if there are no text sets having a ratio higher than the predetermined threshold value, the processor 130 may control the electronic device 100 to execute functions of notifying a user that no results are obtained, requesting additional utterance, or inquiring about resetting of the predetermined threshold value, and the like.
The processor 130 may search for words in each of the plurality of stored text sets common to the words in the text converted from the speech signal, and determine at least one text set based on a first ratio of common words searched in each of the text sets and a second ratio of common words searched in the text converted from the speech signal.
In such a case, the processor 130 may determine a text set having at least one ratio of the first ratio and the second ratio that is higher than the predetermined ratio as a result text set. If the number of text sets having a ratio higher than the predetermined ratio is more than one, the processor 130 may select a text set having a highest first ratio or second ratio among the plurality of text sets as the result text set, or display a UI in which the plurality of text sets satisfying the predetermined ratio are arranged in the order of at least one ratio of the first ratio and the second ratio thereof and allow a user to select them.
In addition, in regard to the first ratio and the second ratio, ratios as threshold values may be set differently. In regard to each of the first ratio and the second ratio, if the number of text sets having a ratio higher than the predetermined ratio is more than necessary, the ratio as the threshold value may be decreased, and if there are no text sets having a ratio higher than the predetermined ratio, the ratio as the threshold value may be increased.
The predetermined threshold value may be set in accordance with a kind of language, a frequency of use of each word included in the text converted from the speech signal, a kind of electronic device, the number of standard texts including each word included in the text converted from the speech signal, sentence completeness of the text converted from the speech signal, a degree of noise of the speech signal, and the like.
There are a plurality of methods for determining the coincidence of the each word. For example, only when all syllables are coincide or syllables are coincide at a ratio equal to or higher than the predetermined ratio by comparing each syllable or letter, it may be determined that the words coincide, or this may be determined based on a unit of basic characters such as consonant, vowel, or alphabet.
When determining the coincidence of words, it may be determined which unit is to be used, by using a length of time of the speech signal, a data volume of the text converted from the speech signal, a kind of language, a kind of electronic device, a frequency of use of each word included in the text converted from the speech signal, an error possibility of each word included in the text converted from the speech signal determined by the electronic device, and the like.
The processor 130 that has determined the text set according to the various determination methods described above may execute an event corresponding to the determined text set.
Referring to
The processor 130 may include a RAM 131, a ROM 132, a CPU 133, and a system bus 134. The RAM 131, the ROM 132, the CPU 133, and the like may be connected to each other via the system bus 134 and transmit and receive various pieces of data or signals.
The ROM 132 stores instruction sets for system booting, and the CPU 133 copies an operating system stored in a storage (not shown) of the electronic device 100 according to the instruction stored in the ROM 132 and boots up the system by executing the 0/S.
After the booting, the CPU 133 may copy various applications stored in the storage of the electronic device 100 to the RAM 131 and execute various operations by executing the applications. Only one CPU 133 is included in
The CPU 133 accesses the storage (not shown) and executes the booting by using the 0/S stored in the storage. The CPU 133 executes various operations by using various programs, contents, pieces of data, and the like stored in the storage. Meanwhile, the memory 120 may be an element included in the storage or the storage may be an element included in the memory 120.
The display 140 may be implemented as a liquid crystal display (LCD), a cathode-ray tube (CRT), plasma display panel (PDP), organic light emitting diodes (OLED), a transparent OLED (TOLED), and the like. If the display 140 is formed of the LCD, the display 140 may include a driving circuit or a backlight unit which may be implemented in a form of an a-si TFT, a low temperature poly silicon (LTPS) TFT, an organic TFT (OTFT), and the like. The display 140 may be implemented in a form of touch screen that is able to detect a touch manipulation of a user.
The speech output unit 150 is an element for outputting sounds, and may output, for example, a sound included in a broadcast signal received via a tuner (not shown), a sound input via the communicator 160 or the microphone 110, or a sound included in an audio file stored in the memory 120.
In addition, the audio output unit 150 may include a speaker 151 and a headphone output terminal 152. The audio output unit 150 may receive a result signal from the processor 130 may output a sound corresponding to the control of the processor 130.
The communicator 160 is an element executing communication with various kinds of external devices according to communication systems. The communicator 160 may be connected to an external device via a local area network (LAN) or the Internet, or may be connected to an external device in a wireless communication system (for example, wireless communication such as Z-wave, 4LoWPAN, RFID, LTE D2D, BLE, GPRS, Weightless, Edge Zigbee, ANT+, NFC, IrDA, DECT, WLAN, Bluetooth, Wi-Fi, Wi-Fi Direct, GSM, UMTS, LTE, or WiBRO).
The communicator 160 includes various communication chips such as a Wi-Fi chip 161, a Bluetooth chip 162, an NFC chip 163, and a wireless communication chip 164. The Wi-Fi chip 161, the Bluetooth chip 162, and the NFC chip 163 execute communication in the Wi-Fi system, the Bluetooth system, and the NFC system, respectively. In addition, the communicator 160 may include an optical receiver 165 that is able to receive a control signal (for example, an IR pulse) from an external device (not shown) or a server (not shown).
The wireless communication chip 164 indicates a chip executing the communication based on various communication standards such as IEEE, Zigbee, 3rd Generation (3G), 3rd Generation Partnership Project (3GPP), or Long Term Evolution (LTE).
The CPU 133 determines the text set corresponding to the speech signal among the plurality of text sets stored in the memory 120 in advance and then executes a function corresponding to the determined text set.
In addition, the CPU 133 may control the display 140 to display the text converted from the input speech signal, the determined text set, or the result of the execution of the function corresponding to the determined text set on the display 140.
The CPU 133 may control the audio output unit 150 to output the determined text set or the result of the execution of the function corresponding to the determined text set as sounds via the speaker 151 or the headphone 152.
The communicator 160 that is able to transmit and receive data to and from an external device (not shown) may transmit the speech signal, the converted text of the speech signal, or the determined text set information to an external device or receive additional text set information from an external device under the control of the CPU 133. The CPU 133 may add, change, or remove the text set information stored in the memory 120.
The broadcast receiver 170 may tune and select only a frequency of a channel to be received by the electronic device 100 among a plurality of radio wave components through amplification, mixing, and resonance of a broadcast signal received in a wired or wireless manner. The broadcast signal may include videos, sounds, and additional data (e.g., electronic program guide (EPG)).
The broadcast receiver 170 may receive videos, sounds, and data in a frequency band corresponding to a channel number corresponding to a user input.
The broadcast receiver 170 may receive a broadcast signal from various sources such as terrestrial broadcast, cable broadcast, satellite broadcast, and the like. The broadcast receiver 170 may also receive a broadcast signal from a source such as an analogue broadcast or a digital broadcast.
The broadcast receiver may be implemented as a component of the all-in-one electronic device 100 or may be implemented as a separate device (e.g., a set-top box or a tuner connected to an input and output unit (not shown)) including a broadcast receiving unit electrically connected to the electronic device 100.
The speech recognition unit 310 may convert a speech signal obtained by an input of utterance of a user from the microphone 110 into text data and transmit the text data obtained by converting the speech signal to the matching unit 320.
The matching unit 320 may receive each of the text sets stored in the memory 120 from the memory 120 and determine a text set having a highest
degree of coincidence as a text set corresponding to the utterance of a user by comparing each of the received text sets with the converted text of the speech signal transmitted by the speech recognition unit.
In an embodiment, the matching unit 320 may divide the text converted from the input speech signal in a unit of words, calculate the numbers of divided words and coinciding words included in each of the text sets, and determine a text set having a highest degree of coincidence based on the ratio of the numbers of words included.
The electronic device 420 may select text sets including the words coinciding with “What”, “time”, or “now” at a predetermined ratio or higher among the plurality of text sets stored in advance as candidates, and determine “What time is it now?” which is a text set having a highest ratio as a sentence intended by a user.
Referring to
The embodiment of the disclosure is not limited to
In an embodiment of
Then, the server 520 which has received the speech signal converts the speech signal into the corresponding text, extracts words in each of a plurality of text sets stored in the server 520 in advance common to words in the text converted from the speech signal, and selects text sets as candidates by considering the order or ratio of the common words included.
Next, when the server 520 transmits the selected candidate text sets to the electronic device 500, the electronic device 500 may extract words in each of the candidate text sets selected by the server 520 that are common to words in the text converted from the speech signal, and determines one text set from the candidate text sets by considering the order or ratio of the common words included.
In addition, the electronic device 500 may transmit data regarding the text converted from the speech signal to the server 520, not the speech signal. In such a case, the server 520 is not necessarily convert the speech signal into text autonomously.
In a case where the electronic device 500 transmits all of the speech signal and the data regarding text converted from the speech signal to the server 520 and the server 520 also converts the speech signal into text, if the text converted from the speech signal by the electronic device 500 does not coincide with the text converted from the speech signal by the server 520, the server 520 may give a feedback about information regarding the text converted from the speech signal by the electronic device 500.
This is able to compensate the problem that the process of selecting the candidates from many text sets stored in advance may take a long time. Therefore, it is advantageous that the server 520 may determine whether or not each of all of the text sets stored in advance becomes the candidate text and continuously transmit the determined candidate text to the electronic device 500 in real time, and at the same time, the electronic device 500 may calculate the ratio of each of the candidate text sets received from the server 520 in real time, thereby reducing a period of time for deriving the final result.
In another embodiment of
At this time, the server 520 may determine one or more candidates from the text sets based on the order of words, and finally determine one text set by considering the ratio of words in only the determined candidates coinciding with words in the text converted from the speech signal.
In addition, the server 520 may calculate a ratio of words in each of the stored text sets coinciding with words in the text converted from the speech signal, set only the text sets having a ratio higher than a predetermined threshold value as candidates, and select a text set having a highest ratio of the words coinciding with the text converted from the speech signal among the candidates.
The server 520 may search for a word in each of the plurality of stored text sets common to a word in the text converted from the speech signal, and determine at least one text set based on a first ratio of the common word searched in each of the text sets and a second ratio of the common word searched in the text converted from the speech signal.
In such a case, the server 520 may determine a text set having at least one ratio of the first ratio and the second ratio that is higher than the predetermined ratio as the at least one text set. If the number of text sets having a ratio higher than the predetermined ratio is more than one, the server 520 may select a text set having a highest first ratio or second ratio among the plurality of text sets as the result text set and transmit the result text set to the electronic device 500, or transmit data in which the plurality of text sets satisfying the predetermined ratio are arranged in the order of at least one ratio of the first ratio and the second ratio thereof to the electronic device 500 and display a UI corresponding to the data on the electronic device 500 to allow a user to directly select the text set.
In addition, in regard to the first ratio and the second ratio, the server 520 may set the ratios as threshold values differently. In regard to each of the first ratio and the second ratio, if the number of text sets having a ratio higher than the predetermined ratio is more than necessary, the ratio as the threshold value may be decreased, and if there are no text sets having a ratio higher than the predetermined ratio, the ratio as the threshold value may be increased.
The predetermined threshold value may be set in accordance with a kind of language, a frequency of use of each word included in the text converted from the speech signal, a kind of electronic device, the number of standard texts including each word included in the text converted from the speech signal, sentence completeness of the text converted from the speech signal, a degree of noise of the speech signal, and the like.
In such a case, if there are no text sets having a ratio higher than the predetermined threshold value among the plurality of text sets stored in the server 520, the server 520 may transmit an instruction to allow the electronic device 500 to execute functions of notifying a user that no results are obtained, requesting additional utterance, or inquiring about resetting of the predetermined threshold value, and the like.
In such a case, the information regarding the plurality of text sets stored in the server 520 may be updated, removed, or changed by using data transmitted to the server 520 from another external device (not shown) connectable to the server 520.
In the embodiment of
In addition, the server 520 may transmit the data regarding the determined text set to the electronic device 500 and also transmit an output instruction of the determined text set or an execution instruction of an event corresponding to the text set to the electronic device 500.
In such a case, the electronic device 500 may display the text set determined by the server 520 through a display or output a sound via a speaker or a headphone according to the instruction of the server 520.
If the determined text set is a question, the electronic device 500 may display an answer of this question through a display or output a sound via a speaker or a headphone according to an instruction of the server 520.
In addition, the electronic device 500 may execute a function or an event corresponding to the text set determined by the server 590 according to the instruction of the server 590. In addition, the electronic device 500 may output the text set determined by the server 590 or execute the function according to the instruction of the server 590 and then transmit report data reporting the output or execution to the server. In such a case, the server 590 which has not received the report data even after the predetermined period of time may transmit the instruction again.
The updating, removing, or changing of the plurality of pieces of text set information stored in the server 520 may be performed by considering the number of times or the ratio of the selection of each of the text sets stored as the speech recognition result of external devices connectable to the server.
In addition, the server 520 may store the plurality of pieces of the text set information by dividing these for each external device connectable to the server and capable of performing speech recognition.
As an example of each electronic device 500, if the electronic device 500 is a navigations system, a ratio of the text sets corresponding to place names or traffic information may be high in a plurality of text sets stored in the server 520 for speech recognition of the navigation system.
In addition, if the electronic device 500 is a TV, a ratio of text sets regarding broadcast programs or TV functions may be high in a plurality of text sets stored in the server 520 for speech recognition of the TV.
If the electronic device 500 is a smartphone, a plurality of text sets stored in the server 520 for speech recognition of the smartphone may be stored separately for each application used in the smartphone.
In each embodiment relating to
The electronic device 600 may receive electronic program guide (EPG) information from the server 620 by using a communicator (not shown) or receive the EPG information in a form of a broadcast signal including the EPG information that is received from the outside from a broadcast receiver (not shown), and
In such a case, when a text set determined by utterance of a user corresponds to any one piece of the EPG information, the electronic device 600 may generate an event regarding the corresponding EPG information. (In addition, the communicator (not shown) and the memory (not shown) may be provided in the electronic device 600 or separately provided and electrically connected thereto.)
Referring to
In such a state, if the user 610 sees the displayed EPG information 605 of the corresponding time and wants to change the channel to a channel on which “Now Testing Broadcast” 606 which is a desired broadcast program is broadcast or wants to acquire information regarding the “Now Testing Broadcast” 606, even when the user only utters, for example, “Now Test”, “Now Testing”, or Testing Broadcast“, without the need to utter the entire “Now Testing Broadcast” 606, the electronic device 606 may recognize that the “Now Testing Broadcast” 606 having a highest degree of coincidence of the words among the broadcast programs or functions included in the EPG information 605 of the corresponding time corresponds to the intention of the utterance of the user, by considering that the EPG is currently displayed.
In such a case, the electronic device 600 may change the channel to the channel on which the “Now Testing Broadcast” 606 is broadcast, display specific information regarding the “Now Testing Broadcast” 606, or recording, scheduled recording, scheduled viewing, and the like regarding the corresponding channel.
Referring to
Then, words included in the text converted from the speech signal is extracted (S720). In such a case, the number of extracted words may be stored in the electronic device. The parts not extracted as words may be words stored in advance, and therefore, data regarding the parts may be transmitted to an external device connectable to the electronic device to acquire necessary information regarding the parts not extracted as words.
The matters to be extracted from the text converted from the speech signal are not necessarily in the unit of words. That is, the extraction may be performed in different kinds of units of syllables, letters, consonants, vowels, and alphabets according to kinds of languages, and the extracted matter may be compared with the plurality of text sets stored in advance.
Next, after extracting the words included in the text converted from the speech signal, the words in each of the text sets stored in advance common to the words in the text converted from the speech signal may be searched and extracted (S730). At this time, the number of words in each of the text sets stored in advance common to the words in the text converted from the speech signal may be stored.
Then, one text set is finally determined by using a ratio of the words in each of the text sets stored in advance common to the words in the text converted from the speech signal (S740). At this time, not only the ratio, but also the order of the common words included may be considered.
Candidates may be selected among the plurality of text sets stored in advance based on the common words and the order of the common words included, and one text set may be finally determined by using the ratio of the common words among the plurality of text sets.
Herein, to use the ratio of the words in each of the text sets stored in advance common to the words in the converted text may mean to calculate and use at least any one of a first ratio between the number of common words and the number of words extracted from the text converted from the speech signal and a second ratio between the number of common words and the number of words extracted from each of the text sets stored in advance.
In such a case, a threshold value may be set for the first ratio and the second ratio, and only text sets having a ratio higher than the threshold value may be set as candidates or the candidates may be set based on the order of the common words included. Then, one text set may be determined among the text sets stored as the candidates, by using at least any one of the first ratio or the second ratio.
If the number of text sets having a ratio higher than the predetermined ratio is more than one, a UI in which the plurality of text sets are arranged in the order of at least one ratio of the first ratio and the second ratio thereof may be displayed.
When one text set is determined, an event corresponding to the determined text set may be executed (S750). Specifically, the determined text set may be simply displayed or output as a sound as it is, or if the determined text set is a question, an answer of the question may be displayed or output as a sound. If the determined text set relates to a specific function of the electronic device, the corresponding function may be executed by the electronic device.
Even when at least one of the first ratio or the second ratio is considered, if there are not text sets stored in advance having a ratio higher than the predetermined threshold value, no results or necessity of additional utterance may be displayed or output as a sound.
In addition, information regarding a speech signal not matched may be transmitted to an external device such as a server, and additional information regarding this may be received again and stored in the electronic device. In such a case, if the same speech signal and the converted text are obtained by the utterance of a user in another situation, the function corresponding to the intention of the user may be executed by using the additional information stored in advance.
In the disclosure, as an embodiment relating to
In such a case, in an embodiment of Step S750 of executing an event corresponding to the determined text set, when the determined text set corresponds to the EPG information stored in advance, functions such as changing, recording, scheduled recording, scheduled viewing, information providing, and the like of the channel of the broadcast program corresponding to the EPG information may be provided to a user.
Before describing
Regarding the selection of the candidate sentences among all of the sentences stored in advance, all of the sentences stored in advance may be simply selected as candidates or the selection may be performed based on at least any one of the order or the ratio of words included therein common to words in the recognition result sentence.
Referring to
Next, words ASi commonly included in the recognition result text A and each of the candidate sentences Si may be extracted (S815). Based on this, a recognition result inclusion degree of ASi with respect to A, that is, Ratio (Ai ) which is a ratio of ASi included in A may be calculated (S820). In addition, a candidate sentence inclusion degree of ASi with respect to Si, that is, Ratio (Si ) which is a ratio of ASi included in Si may be calculated (S825).
Steps S815 to S825 may be repeated with respect to all of the candidate sentences stored in advance (S830), and accordingly, this process may be repeated by n times that is the number of candidate sentences.
Next, among all of the candidate sentences, the candidate sentences having Ratio (Ai ) equal to or higher than a threshold value TH(A) of the recognition result inclusion degree or Ratio (Si ) equal to or higher than a threshold value TH(S) of the candidate sentence inclusion degree(S835). Then, among the candidate sentences extracted in S835, a candidate sentence Sk having the maximum recognition result inclusion degree may be extracted (S840).
In such a case, if there are no candidate sentences extracted in S835, it is not possible to extract Sk, and thus, the process may end since Sk is not able to output (S845-N). In contrast, when there are candidate sentences extracted in S835 and Sk is extracted (5845-Y), Sk is output (S850) and a function corresponding to Sk may be executed (S855).
In the above process, the number of words of the sentence is extracted and used for calculating the ratio, but there is no limitation to the above examples, since the process may be performed based on any one of the number of letters, the number of phrases, the number of syllables, not only the number of words.
The language which is a reference of the speech recognition may be a language set as a default language, manually set by a user, or automatically set based on the language set for objects of the electronic device 100. In the automatic setting, for example, the language set for objects may be confirmed by applying optical character recognition (OCR) to objects displayed on the electronic device 100.
According to various embodiments described above, it is possible to perform speech control regarding objects set with various languages, and it is possible to execute speech recognition, even when a user utters only some key words with no needs to utter the entire sentence. Therefore, it is possible to improve a user convenience.
The embodiments described above may be implemented in a recording medium readable by a computer or a similar device using software, hardware, or a combination thereof.
In the implementation in terms of hardware, the embodiments described in the disclosure may be implemented by using at least one of Application Specific Integrated Circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, and an electrical unit for executing other functions.
In some cases, the embodiments described in the disclosure may be implemented as the processor 130 itself. In the implementation in terms of software, the embodiments such as the procedures and functions described in the disclosure may be implemented as separate software modules. Each of the software modules described above may execute one or more functions and operations described in the disclosure.
Computer instructions for executing processing operations by the electronic device 100 according to the embodiments of the disclosure descried above may be stored in a non-transitory computer-readable medium. When the computer instructions stored in such a non-transitory computer-readable medium are executed by a processor of a specific machine, the computer instructions may enable the specific machine to execute the processing operations by the electronic device 100 according to the embodiments described above.
The non-transitory computer-readable medium is not a medium storing data for a short period of time such as a register, a cache, or a memory, but means a medium that semi-permanently stores data and is readable by a machine. Specific examples of the non-transitory computer-readable medium may include a CD, a DVD, a hard disk, a Blu-ray disc, a USB, a memory card, and a ROM.
Hereinabove, the preferred embodiments of the disclosure have been shown and described, but the disclosure is not limited to specific embodiments described above, various modifications may be made by those skilled in the art without departing from the gist of the disclosure claimed in the claims, and such modifications may not be individually understood from the technical sprit or the prospect of the disclosure.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
10573302, | Mar 13 2015 | DENTONS | Terminal and home appliance system including the same |
4570232, | Dec 21 1981 | Nippon Telegraph & Telephone Corporation | Speech recognition apparatus |
5598557, | Sep 22 1992 | Nuance Communications, Inc | Apparatus and method for retrieving and grouping images representing text files based on the relevance of key words extracted from a selected file to the text files |
6085160, | Jul 10 1998 | Nuance Communications, Inc | Language independent speech recognition |
6442518, | Jul 14 1999 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Method for refining time alignments of closed captions |
6473778, | Dec 24 1998 | AT&T Corp | Generating hypermedia documents from transcriptions of television programs using parallel text alignment |
7047191, | Mar 06 2000 | ENCO SYSTEMS, INC | Method and system for providing automated captioning for AV signals |
7065524, | Mar 30 2001 | BANK OF AMERICA, N A , AS AGENT | Identification and correction of confounders in a statistical analysis |
7092888, | Oct 26 2001 | Verizon Patent and Licensing Inc | Unsupervised training in natural language call routing |
7509385, | May 29 2008 | International Business Machines Corporation | Method of system for creating an electronic message |
7729917, | Mar 24 2006 | Microsoft Technology Licensing, LLC | Correction of a caption produced by speech recognition |
7739253, | Apr 21 2005 | QUEST SOFTWARE INC F K A DELL SOFTWARE INC ; Aventail LLC | Link-based content ratings of pages |
7801910, | Nov 09 2005 | CXENSE ASA | Method and apparatus for timed tagging of media content |
7873654, | Jan 24 2005 | PORTAL COMMUNICATIONS, LLC | Multimodal natural language query system for processing and analyzing voice and proximity-based queries |
7962331, | Dec 01 2003 | Lumenvox, LLC | System and method for tuning and testing in a speech recognition system |
8121432, | Aug 24 2005 | International Business Machines Corporation | System and method for semantic video segmentation based on joint audiovisual and text analysis |
8131545, | Sep 25 2008 | GOOGLE LLC | Aligning a transcript to audio data |
8423363, | Jan 13 2009 | CRIM CENTRE DE RECHERCHE INFORMATIQUE DE MONTREAL | Identifying keyword occurrences in audio data |
8498670, | Jul 08 2008 | LG Electronics Inc. | Mobile terminal and text input method thereof |
8572488, | Mar 29 2010 | CERBERUS BUSINESS FINANCE, LLC, AS COLLATERAL AGENT | Spot dialog editor |
9183832, | Jun 07 2011 | Samsung Electronics Co., Ltd. | Display apparatus and method for executing link and method for recognizing voice thereof |
9392324, | Mar 30 2015 | Rovi Guides, Inc. | Systems and methods for identifying and storing a portion of a media asset |
9711149, | Jan 27 2014 | Samsung Electronics Co., Ltd. | Display apparatus for performing voice control and voice controlling method thereof |
9830908, | Nov 20 2014 | Samsung Electronics Co., Ltd. | Display apparatus and method for registration of user command |
20020055950, | |||
20020093591, | |||
20030004716, | |||
20030025832, | |||
20030061028, | |||
20030169366, | |||
20030206717, | |||
20040096110, | |||
20050227614, | |||
20060015339, | |||
20070124147, | |||
20070124788, | |||
20070214164, | |||
20080066138, | |||
20080255844, | |||
20080266449, | |||
20080270134, | |||
20090171662, | |||
20100009720, | |||
20100091187, | |||
20110022386, | |||
20110040559, | |||
20120101817, | |||
20120253799, | |||
20170186422, | |||
JP201552743, | |||
JP5474723, | |||
KR100764247, | |||
KR100825690, | |||
KR101495183, | |||
KR101502003, | |||
KR1020100006089, | |||
KR1020120135855, | |||
KR1020150089145, | |||
KR1020160060405, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 25 2018 | Samsung Electronics Co., Ltd. | (assignment on the face of the patent) | / | |||
Apr 06 2020 | BAE, JAE HYUN | SAMSUNG ELECTRONICS CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052468 | /0136 |
Date | Maintenance Fee Events |
Apr 15 2020 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Date | Maintenance Schedule |
Jan 11 2025 | 4 years fee payment window open |
Jul 11 2025 | 6 months grace period start (w surcharge) |
Jan 11 2026 | patent expiry (for year 4) |
Jan 11 2028 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jan 11 2029 | 8 years fee payment window open |
Jul 11 2029 | 6 months grace period start (w surcharge) |
Jan 11 2030 | patent expiry (for year 8) |
Jan 11 2032 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jan 11 2033 | 12 years fee payment window open |
Jul 11 2033 | 6 months grace period start (w surcharge) |
Jan 11 2034 | patent expiry (for year 12) |
Jan 11 2036 | 2 years to revive unintentionally abandoned end. (for year 12) |