WO2009026850A1 - Domain dictionary creation - Google Patents

Domain dictionary creation Download PDF

Info

Publication number
WO2009026850A1
WO2009026850A1 PCT/CN2008/072128 CN2008072128W WO2009026850A1 WO 2009026850 A1 WO2009026850 A1 WO 2009026850A1 CN 2008072128 W CN2008072128 W CN 2008072128W WO 2009026850 A1 WO2009026850 A1 WO 2009026850A1
Authority
WO
WIPO (PCT)
Prior art keywords
word
topic
candidate
corpus
words
Prior art date
Application number
PCT/CN2008/072128
Other languages
English (en)
French (fr)
Inventor
Jun Wu
Tang Xi Liu
Feng Hong
Yonggang Wang
Bo Yang
Lei Zhang
Original Assignee
Google 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
Priority claimed from US11/844,153 external-priority patent/US7917355B2/en
Priority claimed from US11/844,067 external-priority patent/US7983902B2/en
Application filed by Google Inc. filed Critical Google Inc.
Priority to CN200880112723A priority Critical patent/CN101836205A/zh
Priority to JP2010521289A priority patent/JP5379138B2/ja
Publication of WO2009026850A1 publication Critical patent/WO2009026850A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/374Thesaurus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/313Selection or weighting of terms for indexing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/242Dictionaries

