WO2008075161A2 - Method, apparatus and computer program product for providing flexible text based language identification - Google Patents

Method, apparatus and computer program product for providing flexible text based language identification Download PDF

Info

Publication number
WO2008075161A2
WO2008075161A2 PCT/IB2007/003882 IB2007003882W WO2008075161A2 WO 2008075161 A2 WO2008075161 A2 WO 2008075161A2 IB 2007003882 W IB2007003882 W IB 2007003882W WO 2008075161 A2 WO2008075161 A2 WO 2008075161A2
Authority
WO
WIPO (PCT)
Prior art keywords
entry
score
alphabet
languages
gram
Prior art date
Application number
PCT/IB2007/003882
Other languages
French (fr)
Other versions
WO2008075161A3 (en
Inventor
Bogdan Barliga
Mikko A. Harju
Juha Iso-Sipila
Original Assignee
Nokia Corporation,
Nokia Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nokia Corporation,, Nokia Inc. filed Critical Nokia Corporation,
Priority to EP07859017A priority Critical patent/EP2095266A2/en
Publication of WO2008075161A2 publication Critical patent/WO2008075161A2/en
Publication of WO2008075161A3 publication Critical patent/WO2008075161A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/263Language identification

Definitions

  • Embodiments of the present invention relate generally to speech processing technology and, more particularly, relate to a method, apparatus, and computer program product for providing flexible text based language identification.
  • the services may be in the form of a particular media or communication application desired by the user, such as a music player, a game player, an electronic book, short messages, email, etc.
  • the services may also be in the form of interactive applications in which the user may respond to a network device in order to perform a task, play a game or achieve a goal.
  • the services may be provided from a network server or other network device, or even from the mobile terminal such as, for example, a mobile telephone, a mobile television, a mobile computer, a mobile gaming system, etc.
  • Such applications may provide for a user interface that does not rely on substantial manual user activity. In other words, the user may interact with the application in a hands free or semi-hands free environment.
  • An example of such an application may be paying a bill, ordering a program, requesting and receiving driving instructions, etc.
  • Other applications may convert oral speech into text or perform some other function based on recognized speech, such as dictating SMS or email, etc.
  • speech recognition applications applications that produce speech from text, and other speech processing devices are becoming more common.
  • TTS text-to- speech
  • devices that produce speech from computer readable text, such as text-to- speech (TTS) devices typically analyze text and perform phonetic and prosodic analysis to generate phonemes for output as synthetic speech relating to the content of the original text.
  • TTS text-to- speech
  • a direct phoneme to synthetic speech conversion of the text may suffer from inaccuracies or fail to sound natural.
  • Current mechanisms directed to curing the deficiencies above may require large amounts of text in order to function properly and are therefore inflexible.
  • a method, apparatus and computer program product are therefore provided for providing flexible text based language identification.
  • text even as short as a single word may be accurately analyzed for language identification.
  • flexible language identification may be provided in order to support a highly configurable multilingual system.
  • a method of providing flexible text based language identification includes receiving an entry in a computer readable text format, determining an alphabet score of the entry for each of a plurality of languages, determining an n-gram frequency score of the entry for each of the plurality of languages, and determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
  • a computer program product for providing flexible text based language identification.
  • the computer program product includes at least one computer-readable storage medium having computer-readable program code portions stored therein.
  • the computer-readable program code portions include first, second, third and fourth executable portions.
  • the first executable portion is for receiving an entry in a computer readable text format.
  • the second executable portion is for determining an alphabet score of the entry for each of a plurality of languages.
  • the third executable portion is for determining an n-gram frequency score of the entry for each of the plurality of languages.
  • the fourth executable portion is for determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
  • an apparatus for providing flexible text based language identification may include an alphabet scoring element, an n-gram frequency element and a processing element.
  • the alphabet scoring element may be configured to receive an entry in a computer readable text format and to calculate an alphabet score of the entry for each of a plurality of languages.
  • the n-gram frequency element may be configured to calculate an n-gram frequency score of the entry for each of the plurality of languages.
  • the processing element may be in communication with the n-gram frequency element and the alphabet scoring element.
  • the processing element may also be configured to determine a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
  • an apparatus for providing flexible text based language identification is provided.
  • the apparatus includes means for receiving an entry in a computer readable text format, means for determining an alphabet score of the entry for each of a plurality of languages, means for determining an n-gram frequency score of the entry for each of the plurality of and means for deteraiining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
  • Embodiments of the invention may provide a method, apparatus and computer program product for employment in systems to enhance speech processing.
  • mobile terminals and other electronic devices may benefit from an ability to perform speech processing for numerous languages, accurately and without large amounts of text based data for analysis. Accordingly, accurate word recognition and reproduction may be performed using relatively small amounts of resources.
  • FIG. 1 is a schematic block diagram of a mobile terminal according to an exemplary embodiment of the present invention
  • FIG. 2 is a schematic block diagram of a wireless communications system according to an exemplary embodiment of the present invention.
  • FIG. 3 illustrates a block diagram of a system for providing flexible text based language identification according to an exemplary embodiment of the present invention.
  • FIG. 4 is a flowchart according to an exemplary method for providing flexible text based language identification according to an exemplary embodiment of the present invention.
  • FIG. 1 illustrates a block diagram of a mobile terminal 10 that would benefit from embodiments of the present invention.
  • a mobile telephone as illustrated and hereinafter described is merely illustrative of one type of mobile terminal that would benefit from embodiments of the present invention and, therefore, should not be taken to limit the scope of embodiments of the present invention.
  • While one embodiment of the mobile terminal 10 is illustrated and will be hereinafter described for purposes of example, other types of mobile terminals, such as portable digital assistants (PDAs), pagers, mobile computers, mobile televisions, gaming devices, laptop computers, cameras, video recorders, GPS devices and other types of voice and text communications systems, can readily employ embodiments of the present invention.
  • PDAs portable digital assistants
  • pagers pagers
  • mobile computers mobile televisions
  • gaming devices laptop computers
  • cameras video recorders
  • GPS devices GPS devices and other types of voice and text communications systems
  • system and method of embodiments of the present invention will be primarily described below in conjunction with mobile communications applications. However, it should be understood that the system and method of embodiments of the present invention can be utilized in conjunction with a variety of other applications, both in the mobile communications industries and outside of the mobile communications industries.
  • the mobile terminal 10 includes an antenna 12 (or multiple antennae) in operable communication with a transmitter 14 and a receiver 16.
  • the mobile terminal 10 further includes a controller 20 or other processing element that provides signals to and receives signals from the transmitter 14 and receiver 16, respectively.
  • the signals include signaling information in accordance with the air interface standard of the applicable cellular system, and also user speech, received data and/or user generated data.
  • the mobile terminal 10 is capable of operating with one or more air interface standards, communication protocols, modulation types, and access types.
  • the mobile terminal 10 is capable of operating in accordance with any of a number of first, second, third and/or fourth-generation communication protocols or the like.
  • the mobile terminal 10 may be capable of operating in accordance with second-generation (2G) wireless communication protocols IS-136 (TDMA), GSM, and IS- 95 (CDMA), or with third-generation (3G) wireless communication protocols, such as UMTS, CDMA2000, WCDMA and TD-SCDMA, with fourth-generation (4G) wireless communication protocols or the like.
  • 2G second-generation
  • 3G third-generation
  • UMTS Universal Mobile Telecommunications
  • CDMA2000 Code Division Multiple Access 2000
  • WCDMA Wideband Code Division Multiple Access
  • TD-SCDMA fourth-generation
  • the controller 20 includes circuitry desirable for implementing audio and logic functions of the mobile terminal 10.
  • the controller 20 may be comprised of a digital signal processor device, a microprocessor device, and various analog to digital converters, digital to analog converters, and other support circuits. Control and signal processing functions of the mobile terminal 10 are allocated between these devices according to their respective capabilities.
  • the controller 20 thus may also include the functionality to convolutionally encode and interleave message and data prior to modulation and transmission.
  • the controller 20 can additionally include an internal voice coder, and may include an internal data modem.
  • the controller 20 may include functionality to operate one or more software programs, which may be stored in memory.
  • the controller 20 may be capable of operating a connectivity program, such as a conventional Web browser. The connectivity program may then allow the mobile terminal 10 to transmit and receive Web content, such as location-based content and/or other web page content, according to a Wireless Application Protocol (WAP), Hypertext Transfer Protocol (HTTP) and/or the like, for example.
  • WAP Wireless Application Protocol
  • HTTP Hyper
  • the mobile terminal 10 may also comprise a user interface including an output device such as a conventional earphone or speaker 24, a ringer 22, a microphone 26, a display 28, and a user input interface, all of which are coupled to the controller 20.
  • the user input interface which allows the mobile terminal 10 to receive data, may include any of a number of devices allowing the mobile terminal 10 to receive data, such as a keypad 30, a touch display (not shown) or other input device.
  • the keypad 30 may include the conventional numeric (0-9) and related keys (#, *), and other keys used for operating the mobile terminal 10.
  • the keypad 30 may include a conventional QWERTY keypad arrangement.
  • the keypad 30 may also include various soft keys with associated functions.
  • the mobile terminal 10 may include an interface device such as a joystick or other user input interface.
  • the mobile terminal 10 further includes a battery 34, such as a vibrating battery pack, for powering various circuits that are required to operate the mobile terminal 10, as well as optionally providing mechanical vibration as a detectable output.
  • the mobile terminal 10 may further include a user identity module (UIM) 38.
  • the UIM 38 is typically a memory device having a processor built in.
  • the UIM 38 may include, for example, a subscriber identity module (SIM), a universal integrated circuit card (UICC) 5 a universal subscriber identity module (USIM), a removable user identity module (R-UIM), etc.
  • SIM subscriber identity module
  • UICC universal integrated circuit card
  • USIM universal subscriber identity module
  • R-UIM removable user identity module
  • the UIM 38 typically stores information elements related to a mobile subscriber.
  • the mobile terminal 10 may be equipped with memory.
  • the mobile terminal 10 may include volatile memory 40, such as volatile Random Access Memory (RAM) including a cache area for the temporary storage of data.
  • RAM volatile Random Access Memory
  • the mobile terminal 10 may also include other non- volatile memory 42, which can be embedded and/or may be removable.
  • the non-volatile memory 42 can additionally or alternatively comprise an EEPROM, flash memory or the like, such as that available from the SanDisk Corporation of Sunnyvale, California, or Lexar Media Inc. of Fremont, California.
  • the memories can store any of a number of pieces of information, and data, used by the mobile terminal 10 to implement the functions of the mobile terminal 10.
  • the memories can include an identifier, such as an international mobile equipment identification (IMEI) code, capable of uniquely identifying the mobile terminal 10.
  • IMEI international mobile equipment identification
  • FIG. 2 is a schematic block diagram of a wireless communications system according to an exemplary embodiment of the present invention. Referring now to FIG. 2, an illustration of one type of system that would benefit from embodiments of the present invention is provided.
  • the system includes a plurality of network devices.
  • one or more mobile terminals 10 may each include an antenna 12 for transmitting signals to and for receiving signals from a base site or base station (BS) 44.
  • the base station 44 may be a part of one or more cellular or mobile networks each of which includes elements required to operate the network, such as a mobile switching center (MSC) 46.
  • MSC mobile switching center
  • the mobile network may also be referred to as a Base
  • the MSC 46 is capable of routing calls to and from the mobile terminal 10 when the mobile terminal 10 is making and receiving calls.
  • the MSC 46 can also provide a connection to landline trunks when the mobile terminal 10 is involved in a call.
  • the MSC 46 can be capable of controlling the forwarding of messages to and from the mobile terminal 10, and can also control the forwarding of messages for the mobile terminal 10 to and from a messaging center. It should be noted that although the MSC 46 is shown in the system of FIG. 2, the MSC 46 is merely an exemplary network device and embodiments of the present invention are not limited to use in a network employing an MSC.
  • the MSC 46 can be coupled to a data network, such as a local area network (LAN), a metropolitan area network (MAN), and/or a wide area network (WAN).
  • the MSC 46 can be directly coupled to the data network.
  • the MSC 46 is coupled to a gateway device (GTW) 48, and the GTW 48 is coupled to a WAN, such as the Internet 50.
  • GTW gateway device
  • devices such as processing elements (e.g., personal computers, server computers or the like) can be coupled to the mobile terminal 10 via the Internet 50.
  • the processing elements can include one or more processing elements associated with a computing system 52 (two shown in FIG. 2), origin server 54 (one shown in FIG. 2) or the like, as described below.
  • the BS 44 can also be coupled to a signaling GPRS (General Packet Radio Service) support node (SGSN) 56.
  • GPRS General Packet Radio Service
  • the SGSN 56 is typically capable of performing functions similar to the MSC 46 for packet switched services.
  • the SGSN 56 like the MSC 46, can be coupled to a data network, such as the Internet 50.
  • the SGSN 56 can be directly coupled to the data network.
  • the SGSN 56 is coupled to a packet-switched core network, such as a GPRS core network 58.
  • the packet- switched core network is then coupled to another GTW 48, such as a GTW GPRS support node (GGSN) 60, and the GGSN 60 is coupled to the Internet 50.
  • GTW 48 such as a GTW GPRS support node (GGSN) 60
  • GGSN 60 is coupled to the Internet 50.
  • the packet-switched core network can also be coupled to a GTW 48.
  • the GGSN 60 can be coupled to a messaging center.
  • the GGSN 60 and the SGSN 56 like the MSC 46, may be capable of controlling the forwarding of messages, such as MMS messages.
  • the GGSN 60 and SGSN 56 may also be capable of controlling the forwarding of messages for the mobile terminal 10 to and from the messaging center.
  • devices such as a computing system 52 and/or origin server 54 may be coupled to the mobile terminal 10 via the Internet 50, SGSN 56 and GGSN 60.
  • devices such as the computing system 52 and/or origin server 54 may communicate with the mobile terminal 10 across the SGSN 56, GPRS core network 58 and the GGSN 60.
  • the mobile terminals 10 may communicate with the other devices and with one another, such as according to the Hypertext Transfer Protocol (HTTP) and/or the like, to thereby carry out various functions of the mobile terminals 10.
  • HTTP Hypertext Transfer Protocol
  • the mobile terminal 10 may be coupled to one or more of any of a number of different networks through the BS 44.
  • the network(s) may be capable of supporting communication in accordance with any one or more of a number of first-generation (IG), second- generation (2G), 2.5G, third-generation (3G), 3.9G, fourth-generation (4G) mobile communication protocols or the like.
  • IG first-generation
  • 2G second-generation
  • 3G third-generation
  • 4G fourth-generation
  • 4G fourth-generation
  • one or more of the network(s) can be capable of supporting communication in accordance with 2G wireless communication protocols IS-136 (TDMA), GSM 3 and IS-95 (CDMA).
  • one or more of the network(s) can be capable of supporting communication in accordance with 2.5G wireless communication protocols GPRS, Enhanced Data GSM Environment (EDGE), or the like. Further, for example, one or more of the network(s) can be capable of supporting communication in accordance with 3 G wireless communication protocols such as a Universal Mobile Telephone System (UMTS) network employing Wideband Code Division Multiple Access (WCDMA) radio access technology.
  • UMTS Universal Mobile Telephone System
  • WCDMA Wideband Code Division Multiple Access
  • Some narrow-band AMPS (NAMPS), as well as TACS, network(s) may also benefit from embodiments of the present invention, as should dual or higher mode mobile stations (e.g., digital/analog or TDMA/CDMA/analog phones).
  • the mobile terminal 10 can further be coupled to one or more wireless access points (APs) 62.
  • the APs 62 may comprise access points configured to communicate with the mobile terminal 10 in accordance with techniques such as, for example, radio frequency (RF), Bluetooth (BT) 5 infrared (IrDA) or any of a number of different wireless networking techniques, including wireless LAN (WLAN) techniques such as IEEE 802.11 (e.g., 802.1 Ia, 802.1 Ib, 802.1 Ig, 802.1 In, etc.), WiMAX techniques such as IEEE 802.16, and/or ultra wideband (UWB) techniques such as IEEE 802.15 and/or the like.
  • the APs 62 may be coupled to the Internet 50.
  • the APs 62 can be directly coupled to the Internet 50. hi one embodiment, however, the APs 62 are indirectly coupled to the Internet 50 via a GTW 48. Furthermore, in one embodiment, the BS 44 may be considered as another AP 62. As will be appreciated, by directly or indirectly connecting the mobile terminals 10 and the computing system 52, the origin server 54, and/or any of a number of other devices, to the Internet 50, the mobile terminals 10 can communicate with one another, the computing system, etc., to thereby carry out various functions of the mobile terminals 10, such as to transmit data, content or the like to, and/or receive content, data or the like from, the computing system 52.
  • data As used herein, the terms “data,” “content,” “information” and similar terms may be used interchangeably to refer to data capable of being transmitted, received and/or stored in accordance with embodiments of the present invention. Thus, use of any such terms should not be taken to limit the spirit and scope of embodiments of the present invention.
  • the mobile terminal 10 and computing system 52 may be coupled to one another and communicate in accordance with, for example, RF, BT, IrDA or any of a number of different wireline or wireless communication techniques, including LAN, WLAN, WiMAX, UWB techniques and/or the like.
  • One or more of the computing systems 52 can additionally, or alternatively, include a removable memory capable of storing content, which can thereafter be transferred to the mobile terminal 10.
  • the mobile terminal 10 can be coupled to one or more electronic devices, such as printers, digital projectors and/or other multimedia capturing, producing and/or storing devices (e.g., other terminals).
  • the mobile terminal 10 may be configured to communicate with the portable electronic devices in accordance with techniques such as, for example, RF, BT, IrDA or any of a number of different wireline or wireless communication techniques, including USB, LAN, WLAN, WiMAX, UWB techniques and/or the like.
  • techniques such as, for example, RF, BT, IrDA or any of a number of different wireline or wireless communication techniques, including USB, LAN, WLAN, WiMAX, UWB techniques and/or the like.
  • data associated with a spoken language interface may be communicated over the system of FIG. 2 between a mobile terminal, which may be similar to the mobile terminal 10 of FIG. 1 and a network device of the system of FIG. 2, or between mobile terminals.
  • a mobile terminal which may be similar to the mobile terminal 10 of FIG. 1 and a network device of the system of FIG. 2, or between mobile terminals.
  • the system of FIG. 2 need not be employed for communication between the server and the mobile terminal, but rather FIG. 2 is merely provided for purposes of example.
  • embodiments of the present invention may be resident on a communication device such as the mobile terminal 10, or may be resident on a network device or other device accessible to the communication device.
  • FIG. 3 illustrates a block diagram of a system for providing flexible language identification according to an exemplary embodiment of the present invention.
  • An exemplary embodiment of the invention will now be described with reference to FIG. 3, in which certain elements of a system for providing flexible language identification are displayed.
  • the system of FIG. 3 will be described, for purposes of example, in connection with the mobile terminal 10 of FIG. 1.
  • the system of FIG. 3 may also be employed in connection with a variety of other devices, both mobile and fixed, and therefore, embodiments of the present invention should not be limited to application on devices such as the mobile terminal 10 of FIG. 1.
  • FIG. 3 illustrates one example of a configuration of a system for providing flexible language identification, numerous other configurations may also be used to implement embodiments of the present invention.
  • the system 68 includes a first type of speech processing element such as a text-to-speech (TTS) element 70 in communication with a language identification (LID) element 72.
  • TTS text-to-speech
  • LID language identification
  • FIG. 3 will be described in the context of a speech processing element comprising the TTS element 72, other speech processing elements may alternatively or additionally be employed.
  • an automatic speech recognition (ASR) element could use the LID element 72 in order to select proper rules corresponding to the correct language for converting text data into a sequence of phonemes to be used in recognition. Normally the set of rules for text-to-phoneme conversion differ from one language to another.
  • the LID element 72 is shown preceding the TTS element 70, such a configuration is not necessary. Rather, the LID element 72 according to embodiments of the present invention may be disposed at any portion of the system 68 where text may be analyzed. In other words, the LID element 72 may be used in connection with a speech processing element or in connection with combinations of speech processing elements to process input data, output data, or intermediate data in a text form. Furthermore, although FIG. 3 is shown with the LID element 72 providing input text to the TTS element 70, the TTS element 70 could alternatively receive the input text from any other source.
  • the TTS element 70 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of producing synthesized speech from computer readable text.
  • elements of the TTS element 70 of FIG. 3 are merely exemplary and the descriptions provided below are given merely to explain an operation of the TTS element 70 in general terms for the sake of clarity.
  • the TTS element 70 may include, for example, a text processor 76, a prosodic processor 78 and an acoustic synthesizer 80.
  • the text processor 76 may receive a media input, such as an input text 82, and begin processing the input text 82 before communicating processed text to the prosodic processor 78.
  • the text processor 76 may be configured to perform any of numerous processing operations known in the art.
  • the text processor 76 may include a table or other mechanism to correlate a particular text word or sequence of letters with a particular specification or rule for pronunciation.
  • the text processor 76 may be configured to convert non-written-out expressions, such as numbers and abbreviations, into a corresponding written-out word equivalent.
  • the prosodic processor 78 may analyze the processed text to determine specifications for how the text should be pronounced, what syllables to accent, what pitch to use, how fast to deliver the sound, etc.
  • the prosodic processor 78 may be configured to divide the text and mark segments of the text into various prosodic units, like phrases, clauses, and sentences.
  • the prosodic processor 78 may also employ a text-to-phoneme (TTP) conversion model or map for performing phonetic transcriptions of the input text 82.
  • TTP text-to-phoneme
  • the acoustic synthesizer 80 may be configured to produce a synthetically created audio output in the form of computer generated speech in response to an input sequence of phonemes.
  • the acoustic synthesizer 80 may apply stored rules or models to an input from the prosodic processor 78 to generate synthetic speech 84 that audibly reproduces the computer text in a way that conforms to the specifications determined by the prosodic processor 78.
  • the synthetic speech 84 may then be communicated to an output device such as an audio mixer or another output device such as the speaker 22.
  • numerous models, each corresponding to a different language may be stored in association with the acoustic synthesizer 80.
  • each particular language model may be trained to produce natural sounding and accurate synthetic speech in response to a sequence of phonemes corresponding to the particular language.
  • the TTS element 70 may be informed of the correct language of the input text 82 (or the language most likely to be correct based on a reasoned analysis), the TTS element 70 may be able to select the corresponding language model and produce a natural and accurate sounding representation of the input text 82 in the form of the synthetic speech 84.
  • the LID element 72 may be configured to operate to analyze the input text 82, which may be even as small in size as a single word, and produce an accurate estimate of the most likely language associated with the input text 82 (e.g., best language).
  • the LID element 72 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of receiving the input text 82 and determining the language most likely associated with the input text 82.
  • the LID element 72 may include a processing element 90 which may control the operations of, or otherwise be in communication with other elements of the LID element 72.
  • the processing element 90 may be embodied in many ways.
  • the processing element 90 may be embodied as a processor, a coprocessor, a controller or various other processing means or devices including integrated circuits such as, for example, an ASIC (application specific integrated circuit).
  • the LID element 70 may communicate language identification information 91 to the TTS element 70.
  • the language identification information 91 may include an identification of the best language or a listing of the n-best languages associated with the input text 82.
  • the other elements of the LID element 72 may include an alphabet scoring element 92 configured to assign an alphabet score for each word (or entry) in the input text 82 and an n-gram frequency analysis element 94 configured to provide an n-gram frequency score for each word in the input text 82.
  • the processing element 90 or even multiple processing elements may perform all of the functions associated with the alphabet scoring element 92 and/or the n-gram frequency analysis element 94.
  • the processing element 90 may be further configured to determine a combined score for each word in which the combined score includes both the alphabet score and the n-gram frequency score for each word.
  • the processing element 90 may also be configured to determine a cumulative combined score for the input text 82 based on the combined scores of each of the words in the input text 82. Based on the cumulative combined score, the processing element 90 may be configured to determine a best language (e.g., most probable or likely language) associated with the input text 82. hi one embodiment, a particular language having the lowest score may represent the best language. However, alternative embodiments could select a language having a highest score, dependent upon algorithms used for score calculations and the scoring paradigm employed.
  • a best language e.g., most probable or likely language
  • the LID element 72 may include a package ordering element 96 having predefined language preference information for best language determination for use in a case where the combined score and/or the cumulative combined score do not provide a clear result with regard to determining the best language.
  • the cumulative combined score could be determined either by combining each of the combined scores, or by first combining all the alphabet scores of each word in the input text 82 and combining the resultant combined alphabet scores with a result of combining all the n-gram frequency scores of each word in the input text 82.
  • the alphabet scoring element 92 may be configured to provide an alphabet score for each word of the input text 82 for each one of a plurality of languages.
  • the alphabet scoring element 92 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of examining each character (or letter) of a word to be decoded and comparing each character of the word to each alphabet of the plurality of languages. Based on the comparison, the alphabet scoring element 92 may be configured to generate an alphabet score for the word in each of the plurality of languages.
  • the alphabet score for each of the plurality of languages may be based at least in part on a failure of one or more of the characters of the word to be represented in the corresponding alphabet of a respective one of the plurality of languages being scored.
  • the alphabet score for the word in the particular language may be a best possible score (which could be a high or low numerical value dependent upon the scoring paradigm selected), while the alphabet score for another language in which some of the characters are not capable of representation would be worse than the best possible score by an amount determined by the number of characters that are not capable of representation in the other language.
  • the alphabet scoring element 92 may be configured to assign the alphabet score for each word based on the number of "out- of-alphabet" characters of the word. After calculating or otherwise determining the alphabet score for each word, the alphabet scoring element 92 may compare the alphabet score to a threshold to determine whether the word has a passing or a failing alphabet score.
  • the threshold may be a predetermined value which, if not met, represents a high likelihood that the word is not associated with a language for which the alphabet score was calculated.
  • the failing alphabet score indicates that the word is not capable of representation in the language for which the failing alphabet score was calculated.
  • a failing alphabet score may simply be assigned to a word for which none of the characters are capable of representation in the language for which the alphabet score was calculated.
  • the alphabet scoring element 92 of one exemplary embodiment of the present invention removes each language having a failing alphabet score as candidate languages for further processing by the n-gram frequency element 94.
  • the word may not receive an n-gram frequency score for the particular language.
  • the alphabet scoring element 92 may be configured to assign a bad (e.g., lower than the lowest non-failing alphabet score) or even a worst possible score to the word.
  • the n-gram frequency element 94 may then process the word in the language for which the word received the failing alphabet score.
  • the alphabet scoring element 92 may be further configured to calculate or otherwise determine a cumulative alphabet score for each of the plurality of languages.
  • the cumulative alphabet score may represent a combination of the alphabet scores of each word of the input text 82 in a corresponding one of the plurality of languages.
  • the cumulative alphabet score may also be compared to a threshold and processed as described above with respect to a single word.
  • the n-gram frequency element 94 may be configured to provide an n-gram frequency score for each word of the input text 82 for each one of the plurality of languages.
  • the n-gram frequency element 94 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of examining each character (or letter) of a word and a probability associated with the likelihood of the word corresponding to each one of the plurality of languages based on known information about each of the plurality of languages.
  • a model may be utilized for each of the plurality of languages. Each model may include accumulated n-gram statistics which may represent a conditional probability of the nth character of each word (or entry) given the preceding n-1 characters.
  • an n-gram probability may represent the conditional probability of the letter "c" given that the previous two letters are "ab".
  • the n-gram frequency score may represent an accumulation of the log of the n-gram probabilities of the n-grams associated with the word. It should also be noted that although the descriptions herein have been provided based on a word level analysis, the analysis may alternatively be performed for any text based entry on a syllable, phrase, sentence, etc., level. Alternatively, the n-gram frequency element 94 may be configured to determine a cumulative n-gram frequency score by combining the n- gram frequency scores of each word (or syllable, phrase, sentence, etc.) of the input text 82.
  • each model may be created by gathering statistics for each of the plurality of languages. There may be no limit to a number of the plurality of languages. As such, a selection of which languages make up the plurality of languages may be made based on any desirable factors.
  • Each model corresponds to one of the plurality of languages and is generated based on training data gathered for the language associated with each model.
  • Each model may be embodied as a file including n-gram frequencies and/or corresponding n-gram probabilities for the language associated with the corresponding model.
  • each word of the training data may be assigned start and stop characters.
  • a start character (e.g., [) may precede each word and a stop character (e.g., ]) may follow each word so that start n-grams (e.g., n- grams immediately following the start character), stop n-grams (e.g., n-grams immediately preceding the stop character) and internal n-grams (e.g., grams not immediately proximate to either the start or the stop character) may be distinguished.
  • start n-grams e.g., n- grams immediately following the start character
  • stop n-grams e.g., n-grams immediately preceding the stop character
  • internal n-grams e.g., grams not immediately proximate to either the start or the stop character
  • an alphabet of a language may be described as a list of characters or letters, as a Unicode range that the alphabet occupies, or both. Accordingly, large alphabets (e.g., Mandarin), may be described along with other alphabets in a compact machine readable format.
  • each model may be comprised of alphabet description information which assigns a unique index to each letter of the alphabet.
  • N-gram frequency data may be expressed in terms of the indexes. The n-gram frequency data may thus be expressed in a concise way in order to reduce the file size of the model.
  • a package associated with the LID element 72 may be created by combining the model files into a single binary file.
  • the package may therefore define supported languages based upon which models are included in the single binary file (i.e., the models of the binary file correspond to which particular languages are supported).
  • n-gram frequency data may be stored in a tree structure.
  • the tree structure may enable quick tree parsing since nodes are stored sequentially in a breadth-first traversing order.
  • the package ordering element 96 may be configured to perform a best language determination in a case where the combined score and/or the cumulative combined score do not provide a clear result with regard to determining the best language.
  • the package ordering element 96 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of having predefined language preference information for breaking ties between languages in best language determination.
  • the package as described above, may define supported languages.
  • the package ordering element 96 may therefore store the package and/or store information related to a preference or ordering of the languages supported by the package.
  • the preference information may be determined based on geographical information (e.g., languages commonly encountered in a particular geographical location) or any other suitable information.
  • the package ordering element 96 may in some cases only be utilized in situations in which a word or the input text 82 has failed alphabet scoring and is not capable of producing an n-gram frequency score, information regarding languages likely to produce such results, and the frequency of encountering such languages may be utilized in determining the preference information.
  • the entry may be alphabet scored at the alphabet scoring element 92.
  • the entry may be converted to an array of indexes of the alphabet for a current language. If the entry is not supported in the language, the language fails alphabet scoring for the entry. Meanwhile, for entries having at least some characters which correlate to characters of the language, an alphabet score is assigned for the language. The process is completed for each language and an alphabet score for each language is assigned. Failing languages may either be given a score lower than the lowest passing score, or may be eliminated as candidates as described above.
  • the n-gram frequency element 94 may then calculate an n-gram frequency score for the entry.
  • the entry may have start and stop character indexes added to the front and back, respectively.
  • Embodiments of the present invention may be employed in numerous ways. For example, embodiments may be utilized to generate an ordered list of several candidate languages for a given word, name, or entry. Accordingly, embodiments of the present invention may be helpful for use in speech recognition when no accurate information on the correct language is available (e.g., speaker independent name dialing). Embodiments may also be useful for TTS synthesis in cases where a script mismatch is observed between target TTS language and the language of a given word (e.g., synthesis of a Chinese word into English). As such, language support may be provided for a wide range of language combinations or conversions.
  • FIG. 4 is a flowchart of a system, method and program product according to exemplary embodiments of the invention. It will be understood that each block or step of the flowcharts, and combinations of blocks in the flowcharts, can be implemented by various means, such as hardware, firmware, and/or software including one or more computer program instructions. For example, one or more of the procedures described above may be embodied by computer program instructions. In this regard, the computer program instructions which embody the procedures described above may be stored by a memory device of a mobile terminal and executed by a built-in processor in a mobile terminal.
  • any such computer program instructions may be loaded onto a computer or other programmable apparatus (i.e., hardware) to produce a machine, such that the instructions which execute on the computer or other programmable apparatus create means for implementing the functions specified in the flowcharts block(s) or step(s).
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowcharts block(s) or step(s).
  • the computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowcharts block(s) or step(s).
  • blocks or steps of the flowcharts support combinations of means for performing the specified functions, combinations of steps for performing the specified functions and program instruction means for performing the specified functions. It will also be understood that one or more blocks or steps of the flowcharts, and combinations of blocks or steps in the flowcharts, can be implemented by special purpose hardware-based computer systems which perform the specified functions or steps, or combinations of special purpose hardware and computer instructions.
  • one embodiment of a method of providing flexible text based language identification may include receiving an entry in a computer readable text format at operation 200.
  • An alphabet score of the entry may be calculated or otherwise determined for each of a plurality of languages at operation 210.
  • an n-gram frequency score of the entry may be calculated or otherwise determined for each of the plurality of languages.
  • the method may also include determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score at operation 230.
  • the above described functions may be carried out in many ways. For example, any suitable means for carrying out each of the functions described above may be employed to carry out embodiments of the invention. In one embodiment, all or a portion of the elements of the invention generally operate under control of a computer program product.
  • the computer program product for performing the methods of embodiments of the invention includes a computer-readable storage medium, such as the non-volatile storage medium, and computer-readable program code portions, such as a series of computer instructions, embodied in the computer- readable storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Machine Translation (AREA)
  • Telephone Function (AREA)
  • Document Processing Apparatus (AREA)

Abstract

An apparatus for providing flexible text based language identification includes an alphabet scoring element, an n-gram frequency element and a processing element. The alphabet scoring element may be configured to receive an entry in a computer readable text format and to calculate an alphabet score of the entry for each of a plurality of languages. The n-gram frequency element may be configured to calculate an n-gram frequency score of the entry for each of the plurality of languages. The processing element may be in communication with the n-gram frequency element and the alphabet scoring element. The processing element may also be configured to determine a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.

Description

METHOD, APPARATUS AND COMPUTER PROGRAM PRODUCT FOR PROVIDING FLEXIBLE TEXT BASED LANGUAGE IDENTIFICATION
TECHNOLOGICAL FIELD
Embodiments of the present invention relate generally to speech processing technology and, more particularly, relate to a method, apparatus, and computer program product for providing flexible text based language identification.
BACKGROUND
The modern communications era has brought about a tremendous expansion of wireline and wireless networks. Computer networks, television networks, and telephony networks are experiencing an unprecedented technological expansion, fueled by consumer demand. Wireless and mobile networking technologies have addressed related consumer demands, while providing more flexibility and immediacy of information transfer.
Current and future networking technologies continue to facilitate ease of information transfer and convenience to users. One area in which there is a demand to increase ease of information transfer relates to the delivery of services to a user of a mobile terminal. The services may be in the form of a particular media or communication application desired by the user, such as a music player, a game player, an electronic book, short messages, email, etc. The services may also be in the form of interactive applications in which the user may respond to a network device in order to perform a task, play a game or achieve a goal. The services may be provided from a network server or other network device, or even from the mobile terminal such as, for example, a mobile telephone, a mobile television, a mobile computer, a mobile gaming system, etc. In many applications, it is necessary for the user to receive audio information such as oral feedback or instructions from the network or mobile terminal or for the user to give oral instructions or feedback to the network or mobile terminal. Such applications may provide for a user interface that does not rely on substantial manual user activity. In other words, the user may interact with the application in a hands free or semi-hands free environment. An example of such an application may be paying a bill, ordering a program, requesting and receiving driving instructions, etc. Other applications may convert oral speech into text or perform some other function based on recognized speech, such as dictating SMS or email, etc. In order to support these and other applications, speech recognition applications, applications that produce speech from text, and other speech processing devices are becoming more common.
Devices that produce speech from computer readable text, such as text-to- speech (TTS) devices typically analyze text and perform phonetic and prosodic analysis to generate phonemes for output as synthetic speech relating to the content of the original text. However, since such devices are used all over the world and further since many geographic locations are becoming increasingly diverse in terms of the languages spoken by local inhabitants, texts involving various languages may be encountered. As such, a direct phoneme to synthetic speech conversion of the text may suffer from inaccuracies or fail to sound natural. Current mechanisms directed to curing the deficiencies above may require large amounts of text in order to function properly and are therefore inflexible.
Accordingly, it may be desirable to provide flexible language identification for input data to ensure that an appropriate language model is utilized in performing text to speech conversions.
BRIEF SUMMARY
A method, apparatus and computer program product are therefore provided for providing flexible text based language identification. According to exemplary embodiments of the present invention, text even as short as a single word may be accurately analyzed for language identification. Thus, flexible language identification may be provided in order to support a highly configurable multilingual system.
In one exemplary embodiment, a method of providing flexible text based language identification is provided. The method includes receiving an entry in a computer readable text format, determining an alphabet score of the entry for each of a plurality of languages, determining an n-gram frequency score of the entry for each of the plurality of languages, and determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
In another exemplary embodiment, a computer program product for providing flexible text based language identification is provided. The computer program product includes at least one computer-readable storage medium having computer-readable program code portions stored therein. The computer-readable program code portions include first, second, third and fourth executable portions. The first executable portion is for receiving an entry in a computer readable text format. The second executable portion is for determining an alphabet score of the entry for each of a plurality of languages. The third executable portion is for determining an n-gram frequency score of the entry for each of the plurality of languages. The fourth executable portion is for determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
In another exemplary embodiment, an apparatus for providing flexible text based language identification is provided. The apparatus may include an alphabet scoring element, an n-gram frequency element and a processing element. The alphabet scoring element may be configured to receive an entry in a computer readable text format and to calculate an alphabet score of the entry for each of a plurality of languages. The n-gram frequency element may be configured to calculate an n-gram frequency score of the entry for each of the plurality of languages. The processing element may be in communication with the n-gram frequency element and the alphabet scoring element. The processing element may also be configured to determine a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score. In another exemplary embodiment, an apparatus for providing flexible text based language identification is provided. The apparatus includes means for receiving an entry in a computer readable text format, means for determining an alphabet score of the entry for each of a plurality of languages, means for determining an n-gram frequency score of the entry for each of the plurality of and means for deteraiining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
Embodiments of the invention may provide a method, apparatus and computer program product for employment in systems to enhance speech processing. As a result, for example, mobile terminals and other electronic devices may benefit from an ability to perform speech processing for numerous languages, accurately and without large amounts of text based data for analysis. Accordingly, accurate word recognition and reproduction may be performed using relatively small amounts of resources.
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING(S)
Having thus described embodiments of the invention in general terms, reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, and wherein:
FIG. 1 is a schematic block diagram of a mobile terminal according to an exemplary embodiment of the present invention;
FIG. 2 is a schematic block diagram of a wireless communications system according to an exemplary embodiment of the present invention;
FIG. 3 illustrates a block diagram of a system for providing flexible text based language identification according to an exemplary embodiment of the present invention; and
FIG. 4 is a flowchart according to an exemplary method for providing flexible text based language identification according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
Embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the invention are shown. Indeed, the invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will satisfy applicable legal requirements. Like reference numerals refer to like elements throughout.
FIG. 1 illustrates a block diagram of a mobile terminal 10 that would benefit from embodiments of the present invention. It should be understood, however, that a mobile telephone as illustrated and hereinafter described is merely illustrative of one type of mobile terminal that would benefit from embodiments of the present invention and, therefore, should not be taken to limit the scope of embodiments of the present invention. While one embodiment of the mobile terminal 10 is illustrated and will be hereinafter described for purposes of example, other types of mobile terminals, such as portable digital assistants (PDAs), pagers, mobile computers, mobile televisions, gaming devices, laptop computers, cameras, video recorders, GPS devices and other types of voice and text communications systems, can readily employ embodiments of the present invention. Furthermore, devices that are not mobile may also readily employ embodiments of the present invention.
The system and method of embodiments of the present invention will be primarily described below in conjunction with mobile communications applications. However, it should be understood that the system and method of embodiments of the present invention can be utilized in conjunction with a variety of other applications, both in the mobile communications industries and outside of the mobile communications industries.
The mobile terminal 10 includes an antenna 12 (or multiple antennae) in operable communication with a transmitter 14 and a receiver 16. The mobile terminal 10 further includes a controller 20 or other processing element that provides signals to and receives signals from the transmitter 14 and receiver 16, respectively. The signals include signaling information in accordance with the air interface standard of the applicable cellular system, and also user speech, received data and/or user generated data. In this regard, the mobile terminal 10 is capable of operating with one or more air interface standards, communication protocols, modulation types, and access types. By way of illustration, the mobile terminal 10 is capable of operating in accordance with any of a number of first, second, third and/or fourth-generation communication protocols or the like. For example, the mobile terminal 10 may be capable of operating in accordance with second- generation (2G) wireless communication protocols IS-136 (TDMA), GSM, and IS- 95 (CDMA), or with third-generation (3G) wireless communication protocols, such as UMTS, CDMA2000, WCDMA and TD-SCDMA, with fourth-generation (4G) wireless communication protocols or the like.
It is understood that the controller 20 includes circuitry desirable for implementing audio and logic functions of the mobile terminal 10. For example, the controller 20 may be comprised of a digital signal processor device, a microprocessor device, and various analog to digital converters, digital to analog converters, and other support circuits. Control and signal processing functions of the mobile terminal 10 are allocated between these devices according to their respective capabilities. The controller 20 thus may also include the functionality to convolutionally encode and interleave message and data prior to modulation and transmission. The controller 20 can additionally include an internal voice coder, and may include an internal data modem. Further, the controller 20 may include functionality to operate one or more software programs, which may be stored in memory. For example, the controller 20 may be capable of operating a connectivity program, such as a conventional Web browser. The connectivity program may then allow the mobile terminal 10 to transmit and receive Web content, such as location-based content and/or other web page content, according to a Wireless Application Protocol (WAP), Hypertext Transfer Protocol (HTTP) and/or the like, for example.
The mobile terminal 10 may also comprise a user interface including an output device such as a conventional earphone or speaker 24, a ringer 22, a microphone 26, a display 28, and a user input interface, all of which are coupled to the controller 20. The user input interface, which allows the mobile terminal 10 to receive data, may include any of a number of devices allowing the mobile terminal 10 to receive data, such as a keypad 30, a touch display (not shown) or other input device. In embodiments including the keypad 30, the keypad 30 may include the conventional numeric (0-9) and related keys (#, *), and other keys used for operating the mobile terminal 10. Alternatively, the keypad 30 may include a conventional QWERTY keypad arrangement. The keypad 30 may also include various soft keys with associated functions. In addition, or alternatively, the mobile terminal 10 may include an interface device such as a joystick or other user input interface. The mobile terminal 10 further includes a battery 34, such as a vibrating battery pack, for powering various circuits that are required to operate the mobile terminal 10, as well as optionally providing mechanical vibration as a detectable output.
The mobile terminal 10 may further include a user identity module (UIM) 38. The UIM 38 is typically a memory device having a processor built in. The UIM 38 may include, for example, a subscriber identity module (SIM), a universal integrated circuit card (UICC)5 a universal subscriber identity module (USIM), a removable user identity module (R-UIM), etc. The UIM 38 typically stores information elements related to a mobile subscriber. In addition to the UIM 38, the mobile terminal 10 may be equipped with memory. For example, the mobile terminal 10 may include volatile memory 40, such as volatile Random Access Memory (RAM) including a cache area for the temporary storage of data. The mobile terminal 10 may also include other non- volatile memory 42, which can be embedded and/or may be removable. The non-volatile memory 42 can additionally or alternatively comprise an EEPROM, flash memory or the like, such as that available from the SanDisk Corporation of Sunnyvale, California, or Lexar Media Inc. of Fremont, California. The memories can store any of a number of pieces of information, and data, used by the mobile terminal 10 to implement the functions of the mobile terminal 10. For example, the memories can include an identifier, such as an international mobile equipment identification (IMEI) code, capable of uniquely identifying the mobile terminal 10. FIG. 2 is a schematic block diagram of a wireless communications system according to an exemplary embodiment of the present invention. Referring now to FIG. 2, an illustration of one type of system that would benefit from embodiments of the present invention is provided. The system includes a plurality of network devices. As shown, one or more mobile terminals 10 may each include an antenna 12 for transmitting signals to and for receiving signals from a base site or base station (BS) 44. The base station 44 may be a part of one or more cellular or mobile networks each of which includes elements required to operate the network, such as a mobile switching center (MSC) 46. As well known to those skilled in the art, the mobile network may also be referred to as a Base
Station/MSC/Interworking function (BMI). In operation, the MSC 46 is capable of routing calls to and from the mobile terminal 10 when the mobile terminal 10 is making and receiving calls. The MSC 46 can also provide a connection to landline trunks when the mobile terminal 10 is involved in a call. In addition, the MSC 46 can be capable of controlling the forwarding of messages to and from the mobile terminal 10, and can also control the forwarding of messages for the mobile terminal 10 to and from a messaging center. It should be noted that although the MSC 46 is shown in the system of FIG. 2, the MSC 46 is merely an exemplary network device and embodiments of the present invention are not limited to use in a network employing an MSC.
The MSC 46 can be coupled to a data network, such as a local area network (LAN), a metropolitan area network (MAN), and/or a wide area network (WAN). The MSC 46 can be directly coupled to the data network. In one typical embodiment, however, the MSC 46 is coupled to a gateway device (GTW) 48, and the GTW 48 is coupled to a WAN, such as the Internet 50. In turn, devices such as processing elements (e.g., personal computers, server computers or the like) can be coupled to the mobile terminal 10 via the Internet 50. For example, as explained below, the processing elements can include one or more processing elements associated with a computing system 52 (two shown in FIG. 2), origin server 54 (one shown in FIG. 2) or the like, as described below.
The BS 44 can also be coupled to a signaling GPRS (General Packet Radio Service) support node (SGSN) 56. As known to those skilled in the art, the SGSN 56 is typically capable of performing functions similar to the MSC 46 for packet switched services. The SGSN 56, like the MSC 46, can be coupled to a data network, such as the Internet 50. The SGSN 56 can be directly coupled to the data network. In a more typical embodiment, however, the SGSN 56 is coupled to a packet-switched core network, such as a GPRS core network 58. The packet- switched core network is then coupled to another GTW 48, such as a GTW GPRS support node (GGSN) 60, and the GGSN 60 is coupled to the Internet 50. In addition to the GGSN 60, the packet-switched core network can also be coupled to a GTW 48. Also, the GGSN 60 can be coupled to a messaging center. In this regard, the GGSN 60 and the SGSN 56, like the MSC 46, may be capable of controlling the forwarding of messages, such as MMS messages. The GGSN 60 and SGSN 56 may also be capable of controlling the forwarding of messages for the mobile terminal 10 to and from the messaging center.
In addition, by coupling the SGSN 56 to the GPRS core network 58 and the GGSN 60, devices such as a computing system 52 and/or origin server 54 may be coupled to the mobile terminal 10 via the Internet 50, SGSN 56 and GGSN 60. In this regard, devices such as the computing system 52 and/or origin server 54 may communicate with the mobile terminal 10 across the SGSN 56, GPRS core network 58 and the GGSN 60. By directly or indirectly connecting mobile terminals 10 and the other devices (e.g., computing system 52, origin server 54, etc.) to the Internet 50, the mobile terminals 10 may communicate with the other devices and with one another, such as according to the Hypertext Transfer Protocol (HTTP) and/or the like, to thereby carry out various functions of the mobile terminals 10.
Although not every element of every possible mobile network is shown and described herein, it should be appreciated that the mobile terminal 10 may be coupled to one or more of any of a number of different networks through the BS 44. In this regard, the network(s) may be capable of supporting communication in accordance with any one or more of a number of first-generation (IG), second- generation (2G), 2.5G, third-generation (3G), 3.9G, fourth-generation (4G) mobile communication protocols or the like. For example, one or more of the network(s) can be capable of supporting communication in accordance with 2G wireless communication protocols IS-136 (TDMA), GSM3 and IS-95 (CDMA). Also, for example, one or more of the network(s) can be capable of supporting communication in accordance with 2.5G wireless communication protocols GPRS, Enhanced Data GSM Environment (EDGE), or the like. Further, for example, one or more of the network(s) can be capable of supporting communication in accordance with 3 G wireless communication protocols such as a Universal Mobile Telephone System (UMTS) network employing Wideband Code Division Multiple Access (WCDMA) radio access technology. Some narrow-band AMPS (NAMPS), as well as TACS, network(s) may also benefit from embodiments of the present invention, as should dual or higher mode mobile stations (e.g., digital/analog or TDMA/CDMA/analog phones).
The mobile terminal 10 can further be coupled to one or more wireless access points (APs) 62. The APs 62 may comprise access points configured to communicate with the mobile terminal 10 in accordance with techniques such as, for example, radio frequency (RF), Bluetooth (BT)5 infrared (IrDA) or any of a number of different wireless networking techniques, including wireless LAN (WLAN) techniques such as IEEE 802.11 (e.g., 802.1 Ia, 802.1 Ib, 802.1 Ig, 802.1 In, etc.), WiMAX techniques such as IEEE 802.16, and/or ultra wideband (UWB) techniques such as IEEE 802.15 and/or the like. The APs 62 may be coupled to the Internet 50. Like with the MSC 46, the APs 62 can be directly coupled to the Internet 50. hi one embodiment, however, the APs 62 are indirectly coupled to the Internet 50 via a GTW 48. Furthermore, in one embodiment, the BS 44 may be considered as another AP 62. As will be appreciated, by directly or indirectly connecting the mobile terminals 10 and the computing system 52, the origin server 54, and/or any of a number of other devices, to the Internet 50, the mobile terminals 10 can communicate with one another, the computing system, etc., to thereby carry out various functions of the mobile terminals 10, such as to transmit data, content or the like to, and/or receive content, data or the like from, the computing system 52. As used herein, the terms "data," "content," "information" and similar terms may be used interchangeably to refer to data capable of being transmitted, received and/or stored in accordance with embodiments of the present invention. Thus, use of any such terms should not be taken to limit the spirit and scope of embodiments of the present invention.
Although not shown in FIG. 2, in addition to or in lieu of coupling the mobile terminal 10 to computing systems 52 across the Internet 50, the mobile terminal 10 and computing system 52 may be coupled to one another and communicate in accordance with, for example, RF, BT, IrDA or any of a number of different wireline or wireless communication techniques, including LAN, WLAN, WiMAX, UWB techniques and/or the like. One or more of the computing systems 52 can additionally, or alternatively, include a removable memory capable of storing content, which can thereafter be transferred to the mobile terminal 10. Further, the mobile terminal 10 can be coupled to one or more electronic devices, such as printers, digital projectors and/or other multimedia capturing, producing and/or storing devices (e.g., other terminals). Like with the computing systems 52, the mobile terminal 10 may be configured to communicate with the portable electronic devices in accordance with techniques such as, for example, RF, BT, IrDA or any of a number of different wireline or wireless communication techniques, including USB, LAN, WLAN, WiMAX, UWB techniques and/or the like.
In an exemplary embodiment, data associated with a spoken language interface may be communicated over the system of FIG. 2 between a mobile terminal, which may be similar to the mobile terminal 10 of FIG. 1 and a network device of the system of FIG. 2, or between mobile terminals. As such, it should be understood that the system of FIG. 2 need not be employed for communication between the server and the mobile terminal, but rather FIG. 2 is merely provided for purposes of example. Furthermore, it should be understood that embodiments of the present invention may be resident on a communication device such as the mobile terminal 10, or may be resident on a network device or other device accessible to the communication device.
FIG. 3 illustrates a block diagram of a system for providing flexible language identification according to an exemplary embodiment of the present invention. An exemplary embodiment of the invention will now be described with reference to FIG. 3, in which certain elements of a system for providing flexible language identification are displayed. The system of FIG. 3 will be described, for purposes of example, in connection with the mobile terminal 10 of FIG. 1. However, it should be noted that the system of FIG. 3, may also be employed in connection with a variety of other devices, both mobile and fixed, and therefore, embodiments of the present invention should not be limited to application on devices such as the mobile terminal 10 of FIG. 1. It should also be noted, that while FIG. 3 illustrates one example of a configuration of a system for providing flexible language identification, numerous other configurations may also be used to implement embodiments of the present invention.
Referring now to FIG. 3, a system 68 for providing flexible language identification is provided. The system 68 includes a first type of speech processing element such as a text-to-speech (TTS) element 70 in communication with a language identification (LID) element 72. It should be noted that although FIG. 3 will be described in the context of a speech processing element comprising the TTS element 72, other speech processing elements may alternatively or additionally be employed. For example, an automatic speech recognition (ASR) element could use the LID element 72 in order to select proper rules corresponding to the correct language for converting text data into a sequence of phonemes to be used in recognition. Normally the set of rules for text-to-phoneme conversion differ from one language to another. Additionally, although the LID element 72 is shown preceding the TTS element 70, such a configuration is not necessary. Rather, the LID element 72 according to embodiments of the present invention may be disposed at any portion of the system 68 where text may be analyzed. In other words, the LID element 72 may be used in connection with a speech processing element or in connection with combinations of speech processing elements to process input data, output data, or intermediate data in a text form. Furthermore, although FIG. 3 is shown with the LID element 72 providing input text to the TTS element 70, the TTS element 70 could alternatively receive the input text from any other source.
As shown in FIG. 3, in one embodiment, the TTS element 70 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of producing synthesized speech from computer readable text. As such, elements of the TTS element 70 of FIG. 3 are merely exemplary and the descriptions provided below are given merely to explain an operation of the TTS element 70 in general terms for the sake of clarity. The TTS element 70 may include, for example, a text processor 76, a prosodic processor 78 and an acoustic synthesizer 80.
The text processor 76 may receive a media input, such as an input text 82, and begin processing the input text 82 before communicating processed text to the prosodic processor 78. The text processor 76 may be configured to perform any of numerous processing operations known in the art. The text processor 76 may include a table or other mechanism to correlate a particular text word or sequence of letters with a particular specification or rule for pronunciation. In an exemplary embodiment, the text processor 76 may be configured to convert non-written-out expressions, such as numbers and abbreviations, into a corresponding written-out word equivalent.
The prosodic processor 78 may analyze the processed text to determine specifications for how the text should be pronounced, what syllables to accent, what pitch to use, how fast to deliver the sound, etc. In an exemplary embodiment, the prosodic processor 78 may be configured to divide the text and mark segments of the text into various prosodic units, like phrases, clauses, and sentences. The prosodic processor 78 may also employ a text-to-phoneme (TTP) conversion model or map for performing phonetic transcriptions of the input text 82. The combination of phonetic transcriptions and prosody information make up a symbolic linguistic representation of phonemes which may be input into the acoustic synthesizer 80.
The acoustic synthesizer 80 may be configured to produce a synthetically created audio output in the form of computer generated speech in response to an input sequence of phonemes. The acoustic synthesizer 80 may apply stored rules or models to an input from the prosodic processor 78 to generate synthetic speech 84 that audibly reproduces the computer text in a way that conforms to the specifications determined by the prosodic processor 78. The synthetic speech 84 may then be communicated to an output device such as an audio mixer or another output device such as the speaker 22. In an exemplary embodiment in which the TTS element 70 is desired for use in a multilingual system, numerous models, each corresponding to a different language, may be stored in association with the acoustic synthesizer 80. Accordingly, each particular language model may be trained to produce natural sounding and accurate synthetic speech in response to a sequence of phonemes corresponding to the particular language. Thus, if the TTS element 70 is informed of the correct language of the input text 82 (or the language most likely to be correct based on a reasoned analysis), the TTS element 70 may be able to select the corresponding language model and produce a natural and accurate sounding representation of the input text 82 in the form of the synthetic speech 84.
In this regard, the LID element 72 may be configured to operate to analyze the input text 82, which may be even as small in size as a single word, and produce an accurate estimate of the most likely language associated with the input text 82 (e.g., best language). The LID element 72 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of receiving the input text 82 and determining the language most likely associated with the input text 82. In an exemplary embodiment, the LID element 72 may include a processing element 90 which may control the operations of, or otherwise be in communication with other elements of the LID element 72. The processing element 90 may be embodied in many ways. For example, the processing element 90 may be embodied as a processor, a coprocessor, a controller or various other processing means or devices including integrated circuits such as, for example, an ASIC (application specific integrated circuit). After determining a list of most likely languages according to the operations described below, the LID element 70 may communicate language identification information 91 to the TTS element 70. The language identification information 91 may include an identification of the best language or a listing of the n-best languages associated with the input text 82.
In an exemplary embodiment, the other elements of the LID element 72 may include an alphabet scoring element 92 configured to assign an alphabet score for each word (or entry) in the input text 82 and an n-gram frequency analysis element 94 configured to provide an n-gram frequency score for each word in the input text 82. Alternatively, the processing element 90 or even multiple processing elements may perform all of the functions associated with the alphabet scoring element 92 and/or the n-gram frequency analysis element 94. In an exemplary embodiment, the processing element 90 may be further configured to determine a combined score for each word in which the combined score includes both the alphabet score and the n-gram frequency score for each word. In an exemplary embodiment, the processing element 90 may also be configured to determine a cumulative combined score for the input text 82 based on the combined scores of each of the words in the input text 82. Based on the cumulative combined score, the processing element 90 may be configured to determine a best language (e.g., most probable or likely language) associated with the input text 82. hi one embodiment, a particular language having the lowest score may represent the best language. However, alternative embodiments could select a language having a highest score, dependent upon algorithms used for score calculations and the scoring paradigm employed.
In one embodiment, the LID element 72 may include a package ordering element 96 having predefined language preference information for best language determination for use in a case where the combined score and/or the cumulative combined score do not provide a clear result with regard to determining the best language. It should be noted that the cumulative combined score could be determined either by combining each of the combined scores, or by first combining all the alphabet scores of each word in the input text 82 and combining the resultant combined alphabet scores with a result of combining all the n-gram frequency scores of each word in the input text 82.
The alphabet scoring element 92 may be configured to provide an alphabet score for each word of the input text 82 for each one of a plurality of languages. The alphabet scoring element 92 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of examining each character (or letter) of a word to be decoded and comparing each character of the word to each alphabet of the plurality of languages. Based on the comparison, the alphabet scoring element 92 may be configured to generate an alphabet score for the word in each of the plurality of languages. The alphabet score for each of the plurality of languages may be based at least in part on a failure of one or more of the characters of the word to be represented in the corresponding alphabet of a respective one of the plurality of languages being scored. In other words, if every character of a word is capable of representation in a particular language, the alphabet score for the word in the particular language may be a best possible score (which could be a high or low numerical value dependent upon the scoring paradigm selected), while the alphabet score for another language in which some of the characters are not capable of representation would be worse than the best possible score by an amount determined by the number of characters that are not capable of representation in the other language.
In an exemplary embodiment, the alphabet scoring element 92 may be configured to assign the alphabet score for each word based on the number of "out- of-alphabet" characters of the word. After calculating or otherwise determining the alphabet score for each word, the alphabet scoring element 92 may compare the alphabet score to a threshold to determine whether the word has a passing or a failing alphabet score. In an exemplary embodiment, the threshold may be a predetermined value which, if not met, represents a high likelihood that the word is not associated with a language for which the alphabet score was calculated. In other words, the failing alphabet score indicates that the word is not capable of representation in the language for which the failing alphabet score was calculated. Alternatively, a failing alphabet score may simply be assigned to a word for which none of the characters are capable of representation in the language for which the alphabet score was calculated.
After calculation of an alphabet score for the word in each of the plurality of languages, the alphabet scoring element 92 of one exemplary embodiment of the present invention removes each language having a failing alphabet score as candidate languages for further processing by the n-gram frequency element 94. In other words, if the word receives a failing alphabet score for a particular language, the word may not receive an n-gram frequency score for the particular language. In an alternative exemplary embodiment, rather than simply not calculating an n- gram frequency score for the word in a language in which the word receives a failing alphabet score, the alphabet scoring element 92 may be configured to assign a bad (e.g., lower than the lowest non-failing alphabet score) or even a worst possible score to the word. The n-gram frequency element 94 may then process the word in the language for which the word received the failing alphabet score.
In an exemplary embodiment, the alphabet scoring element 92 may be further configured to calculate or otherwise determine a cumulative alphabet score for each of the plurality of languages. The cumulative alphabet score may represent a combination of the alphabet scores of each word of the input text 82 in a corresponding one of the plurality of languages. The cumulative alphabet score may also be compared to a threshold and processed as described above with respect to a single word.
The n-gram frequency element 94 may be configured to provide an n-gram frequency score for each word of the input text 82 for each one of the plurality of languages. The n-gram frequency element 94 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of examining each character (or letter) of a word and a probability associated with the likelihood of the word corresponding to each one of the plurality of languages based on known information about each of the plurality of languages. In this regard, a model may be utilized for each of the plurality of languages. Each model may include accumulated n-gram statistics which may represent a conditional probability of the nth character of each word (or entry) given the preceding n-1 characters. For example, for a trigram "abc", an n-gram probability may represent the conditional probability of the letter "c" given that the previous two letters are "ab". In an exemplary embodiment, the n-gram frequency score may represent an accumulation of the log of the n-gram probabilities of the n-grams associated with the word. It should also be noted that although the descriptions herein have been provided based on a word level analysis, the analysis may alternatively be performed for any text based entry on a syllable, phrase, sentence, etc., level. Alternatively, the n-gram frequency element 94 may be configured to determine a cumulative n-gram frequency score by combining the n- gram frequency scores of each word (or syllable, phrase, sentence, etc.) of the input text 82.
In an exemplary embodiment, each model may be created by gathering statistics for each of the plurality of languages. There may be no limit to a number of the plurality of languages. As such, a selection of which languages make up the plurality of languages may be made based on any desirable factors. Each model corresponds to one of the plurality of languages and is generated based on training data gathered for the language associated with each model. Each model may be embodied as a file including n-gram frequencies and/or corresponding n-gram probabilities for the language associated with the corresponding model. In an exemplary embodiment, each word of the training data may be assigned start and stop characters. In this regard, a start character (e.g., [) may precede each word and a stop character (e.g., ]) may follow each word so that start n-grams (e.g., n- grams immediately following the start character), stop n-grams (e.g., n-grams immediately preceding the stop character) and internal n-grams (e.g., grams not immediately proximate to either the start or the stop character) may be distinguished.
In an exemplary embodiment, an alphabet of a language may be described as a list of characters or letters, as a Unicode range that the alphabet occupies, or both. Accordingly, large alphabets (e.g., Mandarin), may be described along with other alphabets in a compact machine readable format. According to one embodiment, each model may be comprised of alphabet description information which assigns a unique index to each letter of the alphabet. N-gram frequency data may be expressed in terms of the indexes. The n-gram frequency data may thus be expressed in a concise way in order to reduce the file size of the model.
Utilizing each of the model files corresponding to the plurality of languages, a package associated with the LID element 72 may be created by combining the model files into a single binary file. The package may therefore define supported languages based upon which models are included in the single binary file (i.e., the models of the binary file correspond to which particular languages are supported). In one exemplary embodiment, in order to reduce the size of the binary file, n-gram frequency data may be stored in a tree structure. The tree structure may enable quick tree parsing since nodes are stored sequentially in a breadth-first traversing order.
The package ordering element 96 may be configured to perform a best language determination in a case where the combined score and/or the cumulative combined score do not provide a clear result with regard to determining the best language. The package ordering element 96 may be any device or means embodied in either hardware, software, or a combination of hardware and software capable of having predefined language preference information for breaking ties between languages in best language determination. In this regard, the package, as described above, may define supported languages. The package ordering element 96 may therefore store the package and/or store information related to a preference or ordering of the languages supported by the package. In this regard, the preference information may be determined based on geographical information (e.g., languages commonly encountered in a particular geographical location) or any other suitable information. Since the package ordering element 96 may in some cases only be utilized in situations in which a word or the input text 82 has failed alphabet scoring and is not capable of producing an n-gram frequency score, information regarding languages likely to produce such results, and the frequency of encountering such languages may be utilized in determining the preference information.
During operation, when an entry (e.g. syllable, word, phrase, sentence, etc.) is analyzed, the entry may be alphabet scored at the alphabet scoring element 92. In this regard, in one embodiment, the entry may be converted to an array of indexes of the alphabet for a current language. If the entry is not supported in the language, the language fails alphabet scoring for the entry. Meanwhile, for entries having at least some characters which correlate to characters of the language, an alphabet score is assigned for the language. The process is completed for each language and an alphabet score for each language is assigned. Failing languages may either be given a score lower than the lowest passing score, or may be eliminated as candidates as described above. The n-gram frequency element 94 may then calculate an n-gram frequency score for the entry. The entry may have start and stop character indexes added to the front and back, respectively.
Embodiments of the present invention may be employed in numerous ways. For example, embodiments may be utilized to generate an ordered list of several candidate languages for a given word, name, or entry. Accordingly, embodiments of the present invention may be helpful for use in speech recognition when no accurate information on the correct language is available (e.g., speaker independent name dialing). Embodiments may also be useful for TTS synthesis in cases where a script mismatch is observed between target TTS language and the language of a given word (e.g., synthesis of a Chinese word into English). As such, language support may be provided for a wide range of language combinations or conversions.
FIG. 4 is a flowchart of a system, method and program product according to exemplary embodiments of the invention. It will be understood that each block or step of the flowcharts, and combinations of blocks in the flowcharts, can be implemented by various means, such as hardware, firmware, and/or software including one or more computer program instructions. For example, one or more of the procedures described above may be embodied by computer program instructions. In this regard, the computer program instructions which embody the procedures described above may be stored by a memory device of a mobile terminal and executed by a built-in processor in a mobile terminal. As will be appreciated, any such computer program instructions may be loaded onto a computer or other programmable apparatus (i.e., hardware) to produce a machine, such that the instructions which execute on the computer or other programmable apparatus create means for implementing the functions specified in the flowcharts block(s) or step(s). These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowcharts block(s) or step(s). The computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowcharts block(s) or step(s).
Accordingly, blocks or steps of the flowcharts support combinations of means for performing the specified functions, combinations of steps for performing the specified functions and program instruction means for performing the specified functions. It will also be understood that one or more blocks or steps of the flowcharts, and combinations of blocks or steps in the flowcharts, can be implemented by special purpose hardware-based computer systems which perform the specified functions or steps, or combinations of special purpose hardware and computer instructions.
In this regard, one embodiment of a method of providing flexible text based language identification may include receiving an entry in a computer readable text format at operation 200. An alphabet score of the entry may be calculated or otherwise determined for each of a plurality of languages at operation 210. At operation 220, an n-gram frequency score of the entry may be calculated or otherwise determined for each of the plurality of languages. The method may also include determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score at operation 230.
The above described functions may be carried out in many ways. For example, any suitable means for carrying out each of the functions described above may be employed to carry out embodiments of the invention. In one embodiment, all or a portion of the elements of the invention generally operate under control of a computer program product. The computer program product for performing the methods of embodiments of the invention includes a computer-readable storage medium, such as the non-volatile storage medium, and computer-readable program code portions, such as a series of computer instructions, embodied in the computer- readable storage medium.
Many modifications and other embodiments of the inventions set forth herein will come to mind to one skilled in the art to which these inventions pertain having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is to be understood that the embodiments of the invention are not to be limited to the specific embodiments disclosed and that modifications and other embodiments are intended to be included within the scope of the appended claims. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.

Claims

WHAT IS CLAIMED IS:
1. A method comprising: receiving an entry in a computer readable text format; determining an alphabet score of the entry for each of a plurality of languages; determining an n-gram frequency score of the entry for each of the plurality of languages; and determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
2. A method according to Claim 1, wherein determining the alphabet score comprises comparing characters associated with the entry to an alphabet of each of the plurality of languages and generating a score for each of the plurality of languages, the score for each of the plurality of languages being based at least in part on a failure of one or more of the characters to be represented in the corresponding alphabet of a respective one of the plurality of languages being scored.
3. A method according to Claim I5 wherein determining the n-gram frequency score comprises, for each one of the plurality of languages, comparing the entry to n-gram statistics for the one of the plurality of languages.
4. A method according to Claim 3, wherein the entry comprises n- characters and wherein comparing the entry to n-gram statistics comprises determining a conditional probability of the nth character of the entry given the preceding n-1 characters.
5. A method according to Claim 3, further comprising assigning a start character and a stop character to a first character and a last character of the entry, respectively, for use in correlation with corresponding start characters and stop characters associated with each n-gram probability of the n-gram statistics.
6. A method according to Claim 1, further comprising comparing the alphabet score for each of the plurality of languages to a threshold.
7. A method according to Claim 6, wherein determining the n-gram frequency score is only performed for ones of the plurality of languages for which the alphabet score meets the threshold.
8. A method according to Claim 6, further comprising assigning the entry a predetermined alphabet score in response to the alphabet score failing to meet the threshold.
9. A method according to Claim 1, wherein determining the language associated with the entry comprises selecting the language associated with the entry based on a predefined order of languages in response to the combination of the alphabet score and the n-gram frequency score providing an indeterminate result with respect to the language associated with the entry.
10. A method according to Claim 1 , wherein the entry is one of a plurality of segments comprising an input text and wherein the determining the language further comprises determining the language associated with the input text based on a cumulative combination of alphabet scores and n-gram frequency scores of each one of the plurality of segments.
11. A computer program product comprising at least one computer- readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising: a first executable portion for receiving an entry in a computer readable text format; a second executable portion for determining an alphabet score of the entry for each of a plurality of languages; a third executable portion for determining an n-gram frequency score of the entry for each of the plurality of languages; and a fourth executable portion for determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
12. A computer program product according to Claim 11 , wherein the second executable portion includes instructions for comparing characters associated with the entry to an alphabet of each of the plurality of languages and generating a score for each of the plurality of languages, the score for each of the plurality of languages being based at least in part on a failure of one or more of the characters to be represented in the corresponding alphabet of a respective one of the plurality of languages being scored.
13. A computer program product according to Claim 11 , wherein the third executable portion includes instructions for comparing the entry to n-gram statistics for the one of the plurality of languages for each one of the plurality of languages.
14. A computer program product according to Claim 13, wherein the entry comprises n-characters and wherein the third executable portion further includes instructions for determining a conditional probability of the nth character of the entry given the preceding n-1 characters.
15. A computer program product according to Claim 13 , further comprising a fifth executable portion for assigning a start character and a stop character to a first character and a last character of the entry, respectively, for use in correlation with corresponding start characters and stop characters associated with each n-gram probability of the n-gram statistics.
16. A computer program product according to Claim 11 , further comprising a fifth executable portion for comparing the alphabet score for each of the plurality of languages to a threshold.
17. A computer program product according to Claim 16, wherein the third executable portion is only executed for ones of the plurality of languages for which the alphabet score meets the threshold.
18. A computer program product according to Claim 16, further comprising a sixth executable portion for assigning the entry a predetermined alphabet score in response to the alphabet score failing to meet the threshold.
19. A computer program product according to Claim 11 , wherein the fourth executable portion includes instructions for selecting the language associated with the entry based on a predefined order of languages in response to the combination of the alphabet score and the n-gram frequency score providing an indeterminate result with respect to the language associated with the entry.
20. A computer program product according to Claim 11 , wherein the entry is one of a plurality of segments comprising an input text and wherein the fourth executable portion includes instructions for determining the language associated with the input text based on a cumulative combination of alphabet scores and n-gram frequency scores of each one of the plurality of segments.
21. An apparatus comprising: an alphabet scoring element configured to receive an entry in a computer readable text format and calculate an alphabet score of the entry for each of a plurality of languages; an n-gram frequency element configured to calculate an n-gram frequency score of the entry for each of the plurality of languages; and a processing element in communication with the n-gram frequency element and the alphabet scoring element, the processing element configured to determine a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
22. An apparatus according to Claim 21 , wherein the alphabet scoring element is further configured to compare characters associated with the entry to an alphabet of each of the plurality of languages and generate a score for each of the plurality of languages, the score for each of the plurality of languages being based at least in part on a failure of one or more of the characters to be represented in the corresponding alphabet of a respective one of the plurality of languages being scored.
23. An apparatus according to Claim 21 , wherein the n-gram frequency element is further configured to, for each one of the plurality of languages, compare the entry to n-gram statistics for the one of the plurality of languages.
24. An apparatus according to Claim 23, wherein the entry comprises n- characters and wherein the n-gram frequency element is further configured to determine a conditional probability of the nth character of the entry given the preceding n-1 characters.
25. An apparatus according to Claim 23, wherein the n-gram frequency element is further configured to assign a start character and a stop character to a first character and a last character of the entry, respectively, for use in correlation with corresponding start characters and stop characters associated with each n- gram probability of the n-gram statistics.
26. An apparatus according to Claim 21 , the alphabet scoring element is further configured to compare the alphabet score for each of the plurality of languages to a threshold.
27. An apparatus according to Claim 26, wherein the n-gram frequency element is further configured to calculate the n-gram frequency score only for ones of the plurality of languages for which the alphabet score meets the threshold.
28. An apparatus according to Claim 26, wherein the n-gram frequency element is further configured to assign the entry a predetermined alphabet score in response to the alphabet score failing to meet the threshold.
29. An apparatus according to Claim 21 , further comprising a package ordering element configured to select the language associated with the entry based on a predefined order of languages in response to the combination of the alphabet score and the n-gram frequency score providing an indeterminate result with respect to the language associated with the entry.
30. An apparatus according to Claim 21, wherein the entry is one of a plurality of segments comprising an input text and wherein the processing element is further configured to determine the language associated with the input text based on a cumulative combination of alphabet scores and n-gram frequency scores of each one of the plurality of segments.
31. An apparatus according to Claim 21 , wherein the apparatus is embodied as a mobile terminal.
32. An apparatus comprising: means for receiving an entry in a computer readable text format; means for determining an alphabet score of the entry for each of a plurality of languages; means for determining an n-gram frequency score of the entry for each of the plurality of languages; and means for determining a language associated with the entry based on a combination of the alphabet score and the n-gram frequency score.
33. An apparatus according to Claim 32, further comprising means for selecting the language associated with the entry based on a predefined order of languages in response to the combination of the alphabet score and the n-gram frequency score providing an indeterminate result with respect to the language associated with the entry.
PCT/IB2007/003882 2006-12-18 2007-12-12 Method, apparatus and computer program product for providing flexible text based language identification WO2008075161A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP07859017A EP2095266A2 (en) 2006-12-18 2007-12-12 Method, apparatus and computer program product for providing flexible text based language identification

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/611,964 2006-12-18
US11/611,964 US7552045B2 (en) 2006-12-18 2006-12-18 Method, apparatus and computer program product for providing flexible text based language identification

Publications (2)

Publication Number Publication Date
WO2008075161A2 true WO2008075161A2 (en) 2008-06-26
WO2008075161A3 WO2008075161A3 (en) 2008-11-13

Family

ID=39528593

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2007/003882 WO2008075161A2 (en) 2006-12-18 2007-12-12 Method, apparatus and computer program product for providing flexible text based language identification

Country Status (6)

Country Link
US (1) US7552045B2 (en)
EP (1) EP2095266A2 (en)
KR (1) KR20090099069A (en)
CN (1) CN101563683A (en)
RU (1) RU2009127102A (en)
WO (1) WO2008075161A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10699073B2 (en) 2014-10-17 2020-06-30 Mz Ip Holdings, Llc Systems and methods for language detection

Families Citing this family (208)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8645137B2 (en) 2000-03-16 2014-02-04 Apple Inc. Fast, language-independent method for user authentication by voice
US8677377B2 (en) 2005-09-08 2014-03-18 Apple Inc. Method and apparatus for building an intelligent automated assistant
US8185376B2 (en) * 2006-03-20 2012-05-22 Microsoft Corporation Identifying language origin of words
US9318108B2 (en) 2010-01-18 2016-04-19 Apple Inc. Intelligent automated assistant
US8977255B2 (en) 2007-04-03 2015-03-10 Apple Inc. Method and system for operating a multi-function portable electronic device using voice-activation
ITFI20070177A1 (en) * 2007-07-26 2009-01-27 Riccardo Vieri SYSTEM FOR THE CREATION AND SETTING OF AN ADVERTISING CAMPAIGN DERIVING FROM THE INSERTION OF ADVERTISING MESSAGES WITHIN AN EXCHANGE OF MESSAGES AND METHOD FOR ITS FUNCTIONING.
US10002189B2 (en) 2007-12-20 2018-06-19 Apple Inc. Method and apparatus for searching using an active ontology
US9330720B2 (en) 2008-01-03 2016-05-03 Apple Inc. Methods and apparatus for altering audio output signals
US8996376B2 (en) 2008-04-05 2015-03-31 Apple Inc. Intelligent text-to-speech conversion
US10496753B2 (en) 2010-01-18 2019-12-03 Apple Inc. Automatically adapting user interfaces for hands-free interaction
US8266514B2 (en) 2008-06-26 2012-09-11 Microsoft Corporation Map service
US8019596B2 (en) * 2008-06-26 2011-09-13 Microsoft Corporation Linguistic service platform
US8107671B2 (en) 2008-06-26 2012-01-31 Microsoft Corporation Script detection service
US8073680B2 (en) 2008-06-26 2011-12-06 Microsoft Corporation Language detection service
US20100030549A1 (en) 2008-07-31 2010-02-04 Lee Michael M Mobile device having human language translation capability with positional feedback
US8583418B2 (en) * 2008-09-29 2013-11-12 Apple Inc. Systems and methods of detecting language and natural language strings for text to speech synthesis
US8712776B2 (en) 2008-09-29 2014-04-29 Apple Inc. Systems and methods for selective text to speech synthesis
US8676904B2 (en) 2008-10-02 2014-03-18 Apple Inc. Electronic devices with voice command and contextual data processing capabilities
US8224641B2 (en) * 2008-11-19 2012-07-17 Stratify, Inc. Language identification for documents containing multiple languages
US8224642B2 (en) * 2008-11-20 2012-07-17 Stratify, Inc. Automated identification of documents as not belonging to any language
WO2010067118A1 (en) 2008-12-11 2010-06-17 Novauris Technologies Limited Speech recognition involving a mobile device
US8380507B2 (en) 2009-03-09 2013-02-19 Apple Inc. Systems and methods for determining the language to use for speech generated by a text to speech engine
US10241644B2 (en) 2011-06-03 2019-03-26 Apple Inc. Actionable reminder entries
US8468011B1 (en) * 2009-06-05 2013-06-18 Google Inc. Detecting writing systems and languages
US9858925B2 (en) 2009-06-05 2018-01-02 Apple Inc. Using context information to facilitate processing of commands in a virtual assistant
US10706373B2 (en) 2011-06-03 2020-07-07 Apple Inc. Performing actions associated with task items that represent tasks to perform
US8326602B2 (en) * 2009-06-05 2012-12-04 Google Inc. Detecting writing systems and languages
US10241752B2 (en) 2011-09-30 2019-03-26 Apple Inc. Interface for a virtual digital assistant
US9431006B2 (en) 2009-07-02 2016-08-30 Apple Inc. Methods and apparatuses for automatic speech recognition
US8190420B2 (en) * 2009-08-04 2012-05-29 Autonomy Corporation Ltd. Automatic spoken language identification based on phoneme sequence patterns
US10679605B2 (en) 2010-01-18 2020-06-09 Apple Inc. Hands-free list-reading by intelligent automated assistant
US10705794B2 (en) 2010-01-18 2020-07-07 Apple Inc. Automatically adapting user interfaces for hands-free interaction
US10276170B2 (en) 2010-01-18 2019-04-30 Apple Inc. Intelligent automated assistant
US10553209B2 (en) 2010-01-18 2020-02-04 Apple Inc. Systems and methods for hands-free notification summaries
WO2011089450A2 (en) 2010-01-25 2011-07-28 Andrew Peter Nelson Jerram Apparatuses, methods and systems for a digital conversation management platform
US8682667B2 (en) 2010-02-25 2014-03-25 Apple Inc. User profiling for selecting user specific voice input processing information
US9177333B2 (en) 2010-06-17 2015-11-03 Microsoft Technology Licensing, Llc Ad copy quality detection and scoring
US8442827B2 (en) * 2010-06-18 2013-05-14 At&T Intellectual Property I, L.P. System and method for customized voice response
CN101894548B (en) * 2010-06-23 2012-07-04 清华大学 Modeling method and modeling device for language identification
US20120035905A1 (en) * 2010-08-09 2012-02-09 Xerox Corporation System and method for handling multiple languages in text
US8375035B2 (en) * 2010-08-17 2013-02-12 Oracle International Corporation Visual aid to assist making purchase by tracking key product characteristics
US10762293B2 (en) 2010-12-22 2020-09-01 Apple Inc. Using parts-of-speech tagging and named entity recognition for spelling correction
US9535895B2 (en) * 2011-03-17 2017-01-03 Amazon Technologies, Inc. n-Gram-based language prediction
US9262612B2 (en) 2011-03-21 2016-02-16 Apple Inc. Device access using voice authentication
US9164983B2 (en) 2011-05-27 2015-10-20 Robert Bosch Gmbh Broad-coverage normalization system for social media language
US10057736B2 (en) 2011-06-03 2018-08-21 Apple Inc. Active transport based notifications
US8994660B2 (en) 2011-08-29 2015-03-31 Apple Inc. Text correction processing
RU2500024C2 (en) * 2011-12-27 2013-11-27 Общество С Ограниченной Ответственностью "Центр Инноваций Натальи Касперской" Method for automated language detection and (or) text document coding
CN103186522B (en) * 2011-12-29 2018-01-26 富泰华工业(深圳)有限公司 Electronic equipment and its natural language analysis method
US10134385B2 (en) 2012-03-02 2018-11-20 Apple Inc. Systems and methods for name pronunciation
US9483461B2 (en) 2012-03-06 2016-11-01 Apple Inc. Handling speech synthesis of content for multiple languages
US9280610B2 (en) 2012-05-14 2016-03-08 Apple Inc. Crowd sourcing information to fulfill user requests
US10417037B2 (en) 2012-05-15 2019-09-17 Apple Inc. Systems and methods for integrating third party services with a digital assistant
US9721563B2 (en) 2012-06-08 2017-08-01 Apple Inc. Name recognition system
US9495129B2 (en) 2012-06-29 2016-11-15 Apple Inc. Device, method, and user interface for voice-activated navigation and browsing of a document
US9576574B2 (en) 2012-09-10 2017-02-21 Apple Inc. Context-sensitive handling of interruptions by intelligent digital assistant
US9547647B2 (en) 2012-09-19 2017-01-17 Apple Inc. Voice-based media searching
CN113470641B (en) 2013-02-07 2023-12-15 苹果公司 Voice trigger of digital assistant
US9600473B2 (en) 2013-02-08 2017-03-21 Machine Zone, Inc. Systems and methods for multi-user multi-lingual communications
US8996352B2 (en) 2013-02-08 2015-03-31 Machine Zone, Inc. Systems and methods for correcting translations in multi-user multi-lingual communications
US10650103B2 (en) 2013-02-08 2020-05-12 Mz Ip Holdings, Llc Systems and methods for incentivizing user feedback for translation processing
US9031829B2 (en) 2013-02-08 2015-05-12 Machine Zone, Inc. Systems and methods for multi-user multi-lingual communications
US9298703B2 (en) 2013-02-08 2016-03-29 Machine Zone, Inc. Systems and methods for incentivizing user feedback for translation processing
US9977766B2 (en) * 2013-02-21 2018-05-22 Red Hat, Inc. Keyboard input corresponding to multiple languages
US9368114B2 (en) 2013-03-14 2016-06-14 Apple Inc. Context-sensitive handling of interruptions
WO2014144949A2 (en) 2013-03-15 2014-09-18 Apple Inc. Training an at least partial voice command system
WO2014144579A1 (en) 2013-03-15 2014-09-18 Apple Inc. System and method for updating an adaptive speech recognition model
WO2014197336A1 (en) 2013-06-07 2014-12-11 Apple Inc. System and method for detecting errors in interactions with a voice-based digital assistant
WO2014197334A2 (en) 2013-06-07 2014-12-11 Apple Inc. System and method for user-specified pronunciation of words for speech synthesis and recognition
US9582608B2 (en) 2013-06-07 2017-02-28 Apple Inc. Unified ranking with entropy-weighted information for phrase-based semantic auto-completion
WO2014197335A1 (en) 2013-06-08 2014-12-11 Apple Inc. Interpreting and acting upon commands that involve sharing information with remote devices
KR101772152B1 (en) 2013-06-09 2017-08-28 애플 인크. Device, method, and graphical user interface for enabling conversation persistence across two or more instances of a digital assistant
US10176167B2 (en) 2013-06-09 2019-01-08 Apple Inc. System and method for inferring user intent from speech inputs
CN105265005B (en) 2013-06-13 2019-09-17 苹果公司 System and method for the urgent call initiated by voice command
CN105453026A (en) 2013-08-06 2016-03-30 苹果公司 Auto-activating smart responses based on activities from remote devices
US10296160B2 (en) 2013-12-06 2019-05-21 Apple Inc. Method for extracting salient dialog usage from live data
US20150178289A1 (en) * 2013-12-20 2015-06-25 Google Inc. Identifying Semantically-Meaningful Text Selections
US9620105B2 (en) 2014-05-15 2017-04-11 Apple Inc. Analyzing audio input for efficient speech and music recognition
US10592095B2 (en) 2014-05-23 2020-03-17 Apple Inc. Instantaneous speaking of content on touch devices
US9502031B2 (en) 2014-05-27 2016-11-22 Apple Inc. Method for supporting dynamic grammars in WFST-based ASR
WO2015184186A1 (en) 2014-05-30 2015-12-03 Apple Inc. Multi-command single utterance input method
US9785630B2 (en) 2014-05-30 2017-10-10 Apple Inc. Text prediction using combined word N-gram and unigram language models
US9715875B2 (en) 2014-05-30 2017-07-25 Apple Inc. Reducing the need for manual start/end-pointing and trigger phrases
US10078631B2 (en) 2014-05-30 2018-09-18 Apple Inc. Entropy-guided text prediction using combined word and character n-gram language models
US9842101B2 (en) 2014-05-30 2017-12-12 Apple Inc. Predictive conversion of language input
US9760559B2 (en) 2014-05-30 2017-09-12 Apple Inc. Predictive text input
US10170123B2 (en) 2014-05-30 2019-01-01 Apple Inc. Intelligent assistant for home automation
US10289433B2 (en) 2014-05-30 2019-05-14 Apple Inc. Domain specific language for encoding assistant dialog
US9734193B2 (en) 2014-05-30 2017-08-15 Apple Inc. Determining domain salience ranking from ambiguous words in natural speech
US9430463B2 (en) 2014-05-30 2016-08-30 Apple Inc. Exemplar-based natural language processing
US9633004B2 (en) 2014-05-30 2017-04-25 Apple Inc. Better resolution when referencing to concepts
US9338493B2 (en) 2014-06-30 2016-05-10 Apple Inc. Intelligent automated assistant for TV user interactions
US10659851B2 (en) 2014-06-30 2020-05-19 Apple Inc. Real-time digital assistant knowledge updates
US10446141B2 (en) 2014-08-28 2019-10-15 Apple Inc. Automatic speech recognition based on user feedback
US9818400B2 (en) 2014-09-11 2017-11-14 Apple Inc. Method and apparatus for discovering trending terms in speech requests
US10789041B2 (en) 2014-09-12 2020-09-29 Apple Inc. Dynamic thresholds for always listening speech trigger
US9606986B2 (en) 2014-09-29 2017-03-28 Apple Inc. Integrated word N-gram and class M-gram language models
US10127911B2 (en) 2014-09-30 2018-11-13 Apple Inc. Speaker identification and unsupervised speaker adaptation techniques
US9646609B2 (en) 2014-09-30 2017-05-09 Apple Inc. Caching apparatus for serving phonetic pronunciations
US9668121B2 (en) 2014-09-30 2017-05-30 Apple Inc. Social reminders
US10074360B2 (en) 2014-09-30 2018-09-11 Apple Inc. Providing an indication of the suitability of speech recognition
US9886432B2 (en) 2014-09-30 2018-02-06 Apple Inc. Parsimonious handling of word inflection via categorical stem + suffix N-gram language models
JP6553180B2 (en) * 2014-10-17 2019-07-31 エム・ゼット・アイ・ピィ・ホールディングス・リミテッド・ライアビリティ・カンパニーMz Ip Holdings, Llc System and method for language detection
US10552013B2 (en) 2014-12-02 2020-02-04 Apple Inc. Data detection
US9711141B2 (en) 2014-12-09 2017-07-18 Apple Inc. Disambiguating heteronyms in speech synthesis
US10152299B2 (en) 2015-03-06 2018-12-11 Apple Inc. Reducing response latency of intelligent automated assistants
US9865280B2 (en) 2015-03-06 2018-01-09 Apple Inc. Structured dictation using intelligent automated assistants
US9886953B2 (en) 2015-03-08 2018-02-06 Apple Inc. Virtual assistant activation
US9721566B2 (en) 2015-03-08 2017-08-01 Apple Inc. Competing devices responding to voice triggers
US10567477B2 (en) 2015-03-08 2020-02-18 Apple Inc. Virtual assistant continuity
US9899019B2 (en) 2015-03-18 2018-02-20 Apple Inc. Systems and methods for structured stem and suffix language models
US9842105B2 (en) 2015-04-16 2017-12-12 Apple Inc. Parsimonious continuous-space phrase representations for natural language processing
US10460227B2 (en) 2015-05-15 2019-10-29 Apple Inc. Virtual assistant in a communication session
US10083688B2 (en) 2015-05-27 2018-09-25 Apple Inc. Device voice control for selecting a displayed affordance
US10127220B2 (en) 2015-06-04 2018-11-13 Apple Inc. Language identification from short strings
US9578173B2 (en) 2015-06-05 2017-02-21 Apple Inc. Virtual assistant aided communication with 3rd party service in a communication session
US10101822B2 (en) 2015-06-05 2018-10-16 Apple Inc. Language input correction
US10186254B2 (en) 2015-06-07 2019-01-22 Apple Inc. Context-based endpoint detection
US10255907B2 (en) 2015-06-07 2019-04-09 Apple Inc. Automatic accent detection using acoustic models
US11025565B2 (en) 2015-06-07 2021-06-01 Apple Inc. Personalized prediction of responses for instant messaging
US20160378747A1 (en) 2015-06-29 2016-12-29 Apple Inc. Virtual assistant for media playback
US10671428B2 (en) 2015-09-08 2020-06-02 Apple Inc. Distributed personal assistant
US10747498B2 (en) 2015-09-08 2020-08-18 Apple Inc. Zero latency digital assistant
US9697820B2 (en) 2015-09-24 2017-07-04 Apple Inc. Unit-selection text-to-speech synthesis using concatenation-sensitive neural networks
US11010550B2 (en) 2015-09-29 2021-05-18 Apple Inc. Unified language modeling framework for word prediction, auto-completion and auto-correction
US10366158B2 (en) 2015-09-29 2019-07-30 Apple Inc. Efficient word encoding for recurrent neural network language models
US11587559B2 (en) 2015-09-30 2023-02-21 Apple Inc. Intelligent device identification
US10691473B2 (en) 2015-11-06 2020-06-23 Apple Inc. Intelligent automated assistant in a messaging environment
US10049668B2 (en) 2015-12-02 2018-08-14 Apple Inc. Applying neural network language models to weighted finite state transducers for automatic speech recognition
US10223066B2 (en) 2015-12-23 2019-03-05 Apple Inc. Proactive assistance based on dialog communication between devices
US10765956B2 (en) 2016-01-07 2020-09-08 Machine Zone Inc. Named entity recognition on chat data
US10446143B2 (en) 2016-03-14 2019-10-15 Apple Inc. Identification of voice inputs providing credentials
US9934775B2 (en) 2016-05-26 2018-04-03 Apple Inc. Unit-selection text-to-speech synthesis based on predicted concatenation parameters
US9972304B2 (en) 2016-06-03 2018-05-15 Apple Inc. Privacy preserving distributed evaluation framework for embedded personalized systems
US10249300B2 (en) 2016-06-06 2019-04-02 Apple Inc. Intelligent list reading
US11227589B2 (en) 2016-06-06 2022-01-18 Apple Inc. Intelligent list reading
US10049663B2 (en) 2016-06-08 2018-08-14 Apple, Inc. Intelligent automated assistant for media exploration
DK179309B1 (en) 2016-06-09 2018-04-23 Apple Inc Intelligent automated assistant in a home environment
US10586535B2 (en) 2016-06-10 2020-03-10 Apple Inc. Intelligent digital assistant in a multi-tasking environment
US10067938B2 (en) 2016-06-10 2018-09-04 Apple Inc. Multilingual word prediction
US10509862B2 (en) 2016-06-10 2019-12-17 Apple Inc. Dynamic phrase expansion of language input
US10192552B2 (en) 2016-06-10 2019-01-29 Apple Inc. Digital assistant providing whispered speech
US10490187B2 (en) 2016-06-10 2019-11-26 Apple Inc. Digital assistant providing automated status report
DK179415B1 (en) 2016-06-11 2018-06-14 Apple Inc Intelligent device arbitration and control
DK179049B1 (en) 2016-06-11 2017-09-18 Apple Inc Data driven natural language event detection and classification
DK201670540A1 (en) 2016-06-11 2018-01-08 Apple Inc Application integration with a digital assistant
DK179343B1 (en) 2016-06-11 2018-05-14 Apple Inc Intelligent task discovery
US10474753B2 (en) 2016-09-07 2019-11-12 Apple Inc. Language identification using recurrent neural networks
US10043516B2 (en) 2016-09-23 2018-08-07 Apple Inc. Intelligent automated assistant
CA3039085A1 (en) * 2016-10-03 2018-04-12 Mz Ip Holdings, Llc Systems and methods for language detection
US11281993B2 (en) 2016-12-05 2022-03-22 Apple Inc. Model and ensemble compression for metric learning
US10593346B2 (en) 2016-12-22 2020-03-17 Apple Inc. Rank-reduced token representation for automatic speech recognition
US11204787B2 (en) 2017-01-09 2021-12-21 Apple Inc. Application integration with a digital assistant
US10417266B2 (en) 2017-05-09 2019-09-17 Apple Inc. Context-aware ranking of intelligent response suggestions
DK201770383A1 (en) 2017-05-09 2018-12-14 Apple Inc. User interface for correcting recognition errors
DK201770439A1 (en) 2017-05-11 2018-12-13 Apple Inc. Offline personal assistant
US10726832B2 (en) 2017-05-11 2020-07-28 Apple Inc. Maintaining privacy of personal information
US10395654B2 (en) 2017-05-11 2019-08-27 Apple Inc. Text normalization based on a data-driven learning network
US11301477B2 (en) 2017-05-12 2022-04-12 Apple Inc. Feedback analysis of a digital assistant
DK179496B1 (en) 2017-05-12 2019-01-15 Apple Inc. USER-SPECIFIC Acoustic Models
DK201770429A1 (en) 2017-05-12 2018-12-14 Apple Inc. Low-latency intelligent automated assistant
DK179745B1 (en) 2017-05-12 2019-05-01 Apple Inc. SYNCHRONIZATION AND TASK DELEGATION OF A DIGITAL ASSISTANT
DK201770431A1 (en) 2017-05-15 2018-12-20 Apple Inc. Optimizing dialogue policy decisions for digital assistants using implicit feedback
DK201770432A1 (en) 2017-05-15 2018-12-21 Apple Inc. Hierarchical belief states for digital assistants
US10403278B2 (en) 2017-05-16 2019-09-03 Apple Inc. Methods and systems for phonetic matching in digital assistant services
US10303715B2 (en) 2017-05-16 2019-05-28 Apple Inc. Intelligent automated assistant for media exploration
US10311144B2 (en) 2017-05-16 2019-06-04 Apple Inc. Emoji word sense disambiguation
DK179560B1 (en) 2017-05-16 2019-02-18 Apple Inc. Far-field extension for digital assistant services
US10657328B2 (en) 2017-06-02 2020-05-19 Apple Inc. Multi-task recurrent neural network architecture for efficient morphology handling in neural language modeling
CN109145145A (en) 2017-06-16 2019-01-04 阿里巴巴集团控股有限公司 A kind of data-updating method, client and electronic equipment
US10769387B2 (en) 2017-09-21 2020-09-08 Mz Ip Holdings, Llc System and method for translating chat messages
US10445429B2 (en) 2017-09-21 2019-10-15 Apple Inc. Natural language understanding using vocabularies with compressed serialized tries
US10755051B2 (en) 2017-09-29 2020-08-25 Apple Inc. Rule-based natural language processing
US10636424B2 (en) 2017-11-30 2020-04-28 Apple Inc. Multi-turn canned dialog
US10733982B2 (en) 2018-01-08 2020-08-04 Apple Inc. Multi-directional dialog
US10733375B2 (en) 2018-01-31 2020-08-04 Apple Inc. Knowledge-based framework for improving natural language understanding
US10789959B2 (en) 2018-03-02 2020-09-29 Apple Inc. Training speaker recognition models for digital assistants
US10592604B2 (en) 2018-03-12 2020-03-17 Apple Inc. Inverse text normalization for automatic speech recognition
US10818288B2 (en) 2018-03-26 2020-10-27 Apple Inc. Natural assistant interaction
US10909331B2 (en) 2018-03-30 2021-02-02 Apple Inc. Implicit identification of translation payload with neural machine translation
US10928918B2 (en) 2018-05-07 2021-02-23 Apple Inc. Raise to speak
US11145294B2 (en) 2018-05-07 2021-10-12 Apple Inc. Intelligent automated assistant for delivering content from user experiences
US10984780B2 (en) 2018-05-21 2021-04-20 Apple Inc. Global semantic word embeddings using bi-directional recurrent neural networks
US10892996B2 (en) 2018-06-01 2021-01-12 Apple Inc. Variable latency device coordination
DK179822B1 (en) 2018-06-01 2019-07-12 Apple Inc. Voice interaction at a primary device to access call functionality of a companion device
US11386266B2 (en) 2018-06-01 2022-07-12 Apple Inc. Text correction
DK180639B1 (en) 2018-06-01 2021-11-04 Apple Inc DISABILITY OF ATTENTION-ATTENTIVE VIRTUAL ASSISTANT
DK201870355A1 (en) 2018-06-01 2019-12-16 Apple Inc. Virtual assistant operation in multi-device environments
US10496705B1 (en) 2018-06-03 2019-12-03 Apple Inc. Accelerated task performance
US11010561B2 (en) 2018-09-27 2021-05-18 Apple Inc. Sentiment prediction from textual data
US11462215B2 (en) 2018-09-28 2022-10-04 Apple Inc. Multi-modal inputs for voice commands
US10839159B2 (en) 2018-09-28 2020-11-17 Apple Inc. Named entity normalization in a spoken dialog system
US11170166B2 (en) 2018-09-28 2021-11-09 Apple Inc. Neural typographical error modeling via generative adversarial networks
CN109376355B (en) * 2018-10-08 2023-07-04 上海一起作业信息科技有限公司 English word and sentence screening method and device, storage medium and electronic equipment
US11475898B2 (en) 2018-10-26 2022-10-18 Apple Inc. Low-latency multi-speaker speech recognition
US11638059B2 (en) 2019-01-04 2023-04-25 Apple Inc. Content playback on multiple devices
US11348573B2 (en) 2019-03-18 2022-05-31 Apple Inc. Multimodality in digital assistant systems
US11307752B2 (en) 2019-05-06 2022-04-19 Apple Inc. User configurable task triggers
US11475884B2 (en) 2019-05-06 2022-10-18 Apple Inc. Reducing digital assistant latency when a language is incorrectly determined
DK201970509A1 (en) 2019-05-06 2021-01-15 Apple Inc Spoken notifications
US11423908B2 (en) 2019-05-06 2022-08-23 Apple Inc. Interpreting spoken requests
US11140099B2 (en) 2019-05-21 2021-10-05 Apple Inc. Providing message response suggestions
US11496600B2 (en) 2019-05-31 2022-11-08 Apple Inc. Remote execution of machine-learned models
DK180129B1 (en) 2019-05-31 2020-06-02 Apple Inc. User activity shortcut suggestions
US11289073B2 (en) 2019-05-31 2022-03-29 Apple Inc. Device text to speech
US11360641B2 (en) 2019-06-01 2022-06-14 Apple Inc. Increasing the relevance of new available information
CN110491375B (en) * 2019-08-22 2022-02-01 新疆科大讯飞信息科技有限责任公司 Target language detection method and device
WO2021056255A1 (en) 2019-09-25 2021-04-01 Apple Inc. Text detection using global geometry estimators

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1246075A2 (en) * 2001-03-28 2002-10-02 Nokia Corporation Determining language for character sequence
EP1612695A1 (en) * 2004-07-01 2006-01-04 Alcatel Method of language identification and language identifying module using short word lists and n-grams
EP1691299A2 (en) * 2005-02-11 2006-08-16 Microsoft Corporation Efficient language identification

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5062143A (en) 1990-02-23 1991-10-29 Harris Corporation Trigram-based method of language identification
US6415250B1 (en) 1997-06-18 2002-07-02 Novell, Inc. System and method for identifying language using morphologically-based techniques
US6272456B1 (en) * 1998-03-19 2001-08-07 Microsoft Corporation System and method for identifying the language of written text having a plurality of different length n-gram profiles
US6292772B1 (en) 1998-12-01 2001-09-18 Justsystem Corporation Method for identifying the language of individual words
US6167369A (en) * 1998-12-23 2000-12-26 Xerox Company Automatic language identification using both N-gram and word information
US20040205675A1 (en) * 2002-01-11 2004-10-14 Thangaraj Veerappan System and method for determining a document language and refining the character set encoding based on the document language
US20040078191A1 (en) 2002-10-22 2004-04-22 Nokia Corporation Scalable neural network-based language identification from written text
FR2848688A1 (en) 2002-12-17 2004-06-18 France Telecom Text language identifying device for linguistic analysis of text, has analyzing unit to analyze chain characters of words extracted from one text, where each chain is completed so that each time chains are found in word
US7865355B2 (en) * 2004-07-30 2011-01-04 Sap Aktiengesellschaft Fast text character set recognition
GB0507036D0 (en) * 2005-04-07 2005-05-11 Ibm Method and system for language identification
US8185376B2 (en) * 2006-03-20 2012-05-22 Microsoft Corporation Identifying language origin of words

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1246075A2 (en) * 2001-03-28 2002-10-02 Nokia Corporation Determining language for character sequence
EP1612695A1 (en) * 2004-07-01 2006-01-04 Alcatel Method of language identification and language identifying module using short word lists and n-grams
EP1691299A2 (en) * 2005-02-11 2006-08-16 Microsoft Corporation Efficient language identification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CAVNAR W B ET AL: "N-GRAM-BASED TEXT CATEGORIZATION" PROCEEDINGS. ANNUAL SYMPOSIUM ON DOCUMENT ANALYSIS &INFORMATION RETRIEVAL, XX, XX, 1 January 1998 (1998-01-01), pages 1-14, XP002929596 *
SIMON KRANIG: "Evaluation of Language Identification Methods" INTERNET CITATION, [Online] 1 January 2005 (2005-01-01), XP002451475 Retrieved from the Internet: URL:http://www.sfs.uni-tuebingen.de/iscl/Theses/kranig.pdf> [retrieved on 2007-09-18] *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10699073B2 (en) 2014-10-17 2020-06-30 Mz Ip Holdings, Llc Systems and methods for language detection

Also Published As

Publication number Publication date
CN101563683A (en) 2009-10-21
KR20090099069A (en) 2009-09-21
WO2008075161A3 (en) 2008-11-13
US20080147380A1 (en) 2008-06-19
RU2009127102A (en) 2011-01-27
US7552045B2 (en) 2009-06-23
EP2095266A2 (en) 2009-09-02

Similar Documents

Publication Publication Date Title
US7552045B2 (en) Method, apparatus and computer program product for providing flexible text based language identification
US20080126093A1 (en) Method, Apparatus and Computer Program Product for Providing a Language Based Interactive Multimedia System
US7139697B2 (en) Determining language for character sequence
US8275618B2 (en) Mobile dictation correction user interface
US9779080B2 (en) Text auto-correction via N-grams
US20090326945A1 (en) Methods, apparatuses, and computer program products for providing a mixed language entry speech dictation system
US8364487B2 (en) Speech recognition system with display information
US8862478B2 (en) Speech translation system, first terminal apparatus, speech recognition server, translation server, and speech synthesis server
RU2379767C2 (en) Error correction for speech recognition systems
US8751239B2 (en) Method, apparatus and computer program product for providing text independent voice conversion
EP1267326B1 (en) Artificial language generation
KR100769029B1 (en) Method and system for voice recognition of names in multiple languages
US20060106604A1 (en) Speech recognition dictionary creation device and speech recognition device
US20060149551A1 (en) Mobile dictation correction user interface
US8131550B2 (en) Method, apparatus and computer program product for providing improved voice conversion
EP2092514A2 (en) Content selection using speech recognition
KR20080015935A (en) Correcting a pronunciation of a synthetically generated speech object
KR20050071334A (en) Method for entering text
CN112580335A (en) Method and device for disambiguating polyphone
JP2012168349A (en) Speech recognition system and retrieval system using the same
JP2012073369A (en) Voice translation system, voice translation device, voice translation method, and program
JP2009258369A (en) Speech recognition dictionary creation device and speech recognition processing device
US20020107689A1 (en) Method for voice and speech recognition
KR20050077547A (en) Speech recognizing and recording method without speech recognition grammar in voicexml

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200780046825.5

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2007859017

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 3029/CHENP/2009

Country of ref document: IN

ENP Entry into the national phase in:

Ref document number: 2009542252

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase in:

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 1020097014832

Country of ref document: KR

ENP Entry into the national phase in:

Ref document number: 2009127102

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07859017

Country of ref document: EP

Kind code of ref document: A2