Definitions

  • BACKGROUND This disclosure relates to dictionaries for natural language processing applications, such as machine translation, non-Roman language word segmentation, speech recognition and input method editors.
  • Natural language processing techniques are used in data processing systems, such as speech processing systems, handwriting/optical character recognition systems, automatic translation systems, or for spelling/grammar checking in word processing systems.
  • These natural language processing techniques can include automatic updating of dictionaries for natural language applications related to, e.g., non- Roman language word segmentation, machine translation, automatic proofreading, speech recognition, input method editors, etc.
  • Non-Roman languages that use a logographic script in which one or two characters, e.g., glyphs, correspond to one word or meaning have more characters than keys on a standard input device, such as a computer keyboard on a mobile device keypad.
  • the Chinese language contains tens of thousands of ideographic characters defined by base phonetic or Pinyin characters and five tones. The mapping of these many to one associations can be implemented by input methods that facilitate entry of characters and symbols not found on input devices. Accordingly, a Western style keyboard can be used to input Chinese, Japanese, or Korean characters.
  • An input method editor can be used to realize an input method.
  • Such input method editors can include or access dictionaries of words and/or phrases. Lexicons of languages are constantly evolving, however, and thus the dictionaries for the input method editors can require frequent updates. For example, a new word may be rapidly introduced into a language, e.g., a pop-culture reference or a new trade name for a product may be introduced into a lexicon. Failure to update an input method editor dictionary in a timely manner can thus degrade the user experience, as the user may be unable to utilize or have difficulty utilizing the input method editor to input the new word into an input field.
  • a user may desire to submit a new word, e.g., a new trade name, as a search query to a search engine. If the input method editor does not recognize the new word, however, the user may experience difficulty in inputting the new word into the search engine.
  • a new word e.g., a new trade name
  • a method includes determining a topic divergence value that is substantially proportional to a ratio of a first topic word distribution in a topic document corpus to a second topic word distribution in a document corpus.
  • the topic document corpus is a corpus of topic documents related to a topic
  • the document corpus is a corpus of documents that includes the topic documents and other documents.
  • the method also includes determining a candidate topic word divergence value for a candidate topic word.
  • the candidate topic word divergence value is substantially proportional to a ratio of a first distribution of the candidate topic word in the topic document corpus to a second distribution of the candidate topic word in the document corpus.
  • the method determines whether the candidate topic word is a new topic word based on the candidate topic word divergence value and the topic divergence value.
  • a method includes selecting a topic dictionary comprising topic words related to a topic, and determining a topic word divergence value based on a topic word, a document corpus and a topic document corpus.
  • the topic document corpus is a corpus of topic documents related to a topic
  • the document corpus is a corpus of documents that includes the topic documents and other documents.
  • the topic word is a word that is related to the topic.
  • the method also includes determining a candidate topic word divergence value for a candidate topic word based on the document corpus and the topic document corpus, and determining whether the candidate topic word is a new topic word based on the candidate topic word divergence value and the topic word divergence value.
  • a system in another implementation, includes a data store, a topic word processing module and a dictionary updater module.
  • the data store data store stores a topic dictionary comprising topic words related to a topic.
  • the topic word processing module is configured to determine a topic word divergence value based on a topic word, a document corpus and a topic document corpus.
  • the topic document corpus is a corpus of topic documents related to a topic
  • the document corpus is a corpus of documents that includes the topic documents and other documents.
  • the topic word is a word that in a topic dictionary that is related to the topic.
  • the topic word processing module is also configured to select a candidate topic word and determine a candidate topic word divergence value for the candidate topic word based on the document corpus and the topic document corpus, and determine whether the candidate topic word is a topic word based on the candidate topic word divergence value and the topic word divergence value.
  • the dictionary updater module is configured to store the candidate topic word in the topic dictionary if the candidate topic word is determined to be a topic word.
  • the data processing performance of a system using a language model may be improved.
  • the system or device may have improved performance in speech processing, handwriting/optical character recognition, automatic translation, automatic classification, automatic abstracting, and/or spell/grammar checking in word processing systems by use of automatically updated topic dictionaries.
  • Fig. 1A is a block diagram of an example device 100 that can be utilized to implement an input method editor.
  • Fig. 1 B is a block diagram of an example input method editor system 120.
  • Fig. 2A is a block diagram of an example word detection system.
  • Fig. 2B is a block diagram of an example implementation of the system of Fig. 2A.
  • Fig. 3 is a flow chart of an example process for identifying new words in a word corpus.
  • Fig. 4 is a flow chart of an example process for determining entropy-related measures for candidate words and existing words.
  • Fig. 5 is a flow chart of another example process for identifying new words in a word corpus.
  • Fig. 6 is a flow chart of another example process for identifying new words in a word corpus based on word probabilities from another word corpus.
  • Fig. 7A is a block diagram of an example topic word identification system.
  • Fig. 7B is a more detailed block diagram of the system of Fig. 7A.
  • Fig. 8 is a flow chart of an example process for identifying topic words.
  • Fig. 9 is a flow chart of an example process for determining a topic word divergence value.
  • Fig. 10 is a flow chart of an example document and word clustering process.
  • Fig. 11 is a flow chart of another example process for identifying topic words.
  • Like reference numbers and designations in the various drawings indicate like elements.
  • Fig. 1A is a block diagram of an example device 100 that can be utilized to implement an input method editor (IME).
  • the device 100 can, for example, be implemented in a computer device, such as a personal computer device, a network server, a telecommunication switch, or other electronic devices, such as a mobile phone, mobile communication device, personal digital assistant (PDA), game box, and the like.
  • the example device 100 includes a processing device 102, a first data store 104, a second data store 106, input devices 108, output devices 110, and a network interface 112.
  • a bus system 114 including, for example, a data bus and a motherboard, can be used to establish and control data communication between the components 102, 104, 106, 108, 110 and 112.
  • Other example system architectures can also be used.
  • the processing device 102 can, for example, include one or more microprocessors.
  • the first data store 104 can, for example, include a random access memory storage device, such as a dynamic random access memory, or other types of computer-readable medium memory devices.
  • the second data store 106 can, for example, include one or more hard drives, a flash memory, and/or a read only memory, or other types of computer-readable medium memory devices.
  • Example input devices 108 can include a keyboard, a mouse, a stylus, a touch screen display etc.
  • example output devices 110 can include a display device, an audio device, etc.
  • the network interface 112 can, for example, include a wired or wireless network device operable to communicate data to and from a network 116.
  • the network 116 can include one or more local area networks (LANs) and/or a wide area network (WAN), such as the Internet.
  • LANs local area networks
  • WAN wide area network
  • the device 100 can include input method editor code 101 in a data store, such as the data store 106.
  • the input method editor code 101 can be defined by instructions that upon execution cause the processing device 102 to carry out input method editing functions.
  • the input method editor code 101 can, for example, comprise interpreted instructions, such as script instructions, e.g., JavaScript or ECMAScript instructions, which can be executed in a web browser environment.
  • Other implementations can also be used, e.g., compiled instructions, a stand-alone application, an applet, a plug-in module, etc.
  • Execution of the input method editor code 101 generates or launches an input method editor instance 103.
  • the input method editor instance 103 can define an input method editor environment, e.g., user interface, and can facilitate the processing of one or more input methods at the device 100, during which time the device 100 can receive composition inputs for input characters, ideograms, or symbols, such as, for example, Hanzi characters.
  • the user can use one or more of the input devices 108 (e.g., a keyboard, such as a Western-style keyboard, a stylus with handwriting recognition engines, etc.) to input composition inputs for identification of Hanzi characters.
  • a Hanzi character can be associated with more than one composition input.
  • the first data store 104 and/or the second data store 106 can store an association of composition inputs and characters. Based on a user input, the input method editor instance 103 can use information in the data store 104 and/or the data store 106 to identify one or more candidate characters represented by the input. In some implementations, if more than one candidate character is identified, the candidate characters are displayed on an output device 110. Using the input device 108, the user can select from the candidate characters a Hanzi character that the user desires to input.
  • the input method editor instance 103 on the device 100 can receive one or more Pinyin composition inputs and convert the composition inputs into Hanzi characters.
  • the input method editor instance 103 can, for example, use compositions of Pinyin syllables or characters received from keystrokes to represent the Hanzi characters.
  • Each Pinyin syllable can, for example, correspond to a key in the Western style keyboard.
  • a Pinyin input method editor a user can input a Hanzi character by using composition inputs that include one or more Pinyin syllables representing the sound of the Hanzi character.
  • the user can also input a word that includes two or more Hanzi characters by using composition inputs that include two or more Pinyin syllables representing the sound of the Hanzi characters. Input methods for other languages, however, can also be facilitated.
  • Other application software 105 can also be stored in data stores 104 and/or 106, including web browsers, word processing programs, e-mail clients, etc. Each of these applications can generate a corresponding application instance 107.
  • Each application instance can define an environment that can facilitate a user experience by presenting data to the user and facilitating data input from the user. For example, web browser software can generate a search engine environment; e-mail software can generate an e-mail environment; a word processing program can generate an editor environment; etc.
  • a remote computing system 118 having access to the device 100 can also be used to edit a logographic script.
  • the device 100 may be a server that provides logographic script editing capability via the network 116.
  • a user can edit a logographic script stored in the data store 104 and/or the data store 106 using a remote computing system, e.g., a client computer.
  • a user can edit a logographic script stored on the remote system 118 having access to the device 100, e.g., the device 100 may provide a web-based input method editor that can be utilized by a client computer.
  • the device 100 can, for example, select a character and receive a composition input from a user over the network interface 112.
  • the processing device 102 can, for example, identify one or more characters adjacent to the selected character, and identify one or more candidate characters based on the received composition input and the adjacent characters.
  • the device 100 can transmit a data communication that includes the candidate characters back to the remote computing system.
  • input method editor functionality can be provided to a client device in the form of an applet or a script.
  • Fig. 1 B is a block diagram of an example input method editor system 120.
  • the input method editor system 120 can, for example, be implemented using the input method editor code 101 and associated data stores 104 and 106.
  • the input method editor system 120 includes an input method editor engine 122, a dictionary 124, and a composition input data store 126.
  • Other implementation and storage architectures can also be used.
  • the composition input data store 126 can include a language model.
  • the language model can be a probability matrix of a current word given at least one previous word (e.g., a unigram model).
  • a user can use the IME system 120 to enter Chinese words or phrases by typing Pinyin characters.
  • the IME engine 122 can search the dictionary 124 to identify candidate dictionary entries each including one or more Chinese words or phrases that match the Pinyin characters.
  • the dictionary 124 includes entries 128 that correspond to known characters, words, or phrases of a logographic script used in one or more language models, and characters, words, and phrases in Roman-based or western-style alphabets, for example, English, German, Spanish, etc.
  • a word may include one Hanzi character or a sequence of consecutive Hanzi characters.
  • a sequence of consecutive Hanzi characters may constitute more than one word in the dictionary 124.
  • a word (“ ⁇ .") having the meaning “apple” includes two constituent Hanzi characters “ ⁇ ” and “ ⁇ L” that correspond to Pinyin inputs “ping” and “guo,” respectively.
  • the character “ ⁇ ” is also a constituent word that has the meaning "fruit.”
  • the word “ ⁇ M ⁇ i ⁇ M ⁇ t” constitutes of three words in the dictionary 124.
  • the constituent words can include (1 ) " ⁇ c,” meaning “global,” (2) ' £
  • the dictionary entries 128 may include, for example, idioms (e.g., "W ⁇ J$/?5"), proper names (e.g., meaning "Republic of Austria”), names of historical characters or famous people (for example, “j ⁇ m iSfF, meaning “Genghis Khan”), terms of art (e.g., " ⁇ M ⁇ i ⁇ M ⁇ t", meaning “Global Positioning System”), phrases (" ⁇ i ⁇ vE M"), book titles (for example, 11 ⁇ MW, meaning "Dream of the Red Chamber"), titles of art works (for example, “y# BJ ⁇ MH", meaning “Upper River During the Qing Ming Festival"), and movie titles (for example, meaning "Crouching Tiger, Hidden Dragon”), etc., each including one or more characters.
  • idioms e.g., "W ⁇ J$/?5"
  • proper names e.g., meaning "Republic of Austria”
  • names of historical characters or famous people for example, “j ⁇ m iSfF,
  • the dictionary entries 128 may include, for example, names of geographical entities or political entities, names of business concerns, names of educational institutions, names of animals or plants, names of machinery, song names, titles of plays, names of software programs, names of consumer products, etc.
  • the dictionary 124 may include, for example, thousands of characters, words and phrases.
  • the dictionary 124 includes information about relationships between characters.
  • the dictionary 124 can include scores or probability values assigned to a character depending on characters adjacent to the character.
  • the dictionary 124 can include entry scores or entry probability values each associated with one of the dictionary entries 128 to indicate how often the entry 128 is used in general.
  • the composition input data store 126 includes an association of composition inputs and the entries 128 stored in the dictionary 124.
  • the composition input data store 126 can link each of the entries in the dictionary 124 to a composition input (e.g., Pinyin input) used by the input method editor engine 122.
  • a composition input e.g., Pinyin input
  • the input method editor engine 122 can use the information in the dictionary
  • the candidate selections in the IME system 120 can be ranked and presented in the input method editor according to the rank.
  • the input method editor engine 122 can use the language model of the composition input data store 126 to associate and/or identify the entries.
  • the IME system 120 can use the language model to rank the candidate associations based on one or more previous input words.
  • Some of the words and phrases stored in the dictionary 124 may have a long history in a lexicon, while other words and phrases may be relatively new. Because the lexicon of a language is constantly evolving, the dictionary 124 may require frequent updates. To facilitate an accurate and timely update, a word detection system can be utilized.
  • Fig. 2A is a block diagram of an example word detection system 200.
  • the word detection system 200 includes a dictionary, e.g., a dictionary 124, a word processing module 206, a new word analyzer module 208, and a dictionary updater module 210.
  • the word detection system can access a word corpus 204 over a network, e.g., a wide area network (WAN) 202, such as the Internet.
  • the word detection system 200 can be configured to detect new words in the word corpus 204.
  • the word detection system 200 can identify new Chinese words defined by Hanzi characters from the word corpus 204.
  • the word detection system 200 updates the dictionary 124 by storing the identified new words in the dictionary 124.
  • the word detection system 200 can add entries representing the new Chinese words into the dictionary 124.
  • the dictionary 124 can then be provided to and/or accessed by computer devices utilizing an input method editor compatible with the dictionary 124.
  • the word processing module 206, the new word analyzer module 208, and the dictionary updater module 210 can be software and/or hardware processing modules configured to detect new words in the word corpus 204.
  • An example software implementation of the modules includes instructions stored in a tangible computer- readable medium and executable by computer processing devices in data communication with the tangible computer-readable medium. Such instructions can include object code, compiled code, interpreted instructions, etc.
  • the word processing module 206, the new word analyzer module 208, and the dictionary updater module 210 can be implemented in one or more networked server computers, e.g., a server farm, and can be configured to access and process a large word corpus, e.g., thousands or even millions of web-based documents. Other implementations can also be used.
  • the word corpus 204 includes words from various sources.
  • An example word corpus can include web documents, such as web pages and files, query logs, blog, e- mail messages, or other data that includes word data.
  • the word corpus 204 can include Hanzi characters from web documents 214, electronic communications 216, data stores 218, and other word sources 220.
  • the web documents 214 can include published web pages accessible over the WAN 202.
  • the word corpus 204 can include words from personal or company websites, profile pages in social networking websites, blog entries, online news articles, and/or other text published on the Internet.
  • the electronic communications 216 can include network communications, such as email, short message service (SMS), search queries, or other communication methods.
  • SMS short message service
  • the word corpus 204 can include text used in e-mail messages, SMS messages, and search queries.
  • the word corpus 204 can also include words from other data stores 218, such as on-line dictionaries associated with other IME devices, user files, etc.
  • the word corpus 204 can also include words used in other word sources 220, such as in electronic books, electronic dictionaries, user manuals of various devices in electronic form, or any other electronic source of word data.
  • the word corpus 204 can include words in documents of one or more languages.
  • a single document in the corpus 204 may include more than one language (e.g., an editorial in a Chinese newspaper about English politics can include both Chinese and English).
  • the word processing module 206 can extract characters for a particular language, e.g., Hanzi characters, from the word corpus 204 for word detection.
  • the word processing module 206 can include a Hanzi character processing module.
  • the Hanzi character processing module can process the Hanzi characters in the word corpus 204.
  • the word processing module 206 can include processing modules to process other logographic languages, such as a Japanese character processing module, a Korean character processing module, and/or other logographic character processing modules.
  • the word detection system 200 includes a partition data store 212.
  • the partition data store 212 can include a copy of the word corpus 204 or a large portion of the word corpus, e.g., copies of web pages crawled by software agents, and the word processing module 206 can partition data stored in the partition data store 212.
  • the word processing module 206 can partition data related to the word corpus 204 into a training corpus and a development corpus.
  • data in the training corpus and the development corpus can be stored in the partition data store 212.
  • more than two partitions can be generated and stored in the partition data store 212.
  • the word processing module 206 can identify documents in the word corpus 204 and store document identifiers, e.g., uniform resource locators (URL) according to partition data in the partition data store 212.
  • the partition data store 212 need not include a copy of the word corpus 204 or a copy of a large portion of the word corpus 204.
  • Other data storage and/or allocation techniques for managing the word corpus 204 can also be used.
  • the word processing module 206 can include a language model.
  • the word processing module 206 can utilize the data in the word corpus 204 to generate an n-gram language model.
  • the n-gram language model can include probabilities of a sub-sequence of n words from given sequences.
  • the word processing module 206 can generate the n-gram language model for one or more of the partitioned data sets in the partition data store 212, e.g., the training corpus.
  • the word processing module 205 can identify words in the word corpus 204 without delimiters.
  • the word processing module 206 can use the dictionary 124 and one or more existing language models to identify words in the word corpus 204.
  • the word processing module 206 can identify one or more combinations of words that form the sentence. Based on the language model, the word processing module 206 can, for example, rank the combinations and select a combination of words with the highest rank.
  • the word processing module 206 can compare the words in the training corpus and the words in the dictionary 124 to identify one or more potential new words, e.g., candidate words that appear in the training corpus and that are not in the dictionary 124.
  • the system 200 can verify whether a candidate word is a new word using the data in the partitioned data store 212.
  • the word processing module 206 determines a first probability of the candidate word and the probabilities of words constituting the candidate word based on, for example, the n-gram language model in a training corpus (e.g., the training corpus), and a second probability based on, for example, a number of occurrences of the candidate word in the development corpus and the total number of words in the development corpus.
  • the new word analyzer module 208 can determine whether the candidate word is a new word.
  • the new word analyzer module 208 can use the first and second probabilities to determine whether an uncertainty in the development corpus, e.g., an entropy value, decreases with respect to the candidate word.
  • the new word analyzer module 208 generates first and second entropy-related values based on the first and the second probabilities.
  • the first entropy-related value and the second entropy- related value may represent the uncertainty of the language models with and without the candidate word, respectively.
  • the new word analyzer module 208 determines that the candidate word is a new word if the first entropy-related value is smaller than the second entropy-related value.
  • the reduction of entropy can be indicative of an information gain (IG) resulting from correctly detecting the new word. If the candidate word is determined to be a new word, the new word analyzer module 208 can notify the dictionary updater module 210 to update the dictionary 124 with the new word.
  • IG information gain
  • the entropy-related values can be an approximation of the actual entropy values.
  • the number of words in the training corpus and the development corpus may vary slightly by including the candidate word in the language model, e.g., the word " ⁇ c" may be counted as one word, or may be counted as two words if the constituent characters ⁇ and ⁇ c are considered separately.
  • the new word analyzer module 208 can generate the entropy-related values using fixed sizes of the training corpus and the development corpus, e.g., by adjusting the probabilities for only a candidate word and the constituent words that define the candidate word.
  • the entropy-related values are thus a close approximation of the actual entropy values.
  • the new word analyzer module 208 can use the entropy-related values as the entropy values of the training corpus and/or the development corpus.
  • Fig. 2B is a block diagram of an example implementation of the system 200 of Fig. 2A.
  • the system 200 includes a training corpus 232 and a development corpus 234.
  • the word processing module 206 partitions the word corpus 204 to generate the training corpus 232 and the development corpus 234.
  • the training corpus 232 and the development corpus 234 can be stored or represented in the partition data store 212.
  • the word processing module 206 can include a segmentation module that segments raw sentences without spaces between words into word sequences.
  • the segmentation module in the word processing module can, for example, utilize a dictionary and language models to generate the segments of word sequences.
  • the word processing module 206 can include an n-gram language model in the training corpus 232.
  • the word processing module 206 can identify a candidate word by combining two or more existing words in the training corpus 232.
  • the word processing module 206 can identify a candidate word (x, y) by combining two existing words x and y.
  • the system 200 can utilize word data from the word corpus 204, e.g., web page data in the training corpus 232 and the development corpus 234, to determine whether the candidate word is a new word.
  • the word processing module 206 can generate an n-gram language model from data stored in the training corpus 232 to include an identified candidate word (x, y).
  • the unigram model can include the probabilities of the candidate word, P(x, y), and the word processing module 206 can also determine the corresponding probabilities P(x) and P(y) of the words x and y that constitute the candidate word xy.
  • the word processing module 206 generates a word count value of the candidate word, D(x, y), and word count values of constituent words, D(x) and D(y) from the development corpus 234.
  • D(x), D(y), and D(x, y) may be the number of occurrences of x, y, and (x, y), respectively in the development corpus 234.
  • the system 200 can determine probabilities of x, y, and (x, y) in the development corpus 234.
  • the probability of (x, y) in the development corpus 234 can be determined by where
  • the new word analyzer module 208 determines whether the candidate word is a new word. In some implementations, the new word analyzer module 208 can determine that the candidate word is a new word if the uncertainty of the development corpus 234 decreases by including the candidate word as a new word. In some examples, an entropy value can be used to measure an uncertainty in the development corpus 234. For example, the entropy value of the development corpus 234 can be determined by lo ⁇ PC) .
  • the new word analyzer module 208 can generate entropy values H and H' for the development corpus 234, where H and H' are the entropy values of the development corpus 234 without and with, respectively, including the candidate word in the language models. In some implementations, the new word analyzer module 208 generates the actual entropy values H and H' using the actual sizes of a corpus without and with the candidate word, respectively.
  • the new word analyzer module 208 can also use one or more entropy- related values that can approximate the actual entropy values. For example, the new word analyzer module 208 can generate H' using the size of the corpora 232, 234 without the candidate word. Although the size of the training and development corpora 232, 234 may decrease after including (x, y) as a new word in the vocabulary, the difference may be negligible for computing the entropy of the corpora 232, 234 with the candidate word (x, y).
  • the size of the corpus decreases only by the number of occurrences of W1W2...Wn, e.g., m, multiplied by n-1 , e.g., m*(n-1).
  • the new word analyzer module 208 can determine whether the candidate word is a new word. For example, if H' - H ⁇ 0, then the new word analyzer module 208 may determine that the candidate word is a new word because the entropy value of the development corpus 234 is reduced by including the candidate word.
  • the new word analyzer module 208 compares the entropy values H and H' using the probabilities p(x), p(y), and p(x, y), and the word count values D(x), D(y), and D(x, y). Because the word frequencies of words other than the candidate word and the constituent words are not affected by the addition of the candidate word, the formula for generating a difference between H and H' can be generated using a simplified formula. By canceling equal terms, the following formula can be derived to compute the difference between H and H'
  • p'(x), p'(y), p'(x, y), p(x), and p(y) are probabilities of the language models of the training corpus 232.
  • the values of p'(x), p'(y), p'(x, y) are the probabilities of x, y, and (x, y), respectively, in the language model when the sequence of characters xy is considered a candidate word.
  • the values of p(x) and p(y) are probabilities of x and y, respectively, in the language model when the sequence of characters xy is not considered a candidate word.
  • the value of p(y) > p'(y) increases the respective probabilities of p(x) and p(y).
  • the new word analyzer module 208 can determine that the candidate word (x, y) is a new word if Z ⁇ 0, which is equivalent to the condition:
  • the candidate word (x, y) is determined to be a new word if the above inequality is true.
  • the probabilities p(x), p(y), p'(x), and p'(y) are represented using number of occurrences of x, y, and (x, y) in the training corpus 232 divided by the total number of words in the training corpus 232. For example,
  • the new word analyzer module 208 can evaluate the above inequality according to the following inequality:
  • This inequality can be rewritten as: to determine whether the candidate word is valid.
  • the new word analyzer module 208 can generate a first value using a word frequency of the candidate word in the development corpus 234
  • a first entropy-like value V1 based on these values can be calculated based on the formula:
  • the new word analyzer module 208 can generate a second entropy value using a word frequency of the constituent words in the development corpus 234
  • Vs based on these values can be calculated based on the formula:
  • the new word analyzer module 208 determines that the candidate word is a new word if V1 > V2.
  • Other inequalities can also be used to be more inclusive or less inclusive of new words, e.g., V1 > S*V2, where S is a scalar value.
  • the scalar value can be fixed, e.g., 0.9, or adjusted according to applications.
  • the dictionary updater module 210 receives data indicative of the determination from the new word analyzer module 208.
  • the dictionary updater module 210 can add the new word into the dictionary 124.
  • the system 200 may process the word corpus 204 and process multiple candidate words on a scheduled basis. For example, the process of detecting new words in the corpus can be implemented on a daily, weekly, or monthly basis. Other triggering events can also be used; e.g., a new word detection process can be performed for a web-based input method editor if an unrecognized word is received as input with enough frequency to be statistically significant.
  • Fig. 3 is a flow chart of an example process 300 for identifying new words in a word corpus (e.g., the word corpus 204).
  • the process 300 can, for example, be implemented in a system that includes one or more computers.
  • the word detection system 200 can be used to perform some or all of the operations in the process 300.
  • the process 300 begins with determining first word frequencies for existing words and a candidate word in a training corpus (302).
  • the candidate word can be defined by a sequence of constituent words, and each constituent word can be an existing word in a dictionary.
  • the word processing module 206 can determine probabilities (e.g., p(x), p(y), and p(x, y)) of a candidate word (e.g., (x, y)) and the existing words that constitute the candidate word (e.g., x and y) in the training corpus 232.
  • the word processing module 206 can generate an n-gram language model in the training corpus 232 to determine the word frequencies.
  • the process 300 determines second word frequencies for the constituent words and the candidate word in a development corpus (304).
  • the word processing module 206 can determine word count values of the identified new word and the constituent words in the development corpus 234 (e.g., D(x, y), D(x), and D(y)).
  • the word frequency of a word in the development corpus 234 can be determined by dividing the word count of the word in the development corpus 234 by the total number of words in the development corpus 234.
  • the word processing module 206 can determine a word frequency of w in the development
  • the process 300 determines a candidate word entropy-related measure based on the second word frequency of the candidate word and the first word frequencies of the constituent words and the candidate word (306).
  • the new word analyzer module 208 can determine the candidate word entropy-related measure V1 using D(x, y), p(x), p(y), and p(x, y).
  • the process 300 determines an existing word entropy-related measure based on the second word frequency of the constituent words and the first word frequencies of the constituent words and the candidate word (308).
  • the new word analyzer module 208 can determine an existing word entropy-related measure V2 using D(X), D(y), P(X), p(y), and p(x, y).
  • the process 300 determines whether the candidate word entropy-related measure exceeds the existing word entropy-related measure (310). For example, the new word analyzer module 208 can compare V1 and V2 and determine whether V1 is greater than V2. If the process 300 determines that the candidate word entropy-related measure exceeds the existing word entropy-related measure, the candidate word is determined to be a new word (312). For example, the new word analyzer module 208 can determine that the candidate word is a new word if V1 > V2.
  • the candidate word is determined not to be a new word (314).
  • the new word analyzer module 208 can determine that the candidate word is not a new word if V1 ⁇ V2.
  • the entropy-related measures are determined by computing the entropy measure or by approximating the entropy measure using fixed sizes of the corpora as described with reference to FIGS. 2A-2B.
  • Fig. 4 is a flow chart of an example process 400 for determining entropy-related measures for candidate words and existing words.
  • the process 400 can be implemented in a system that includes one or more computers.
  • the word detection system 200 can be used to perform some or all of the operations in the process 400.
  • the process 400 begins with determining a first logarithmic value based on the probabilities of the candidate word and the constituent words (402).
  • the new word analyzer module 208 can determine a first logarithmic value using p(x), p(y), and p(x, y).
  • the first logarithmic value can be
  • the process 400 determines the candidate word entropy measure based on the word count value of the candidate word and the first logarithmic value (404). For example, the new word analyzer module 208 can use the word count of the candidate word D(x, y) and the first logarithmic value to generate the value V1.
  • the process 400 determines second logarithmic values based on the probabilities of the candidate word and the constituent words (406). For example, the new word analyzer module 208 can determine second logarithmic values using p(x), p(y), and p(x, y).
  • the second logarithmic values can include log , *»> , and log- I?) p ⁇ x)- p ⁇ x,y) p(y) - p( ⁇ ,y)
  • the process 400 determines the existing word entropy measure based on the word counts of the constituent words and the second logarithmic values (408).
  • the new word analyzer module 208 can use the word count of the candidate word D(x), D(y) and the second logarithmic value to generate the value V2.
  • Fig. 5 is a flow chart of another example process 500 for identifying new words in a word corpus.
  • the process 500 can be implemented in the system 200.
  • the process 500 begins with determining first word probabilities for existing words and a candidate word in a first corpus (502).
  • the word processing module 206 can determine p(x), p(y), and p(x, y) in the training corpus 232.
  • the process 500 determines second word probabilities for the constituent words and the candidate word in the second corpus (504).
  • the candidate word can be defined by a sequence of constituent words, and each constituent word can be an existing word in a dictionary.
  • the word processing module 206 can determine the probabilities of the constituent words, x and y, and the candidate word (x, y) in the development corpus 234. For example, the word processing module 206 can use D(x), D(y), and D(x, y) in the development corpus 234, and
  • the process 500 determines a first entropy-related value based on the second candidate word probability and the first word probabilities of the candidate word and the constituent words (506).
  • the new word analyzer module 208 can determine V1 using D(x, y) and p(x), p(y), and p(x, y).
  • the process 500 determines a second entropy-related value based on the second constituent word probabilities and the first word probabilities of the candidate word and the constituent words (508).
  • the new word analyzer module 208 can determine V2 using D(x), D(y), and p(x), p(y), and p(x, y).
  • the process 500 determines whether the first entropy-related value exceeds the second entropy-related value (510). For example, the new word analyzer module 208 can determine whether V1 > V2. If the process 500 determines that the first entropy-related value V1 exceeds the second entropy-related value V2, the candidate word is determined to be a new word (512). For example, the new word analyzer module 208 can determine that the candidate word is a new word if V1 > V2.
  • the candidate word is determined not to be a new word (514).
  • the new word analyzer module 208 can determine that the candidate word is not a new word if V1 ⁇ V2.
  • Fig. 6 is a flow chart of another example process 600 for identifying new words in a word corpus based on word probabilities from another word corpus.
  • the process 400 can be implemented in a system that includes one or more computers.
  • the process 600 begins with partitioning a collection of web documents into a training corpus and a development corpus (602).
  • the word processing module 206 can partition the word corpus 204 into the training corpus 232 and the development corpus 234.
  • the process 600 trains a language model on the training corpus for first word probabilities of words in the training corpus (604).
  • the word training module 206 can train an n-gram language model of the training corpus 232 and obtain probabilities of words (e.g., p(x), p(y), and p(x, y)) in the training corpus 232.
  • the process 600 counts occurrences of the candidate word and the two or more corresponding words in the development corpus (606).
  • the word processing module 206 can count occurrences of the candidate word D(x, y) and the constituent words of the candidate word D(x) and D(y) in the development corpus 234.
  • the process 600 determines a first value based on the occurrences of the candidate word in the development corpus and the first word probabilities (608).
  • the new word analyzer module 208 determines V1 based on D(x, y) and p(x), p(y), and p(x, y).
  • the process 600 determines a second value based on the occurrences of the two or more corresponding words in the development corpus and the first word probabilities (610). For example, the new word analyzer module 208 determines V2 based on D(x) and D(y), and p(x), p(y), and p(x, y).
  • the process 600 determines whether the candidate word is a new word by comparing the first value to the second value (612). For example, the new word analyzer module 208 can compare V1 and V2. If the process 600 determines that the candidate word is a new word, then the process 600 adds the candidate word to a dictionary (614). For example, the dictionary updater module 210 can add the new word to the dictionary 124. If the process 600 determines that the candidate word is not a new word, then the process 600 identifies another candidate word (616) and the step 606 is repeated. For example, the word processing module 206 can identify another candidate word from the word corpus 204.
  • the word detection system 200 can detect new words constituting more than two existing words. For example, the word detection system 200 can identify a candidate word (x, y, z) that constitutes three existing words, x, y, and z.
  • the new word analyzer module 208 can generate a first entropy related value V1 by computing v ⁇
  • the new word analyzer module 208 can determine that the candidate word (x, y, z) is a new word and the dictionary updater module 210 can store the new word in the dictionary 124.
  • the system 200 can identify the following new three- and four-character words/phrases that have been introduced into a language lexicon: "TfI?
  • a computer system can include one or more topic dictionaries that are related to one or more specific topics.
  • the dictionary 124 of Fig. 1 B can include one or more topic dictionaries, and each topic dictionary can correspond to a particular topic and include topic words related to the particular topic.
  • specific topics can include a sports topic, a music topic, a legal topic, a medical topic, etc.
  • a topic dictionary related to a sports topic can include words and phrases related to the sport, e.g., "soccer,” "football,” “goal,” “red flag,” etc.
  • topic words can be identified from the new words and/or existing words.
  • one or more of the new words can be classified to be related to a specific topic after the new words are identified using the system 200.
  • a topic word identification system can identify topic words from the word corpus 204. The identified topic words can be included in one or more of the topic dictionaries.
  • Fig. 7A is a block diagram of an example topic word identification system 700 for identifying topic words.
  • the topic word identification system 700 includes a topic classification module 702, a topic word processing module 704, a dictionary updater module 706, and topic dictionaries 708.
  • the topic classification module 702, topic word processing module 704, and the dictionary updater module 706 can be integrated on one or more computers, e.g., either a single computer or one or more computers in communication over a network, such as a WAN 202.
  • the topic classification module 702 can retrieve documents in the word corpus 204, e.g., document corpus 710.
  • the topic word identification system 700 can identify topic words in the word corpus 204 and update the identified topic words to the topic dictionaries 708.
  • the document corpus 710 can include documents from the word corpus 204, e.g., document corpus 710 can include a copy of the word corpus 204 or a large portion of the word corpus 204, e.g., copies of web pages crawled by software agents.
  • the document corpus 710 includes n topics 714, and each topic includes topic- related documents, e.g., a topic document corpus, from the document corpus 710.
  • the document corpus 710 can include sports-related documents, medical- related documents, etc., and a sports topic can include the sports-related documents as a sports topic document corpus; a medical topic can include the medical-related documents as a medical topic document corpus, etc.
  • each of the topics 714 may be predefined in the system 700. Additionally, some of the topics can also be sub-topics of another topic. For example, topics "tennis” and “basketball” can be sub-topics of a topic "sports.”
  • the topic classification module 702 clusters the documents in the document corpus 710 to generate topic document clusters. For example, the topic classification module 702 can cluster the documents related to one of the topics 714 to form a topic document cluster of the topic. The topic classification module 702 can use different topic detection methods to classify the documents.
  • the topic classification module 702 can use some clustering techniques (e.g., singular value decomposition (SVD), K-means clustering, etc.) to generate clusters of topic documents from the documents in the document corpus 710.
  • the topic classification module 702 can assign relevance values to each of the documents.
  • the relevance values can be a similarity value of the document and a centroid of each of the topics 714.
  • the topic classification module 702 assigns the documents to a most relevant topic. Based on the document assignments, the topic classification module 702 can generate a topic document cluster for each of the topics 714.
  • the system 700 can include a new words data store 712.
  • the new words data store 712 includes new words identified from the word corpus 204.
  • the new words data store 712 can store the new words identified using the system 200.
  • the topic word processing module 704 can select identified new words stored in the new words data store 712 and/or existing words identified in the document corpus 710 as candidate topic words for each of the topic document clusters and determine if a selected candidate word belongs to a topic. If a selected candidate topic word is determined to belong to a particular topic, then the corresponding topic dictionary 708 can be updated with the candidate topic word.
  • the topic word processing module 704 can select candidate topic words using the new words data store 712 and the topic dictionaries 708.
  • the topic word processing module 704 can identify each of the words in corresponding topic documents as either a new word, a topic word, or a non-topic word.
  • a new word may be a word included in the new word data store 712 that may not be included in any of the topic dictionaries 708;
  • a topic word may be a word that exists in the related topic dictionary;
  • a non-topic word may be an existing word that is not in the related topic dictionary.
  • the topic word processing module 704 can select the new words and the non-topic words as the candidate topic words.
  • the topic word processing module 704 can determine whether a candidate topic word is a topic word of one of the topic dictionaries 708. For example, if the topic word processing module 704 determines that the candidate topic word We, which is an existing word in the document corpus 710, is associated with topic 2, then the topic word processing module 704 can notify the dictionary updater module 706 to store the candidate topic word We in the topic 2 dictionary. Likewise, if the topic word processing module 704 determines that the candidate topic word Wn, which is a new word, is associated with topic n, then the topic word processing module 704 can notify the dictionary updater module 706 to store the candidate topic word Wn in the topic n dictionary.
  • Fig. 7B is a more detailed block diagram of an example implementation of the system 700 of Fig. 7A.
  • the topic classification module 702 includes a clustering module 722, a centroid module 724, and a similarity module 726.
  • the topic classification module 702 can use the modules 722, 724 and 726 to generate topic document clusters in the document corpus 710.
  • the topic word processing module 704 includes a divergence value module 732 and a threshold evaluation module 734.
  • the topic word processing module 704 can identify candidate topic words from the generated topic document clusters in the document corpus 710 and/or from the new words data store 712, and utilize the modules 732 and 734 to determine whether the candidate topic words are topic words.
  • the topic classification module 702 can generate a term frequency/inverse document frequency (TF-IDF) vector for each of the documents in the document corpus 710.
  • TF-IDF term frequency/inverse document frequency
  • the clustering module 722 can determine the TF-IDF unigram frequency m, j for a word w, in a document j as according to the formula:
  • the clustering module 722 can represent the document j by generating a TF-IDF vector X j .
  • the document j can be represented as
  • the clustering module 722 can generate a co-occurrence matrix M using the document vectors nrv
  • the topic classification module 702 can represent each of the topics using, for example, a centroid vector related to the TF-IDF vectors of the documents of the topic.
  • the centroid module 724 can determine topic centroids Yi, Y 2 , ... , Y n to represent the topics 1 , 2, ..., n, respectively.
  • the centroid module 724 can determine the topic centroids by combining the TF-IDF vectors of the documents assigned to a topic.
  • the centroid module 724 can determine a topic centroid Y k for the topic k (T k ) according to the formula:
  • the similarity module 726 can determine similarity distances, e.g., cosine similarity distances, between a document X j and the centroids Y 1 , Y-i, ... Y n .
  • a distance D(X, Y) between a document X and a topic centroid Y can be determined according to the formula:
  • the clustering module 722 can re-cluster the documents into document clusters by assigning the document to a nearest topic to the document. For example, the clustering module 722 compares the distances between the document and the topic centroids and determines a nearest topic centroids.
  • the topic classification module 702 can classify the topic documents iteratively. Initially, the topic classification module 702 can generate n initial clusters and n initial centroids of the clusters. In one example, the clustering module 722 can perform singular value decomposition (SVD) for the co-occurrence matrix M to identify the initial document clusters. For example, each of the documents may be assigned to one of the initial clusters as represented by C°(Xi). In other implementations, the initial clusters can also be generated by randomly assigning the documents to the topics. Based on the initial document clusters, the centroid module 724 can generate the initial centroids by computing:
  • SVD singular value decomposition
  • the similarity module 726 can generate similarity distances D(X, Y) between each of the centroids and each of the documents.
  • the similarity module 726 can determine new similarity distances between the documents and the updated centroids. Then, the determined distances can be used to reassign the documents in the next iteration.
  • the topic classification module 702 can repeatedly perform operations of assigning the documents to the clusters, updating of the topic centroids, and computing the distances between the updated centroids and the documents until the topic document clusters converge.
  • the clustering module 722 can assign the documents to a topic using the distance computed in a previous step (e.g., in iteration n-1).
  • the clustering module 722 can reassign Xi to a cluster C n (Xi) (e.g., an assigned cluster of Xi in the n-th step) using a formula
  • the topic classification module 702 can repeat the operations until positions of the centroids converge. In one example, the topic classification module 702 can determine that the positions of a centroid Yj converges if , where L is a positive real number.
  • documents can be assigned to initial clusters according to human annotations, e.g., annotations or metadata related to topic identifications.
  • a topic keyword list can be used to seed each topic cluster for identification of document and topic clusters. Other clustering techniques can also be used.
  • the topic word processing module 704 selects candidate topic words in the document clusters. For example, the topic word processing module 704 can identify one or more non-topic words and new words from each of the topic document clusters as the candidate topic words.
  • the divergence value module 732 determines word divergence values of a word in a topic.
  • the topic word classification module 704 can determine a topic word divergence value for a selected topic and a topic word. For example, the topic word processing module 704 can select the topic word from the topic dictionary of the selected topic.
  • the divergence value module 732 can determine the topic word divergence value based on topic word distributions in the document corpus 710 and in documents belonging to a topic document cluster of the selected topic.
  • the topic word divergence value can be substantially proportional to a ratio of a probability distribution of the topic word in the topic documents for a topic and a probability distribution of the topic word for all the documents in the document corpus 710.
  • the topic word divergence value Q of a topic word w can be determined by where P d (w) is the probability of the selected topic word w in the documents related to the topic d in the document corpus 710, and P(w) is the probability of the selected topic word in all the documents in the document corpus 710.
  • the threshold evaluation module 734 can determine a topic divergence value based on one or more topic word divergence values. In some implementations, the threshold evaluation module 734 can determine the topic divergence value based on a central tendency of the topic word divergence values. For example, the threshold evaluation module 734 can compute an average value of the topic word divergence values and use the average value as the topic divergence value. Other values based on the topic word divergence values can also be used. For example, the threshold evaluation module 734 can determine the topic divergence value by comparing the determine topic word divergence values and selecting the greatest of the topic word divergence values as the topic divergence value.
  • the divergence value module 732 can determine a candidate word divergence value of a candidate topic word.
  • the candidate topic word for a topic is an existing word or a new word that is not a topic word in a topic dictionary for that topic.
  • the candidate word divergence value can be based on a probability distribution of the candidate topic word in the document corpus 710 and in documents belonging to a topic document cluster of the selected topic.
  • the candidate topic word divergence value R of a candidate topic word w c can be determined by
  • R Et&A. logP ⁇ w ) PM
  • P d (w c ) is the probability of the candidate topic word w c in the documents related to the topic d in the document corpus 710
  • P(w c ) is the probability of the candidate topic word in all the documents of the document corpus 710.
  • the topic word processing module 704 can determine whether a candidate topic word is a topic word based on the topic divergence value and the candidate word divergence value. For example, the candidate divergence value can be compared to the topic divergence value to determine whether the candidate topic word is a topic word. In an implementation, the threshold evaluation module 734 determines that the candidate topic word w c is a topic word if R > S, i.e.:
  • the value of T can be further scaled according to the specificity of a corresponding topic. For example, for very general topics, e.g., a topic of "sports," the value of T can be scaled to a magnitude that is much less than S so that determination of topic words is more inclusive.
  • T can be scaled to a magnitude that is substantially equal to or greater than S so that the determination of topic words is less inclusive.
  • Other scaling techniques can also be used.
  • dictionary updater module 706 updates a topic dictionary 708 for the topic to include the candidate topic word. For example, if the threshold evaluation module 734 determines that the candidate topic word We, which is an existing word, is a topic word of, for example, the topic 2, then the topic word processing module 704 can notify the dictionary updater module 706 to store the candidate topic word We in the topic 2 dictionary.
  • the topic word processing module 704 can notify the dictionary updater module 706 to store the candidate topic word Wn in the topic n dictionary.
  • Fig. 8 is a flow chart of an example process 800 for identifying topic words.
  • the process 800 can be implemented in a system that includes one or more computers implementing the system 700 of Figs. 7A and 7B.
  • the topic word processing module 704 can identify a candidate topic word from the word corpus 204 and use the process 800 to determine whether the candidate topic word is a new topic word.
  • the process 800 determines a topic divergence value (802).
  • the divergence value module 732 can determine a topic divergence value of a topic based on one or more topic word divergence values of a selected topic.
  • the topic divergence value can be substantially proportional to a ratio of a first topic word distribution in a topic document corpus (e.g., a distribution of the topic word in a topic document corpus) to a second topic word distribution in a document corpus (e.g., a distribution of the topic word in the document corpus 710).
  • the topic document corpus can be a corpus of topic documents related to a topic, e.g., a subset of documents in the document corpus 710, and the document corpus can be a corpus of documents that includes the topic documents and other documents, e.g., the document corpus 710.
  • the process 800 determines a candidate topic word divergence value for a candidate topic word (804).
  • the candidate topic word divergence value can be substantially proportional to a ratio of a first distribution of the candidate topic word in the topic document corpus to a second distribution of the candidate topic word in the document corpus.
  • the divergence value module 732 can determine the candidate topic word divergence R by computing
  • the process 800 determines whether the candidate topic word divergence value is greater than the topic divergence value (806). For example, the topic word processing module 704 can compare the candidate word divergence value and the topic divergence value.
  • the process 800 identifies the candidate topic word as a new topic word (808). For example, if the candidate topic word divergence value is greater then the topic divergence value, the topic word processing module 704 can determine that the candidate topic word is a new topic word.
  • the process 800 does not identify the candidate topic word as a new topic word (810). For example, if the candidate topic word divergence value is not greater then the topic divergence value, the topic word processing module 704 can determine that the candidate topic word is not a new topic word.
  • Fig. 9 is a flow chart of an example process 900 for determining a topic word divergence value.
  • the process 900 can be implemented in a system that includes one or more computers implementing the system 700 of Figs. 7A and 7B.
  • the divergence value module 732 can use the process 900 to determine the topic divergence value.
  • the process 900 selects topic words (902).
  • the divergence value module 732 can select one or more topic words from one of the topics 714.
  • each topic word divergence value is substantially proportional to a ratio of a first distribution of each topic word in the topic document corpus to a second distribution of each topic word in the document corpus.
  • the divergence value module 732 can determine the topic word divergence value for each of the selected topic word (w) by computing
  • P(w) where P d (w) is the probability of the selected topic word w in the topic d, and P(w) is the probability of the selected topic word in the document corpus.
  • the process 900 determines the topic divergence value based on a central tendency of the topic word divergence values (906).
  • the divergence value module 732 can determine the topic divergence value by determining an average of the topic word divergence values.
  • Fig. 10 is a flow chart of an example document and word clustering process 1000.
  • the process 1000 can be implemented in a system that includes one or more computers implementing the system 700 of Figs. 7A and 7B.
  • the process 1000 identifies documents in the document corpus related to topics
  • the topic classification module 702 can identify documents in the document corpus 710 to be related to one of the topics 714 based on a distance between a TF-IDF vector of the document and a centroid vector of the topic. In one example, the topic classification module 702 can identify the documents using the iterative process as described with reference to Fig. 7B.
  • the process 1000 generates document clusters related to the topics (1004).
  • the topic classification module 702 can generate a document cluster for each topic by including documents related to the topic in the document cluster. Next, the process 1000 identifies words in each of the document clusters (1006).
  • the topic word processing module 704 can identify topic words, non-topic words, and/or new words in each of the topic document clusters using the topic dictionaries 708 and/or the new words data store 712.
  • the process 1000 selects candidate topic words from the identified words in each of the document clusters (1008). For example, the topic word processing module
  • Fig. 11 is a flow chart of another example process for identifying topic words.
  • the process 1100 can be implemented in a system that includes one or more computers implementing the system 700 of Figs. 7A and 7B.
  • the topic classification module 704 can use some or all of the operations in the process 1100 to identify new topic words.
  • the process 1100 selects a topic dictionary comprising topic words related to a topic (1102).
  • the topic classification module 704 can select one of the topic dictionaries 708 related to a selected topic (e.g., the topic 1 , topic 2, ..., or topic n).
  • the process 1100 determines a topic word divergence value based on a topic word, a document corpus and a topic document corpus (1104).
  • the topic document corpus can comprise the documents belonging to one of the topic document clusters generated by the topic classification module 702.
  • the topic classification module 704 can select a topic word from the selected topic dictionary.
  • the divergence value module 732 can determine the topic word divergence value.
  • the divergence value module 732 can compute the topic word divergence value based on a probability of the selected topic word in the selected topic, and a probability of the selected topic word in the document corpus 710.
  • the process 1100 determines a candidate topic word divergence value for a candidate topic word based on the document corpus and the topic document corpus (1106).
  • the divergence value module 732 can determine the candidate topic word divergence value by selecting a candidate topic word and computing the candidate topic word divergence value based on a probability of the selected candidate topic word in the selected topic, and a probability of the selected candidate topic word in the document corpus 710.
  • the process 1100 determines whether the candidate topic word divergence value is greater than the topic word divergence value (1108). For example, the topic classification module 704 can compare the candidate topic word divergence value and the topic word divergence value.
  • the candidate topic word is determined to be a new topic word (1110). For example, if the topic word processing module 704 determines that the candidate topic word divergence value is greater than the topic word divergence value, the candidate topic word is a new topic word. If the candidate topic word divergence value is not greater than the topic word divergence value, the candidate topic word is not determined to be a new topic word (1112). For example, if the topic word processing module 704 determines that the candidate topic word divergence value is greater than the topic word divergence value, the candidate topic word is not a new topic word.
  • the 700 can identify each word as a candidate topic word, and determine divergence values as described above.
  • the words “T ⁇ &W (ding junhui); “ ⁇ HlP” (this season); “W ⁇ W (world championship); “ ⁇ feW (play off); “?S ⁇ " i ⁇ ” (Van Cundy); and W (FIFA) can be assigned to a sports topic
  • the words “SMIS” (anti dumping of low-priced), "MJrS” (net profit); “ilEiJS ⁇ ” (SEC); “H ⁇ ” (China federal estate committee); “H$cfit” (FED); and “#M»” (Non-tradable shares) can be assigned to a finance topic.
  • Embodiments of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them.
  • Embodiments of the subject matter described in this specification can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a tangible program carrier for execution by, or to control the operation of, data processing apparatus.
  • the tangible program carrier can be a propagated signal or a computer readable medium.
  • the propagated signal is an artificially generated signal, e.g., a machine generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to suitable receiver apparatus for execution by a computer.
  • the computer readable medium can be a machine readable storage device, a machine readable storage substrate, a memory device, a composition of matter effecting a machine readable propagated signal, or a combination of one or more of them.
  • data processing apparatus encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers.
  • the apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
  • a computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and it can be deployed in any form, including as a stand alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
  • a computer program does not necessarily correspond to a file in a file system.
  • a program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code).
  • a computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
  • the processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output.
  • the processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
  • processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer.
  • a processor will receive instructions and data from a read only memory or a random access memory or both.
  • the essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data.
  • a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
  • mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
  • a computer need not have such devices.
  • a computer can be embedded in another device, e.g., a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, to name just a few.
  • Computer readable media suitable for storing computer program instructions and data include all forms of non volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD ROM disks.
  • the processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
  • embodiments of the subject matter described in this specification can be implemented on a computer having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer.
  • a display device e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • keyboard and a pointing device e.g., a mouse or a trackball
  • Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
  • Embodiments of the subject matter described in this specification can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the subject matter described is this specification, or any combination of one or more such back end, middleware, or front end components.
  • the components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network ("LAN”) and a wide area network (“WAN”), e.g., the Internet.
  • the computing system can include clients and servers.
  • a client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client server relationship to each other.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Machine Translation (AREA)
PCT/CN2008/072128 2007-08-23 2008-08-25 Domain dictionary creation WO2009026850A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200880112723A CN101836205A (zh) 2007-08-23 2008-08-25 域词典创建
JP2010521289A JP5379138B2 (ja) 2007-08-23 2008-08-25 領域辞書の作成

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US11/844,153 US7917355B2 (en) 2007-08-23 2007-08-23 Word detection
US11/844,067 2007-08-23
US11/844,067 US7983902B2 (en) 2007-08-23 2007-08-23 Domain dictionary creation by detection of new topic words using divergence value comparison
US11/844,153 2007-08-23

Publications (1)

Publication Number Publication Date
WO2009026850A1 true WO2009026850A1 (en) 2009-03-05

Family

ID=40386710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072128 WO2009026850A1 (en) 2007-08-23 2008-08-25 Domain dictionary creation

Country Status (3)

Country Link
JP (1) JP5379138B2 (ru)
CN (1) CN101836205A (ru)
WO (1) WO2009026850A1 (ru)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011120211A1 (en) 2010-03-29 2011-10-06 Nokia Corporation Method and apparatus for seeded user interest modeling
CN102236639A (zh) * 2010-04-28 2011-11-09 三星电子株式会社 更新语言模型的系统和方法
CN105956359A (zh) * 2016-04-15 2016-09-21 陈杰 一种用于异构系统的药品项目名称对照转译方法
CN106682128A (zh) * 2016-12-13 2017-05-17 成都数联铭品科技有限公司 多领域词典自动构建方法
CN115858787A (zh) * 2022-12-12 2023-03-28 交通运输部公路科学研究所 一种基于公路运输中问题诉求信息的热点提取和挖掘方法
WO2023065642A1 (zh) * 2021-10-22 2023-04-27 平安科技(深圳)有限公司 语料筛选方法、意图识别模型优化方法、设备及存储介质
CN116911321A (zh) * 2023-06-21 2023-10-20 三峡高科信息技术有限责任公司 一种前端自动翻译字典值的方法及组件

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411563B (zh) * 2010-09-26 2015-06-17 阿里巴巴集团控股有限公司 一种识别目标词的方法、装置及系统
US9069798B2 (en) * 2012-05-24 2015-06-30 Mitsubishi Electric Research Laboratories, Inc. Method of text classification using discriminative topic transformation
CN104239285A (zh) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 文章新章节的检测方法及装置
CN104345899B (zh) * 2013-08-08 2018-01-19 阿里巴巴集团控股有限公司 用于输入法的字段转换方法及客户端
CN103970730A (zh) * 2014-04-29 2014-08-06 河海大学 一种从单个中文文本中提取多主题词的方法
AU2016250552A1 (en) * 2015-04-21 2017-11-16 Lexisnexis, A Division Of Reed Elsevier Inc. Systems and methods for generating concepts from a document corpus
US20170229124A1 (en) * 2016-02-05 2017-08-10 Google Inc. Re-recognizing speech with external data sources
CN107704102B (zh) * 2017-10-09 2021-08-03 北京新美互通科技有限公司 一种文本输入方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167368A (en) * 1998-08-14 2000-12-26 The Trustees Of Columbia University In The City Of New York Method and system for indentifying significant topics of a document
US6651058B1 (en) * 1999-11-15 2003-11-18 International Business Machines Corporation System and method of automatic discovery of terms in a document that are relevant to a given target topic
US20040225667A1 (en) * 2003-03-12 2004-11-11 Canon Kabushiki Kaisha Apparatus for and method of summarising text
US20050278613A1 (en) * 2004-06-09 2005-12-15 Nec Corporation Topic analyzing method and apparatus and program therefor
US20070143101A1 (en) * 2005-12-20 2007-06-21 Xerox Corporation Class description generation for clustering and categorization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2883153B2 (ja) * 1990-04-02 1999-04-19 株式会社リコー キーワード抽出装置
JP5259919B2 (ja) * 2005-07-21 2013-08-07 ダイキン工業株式会社 軸流ファン

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167368A (en) * 1998-08-14 2000-12-26 The Trustees Of Columbia University In The City Of New York Method and system for indentifying significant topics of a document
US6651058B1 (en) * 1999-11-15 2003-11-18 International Business Machines Corporation System and method of automatic discovery of terms in a document that are relevant to a given target topic
US20040225667A1 (en) * 2003-03-12 2004-11-11 Canon Kabushiki Kaisha Apparatus for and method of summarising text
US20050278613A1 (en) * 2004-06-09 2005-12-15 Nec Corporation Topic analyzing method and apparatus and program therefor
US20070143101A1 (en) * 2005-12-20 2007-06-21 Xerox Corporation Class description generation for clustering and categorization

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011120211A1 (en) 2010-03-29 2011-10-06 Nokia Corporation Method and apparatus for seeded user interest modeling
EP2553603A1 (en) * 2010-03-29 2013-02-06 Nokia Corp. Method and apparatus for seeded user interest modeling
EP2553603A4 (en) * 2010-03-29 2014-03-05 Nokia Corp METHOD AND APPARATUS FOR MODELING IMPLANT USER INTEREST
US9665648B2 (en) 2010-03-29 2017-05-30 Nokia Technologies Oy Method and apparatus for a user interest topology based on seeded user interest modeling
CN102236639A (zh) * 2010-04-28 2011-11-09 三星电子株式会社 更新语言模型的系统和方法
CN105956359A (zh) * 2016-04-15 2016-09-21 陈杰 一种用于异构系统的药品项目名称对照转译方法
CN106682128A (zh) * 2016-12-13 2017-05-17 成都数联铭品科技有限公司 多领域词典自动构建方法
WO2023065642A1 (zh) * 2021-10-22 2023-04-27 平安科技(深圳)有限公司 语料筛选方法、意图识别模型优化方法、设备及存储介质
CN115858787A (zh) * 2022-12-12 2023-03-28 交通运输部公路科学研究所 一种基于公路运输中问题诉求信息的热点提取和挖掘方法
CN116911321A (zh) * 2023-06-21 2023-10-20 三峡高科信息技术有限责任公司 一种前端自动翻译字典值的方法及组件
CN116911321B (zh) * 2023-06-21 2024-05-14 三峡高科信息技术有限责任公司 一种前端自动翻译字典值的方法及组件

Also Published As

Publication number Publication date
JP2010537286A (ja) 2010-12-02
JP5379138B2 (ja) 2013-12-25
CN101836205A (zh) 2010-09-15

Similar Documents

Publication Publication Date Title
US7983902B2 (en) Domain dictionary creation by detection of new topic words using divergence value comparison
US7917355B2 (en) Word detection
JP5379138B2 (ja) 領域辞書の作成
KR101465770B1 (ko) 단어 확률 결정
CN108304375B (zh) 一种信息识别方法及其设备、存储介质、终端
US20180341871A1 (en) Utilizing deep learning with an information retrieval mechanism to provide question answering in restricted domains
US8073877B2 (en) Scalable semi-structured named entity detection
US8010344B2 (en) Dictionary word and phrase determination
US20130060769A1 (en) System and method for identifying social media interactions
US20080312911A1 (en) Dictionary word and phrase determination
CN111324771B (zh) 视频标签的确定方法、装置、电子设备及存储介质
EP2867802A1 (en) Learning-based processing of natural language questions
CN104484380A (zh) 个性化搜索方法及装置
Golpar-Rabooki et al. Feature extraction in opinion mining through Persian reviews
CN111259262A (zh) 一种信息检索方法、装置、设备及介质
CN116685966A (zh) 调整查询生成模式
Zheng et al. Multi-dimensional sentiment analysis for large-scale E-commerce reviews
Celikyilmaz et al. An empirical investigation of word class-based features for natural language understanding
CN112445959A (zh) 检索方法、检索装置、计算机可读介质及电子设备
CN110162617B (zh) 提取摘要信息的方法、装置、语言处理引擎和介质
CN112949287A (zh) 热词挖掘方法、系统、计算机设备和存储介质
Minocha et al. Generating domain specific sentiment lexicons using the web directory
Krug et al. Detecting character references in literary novels using a two stage contextual deep learning approach
Pantel et al. Smart selection
Losee Is 1 noun worth 2 adjectives? Measuring relative feature utility

Legal Events

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

Ref document number: 200880112723.3

Country of ref document: CN

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

Ref document number: 08784118

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2010521289

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08784118

Country of ref document: EP

Kind code of ref document: A1