BUSINES S LISTING SEARCH
Background
[01] The description relates to information management.
[02] When a user wishes to find the phone number of a specific business, the user can employ an information retrieval system (for example, the user can dial 411 to speak with an operator). The information retrieval system (for example, the operator) may ask the caller the name of the business and the city and state where the business is located. A search is then performed based on the user input and a reply is forwarded to the user with the requested phone number. An automated 411 directory assistance system can have an automated voice response system that interacts with the caller in a way that mimics the manner in which a human operator would interact with a caller. A conventional automated system includes a speech recognition engine that recognizes the caller's speech input. The automated system includes a search engine that searches a database for the phone number of the specific business requested by the caller. If the speech recognition engine cannot recognize the caller's speech input, the recognition engine may ask the caller to repeat the input, ask the caller disambiguating questions, or transfer the call to a human operator.
Summary
[03] In one aspect, in general, a voice-enabled business directory search system is provided that includes a voice-enabled user interface that queries the caller for type of business or category information in addition to geographical information and an identifier of the specific business. A voice recognition engine recognizes the identifier of the specific business based on the business type and the geographical information. A search engine searches a database to find information (for example, phone number) about the specific business.
[04] The system may establish business types based on user input. The user input can be information provided by users in past calls or on-line search activities of users, such as keyword searches and click-through. For example, the system may establish a new business type if a number of users typed in a certain keyword or phrase, and later clicked on specific businesses, indicating that the users associated the specific businesses with the keyword or phrase.
[05] In another aspect, in general, a user is prompted to provide a type of business and an identifier of a specific business, and a speech input having information about the type of business and the identifier is received from the user. Using a speech recognition module, the identifier is recognized based on the type of business.
[06] Implementations may include one or more of the following features.
Prompting the user to provide information can include prompting the user to provide a geographical location. Recognizing the identifier can include using the speech recognition module to recognize the identifier of the specific business based on the geographical location and the type of business. Prompting the user for an identifier can include prompting the user for a name of the specific business. After recognizing the identifier of the specific business, information about the specific business can be provided to the user. Providing information about the specific business can include providing a phone number of the specific business. Providing information about the specific business can include providing a list of business names based on the recognition of the identifier of the specific business. Recognizing the identifier of the specific business can include biasing the speech recognition module towards one or more language models associated with the type of business. Prompting the user for the type of business can occur before prompting the user for the identifier of the specific business. Prompting a user to provide information can include, using a single prompt, asking the user for the type of business and the identifier of the specific business.
- ? -
[07] In another aspect, in general, a user is asked for a geographical location, a category, and a name of an entity; and a speech input is received from the user having information about the geographical location, the category, and the name of the entity. Using a speech recognition module, the geographical location and the category are recognized; and using the speech recognition module, the name is recognized based on the geographical location and the category.
[08] Implementations may include one or more of the following features. The entity can include a profit organization, a non-profit organization, or a person. Recognizing the name can include using one or more speech recognition language models associated with the geographical location and the category.
[09] In another aspect, in general, using a speech recognition module, a name of a specific business in a speech utterance of a user is recognized based on a geographical location and a type of business provided by the user.
[010] Implementations may include one or more of the following features. The recognizing can include using one or more language models associated with the type of business.
[011] In another aspect, in general, a voice-enabled user interface is provided to output a voice prompt to request a user to provide a type of business and an identifier of a specific business, and receive from the user a speech input having information about the type of business and the identifier of the specific business, and a speech recognition engine is provided to recognize the identifier of the specific business based on the information about the type of business.
[012] Implementations may include one or more of the following features. The speech recognition engine can bias towards speech recognition language models associated with the type of business provided by the user. The voice prompt can request the user to provide a geographical location. The speech recognition engine can bias towards speech recognition language models associated with the type of business and the geographical location provided by the user. The apparatus can include a storage medium for storing a database includes speech recognition language models, each language model
for recognizing specific businesses associated with one or more particular types of businesses. The apparatus can include a storage medium for storing a hierarchical tree of nodes, each node associated with one or more particular types of businesses. The apparatus can include a storage medium for storing a script having instructions for controlling an interaction between the voice-enabled user interface and the user. The apparatus can include a search engine to search for information related to the specific business based on the identifier of the specific business recognized by the speech recognition engine.
[013] In another aspect, in general, a voice-enabled search system is provided, which includes a voice-enabled user interface that outputs a voice prompt to request a user to provide a geographical location, a category, and a name of an entity, and receives from the user a speech input having information about the geographical location, the category, and the name of the entity. The search system also includes a speech recognition engine to recognize the name of the entity based on the geographical location and the category.
[014] Implementations may include one or more of the following features. The search system includes a storage medium for storing a database including speech recognition language models, each language model for recognizing entities associated with one or more particular categories.
[015] In another aspect, in general, a speech recognition module is provided to recognize an identifier of a specific business in a speech utterance of a user based on a geographical location and a type of business provided by the user.
[016] Implementations may include one or more of the following features. The apparatus includes a database accessible to the speech recognition module, the database including speech recognition language models, each language model associated with one or more particular types of businesses.
[017] In another aspect, in general, a voice-enabled business listing search system includes a speech user interface for prompting a user to provide a type of business and an identifier of a specific business and receiving a speech input from the user, and means for recognizing the identifier of the specific business in the speech input based on the type of business.
[018] Implementations may include one or more of the following features. The user interface can prompt the user to provide a geographical location of the specific business. The recognizing means can recognize the identifier of the specific business based on both the geographical location and the type of business.
[019] In another aspect, in general, an article includes a storage medium having stored thereon instructions that when executed by a machine results in the following: prompting a user to provide a type of business and an identifier of a specific business, receiving from the user a speech input having information about the type of business and the identifier, and recognizing the identifier based on the type of business.
[020] In another aspect, in general, category-business pairs are received, each category-business pair including a business category and a specific business; and a data structure is established having nodes based on the category-business pairs, each node being associated with one or more business categories and a speech recognition language model for recognizing specific businesses associated with the one or more businesses categories.
[021] Implementations may include one or more of the following features. Establishing the data structure can include establishing a hierarchical tree of nodes. Establishing the hierarchical tree can include establishing a child node of a parent node, and associating with the child node a subset of business categories that are associated with the parent node. A first speech recognition language model can be associated with the parent node, and a second speech recognition language model can be associated with the child node, the second language model being more accurate in recognizing the specific businesses associated with the subset of business categories than the first language model. A language model can be constructed from a combination of other language models. Recognizing specific businesses can include recognizing the names of the specific businesses.
[022] Establishing the data structure can include assigning business categories to particular nodes based on similarities between the business categories being assigned and the business categories already assigned to the nodes. Establishing the data structure can include establishing new nodes based on entropy values of existing nodes, the entropy of a node indicating a degree of variation of at least one of (a) the one or more business categories associated with the node and (b) the one or more specific businesses associated with the node. Establishing the data structure can include adding new nodes until all the nodes have entropy values below a predetermined threshold. Receiving information can include receiving information from a call log. Call data about usage of a business listing service in which one or more users asked for information about specific businesses can be logged. Receiving information can include receiving information from a search log. Information about keyword searches performed by one or more users and subsequent selection of search results by the one or more users can be logged. Additional category- business pairs are recognized using the speech recognition module and the data structure. The data structure is updated using the additional category-business pairs.
[023] In another aspect, in general, information about associations of specific businesses with categories from keyword searches is collected; and speech recognition language models are established based on the information, each language model being associated with one or more categories, each language model for recognizing specific businesses associated with the one or more categories. Specific businesses in a speech utterances are recognized using the language models.
[024] Implementations may include one or more of the following features. A hierarchical tree having nodes can be established, each node being associated with one or more of the categories and one of the speech recognition language models. The keyword searches can include at least one of web searches, intranet searches, and desktop searches.
[025] In another aspect, in general, a speech input having information about a business category and an identifier of a specific business is received; and the type of business in the speech input is mapped to nodes in a data structure, each node being associated with one or more business categories and a speech recognition language model. The identifier of the specific business is recognized using one or more language models determined based on the mapping.
[026] Implementations may include one or more of the following features. The mapping includes, for each of some of the nodes, determining a similarity score representing a similarity between the business category in the speech input and the one or
more business categories associated with the node. Weights for the language models are generated based on the similarity scores. A particular node having a highest similarity to the business category in the speech input is found, and a first language model associated with the particular node and a second language model associated with a parent node of the particular node are used to recognize the identifier.
[027] In another aspect, in general, a category clustering module is provided to receive category-business pairs and update a data structure having nodes using the received category-business pairs, each category-business pair including a business category and a specific business, each node in the data structure being associated with one or more business categories and a speech recognition language model for use in recognizing identifiers of specific businesses associated with the one or more types of businesses.
[028] Implementations may include one or more of the following features. At least one of a call log and a search log can be used to provide information about the category- business pairs. The data structure can include a hierarchical tree of nodes. A language model can be constructed from a combination of other language models. The category clustering module can establish a child node branching off from a parent node and associate with the child node a subset of business categories that are associated with the parent node. The apparatus includes a language model updating module to associate a first speech recognition language model with the child node, the first language model being more accurate in recognizing the identifiers of specific businesses associated with the child node than a second language model associated with the parent node. The category clustering module can assign business categories to particular nodes based on similarities between the business categories being assigned and the business categories already assigned to the nodes. The category clustering module can establish new nodes based on entropy values of existing nodes, the entropy of a node indicating a degree of variation of at least one of (a) the one or more business categories associated with the node and (b) the one or more specific businesses associated with the node.
[029] In another aspect, in general, a voice-enabled user interface receives a speech input having information about a business category and an identifier of a specific business; a mapping module compares the business category to a plurality of nodes of a data structure, each node being associated with one or more business categories and a speech recognition language model; and a speech recognition module recognizes the
identifier of the specific business using one or more language models determined based on the mapping.
[030] Implementations may include one or more of the following features. The mapping module can determine, for each of some of the nodes, a similarity score between the business category in the speech input and the one or more business categories associated with the node. The mapping module can generate weights for the one or more language models based on the similarity scores. The mapping module can find a particular node having a highest similarity to the business category in the speech input, and use a first language model associated with the particular node and a second language model associated with a parent node of the particular node to recognize the identifier.
[031] In another aspect, in general, means for receiving category-business pairs is provided, each category-business pair including a business category and a specific business. Means for establishing a data structure having nodes based on the category- business pairs is provided, each node being associated with one or more particular business categories and a speech recognition language model for recognizing specific businesses associated with the one or more particular businesses categories.
[032] Implementations may include one or more of the following features. Means for updating the data structure based on new category-business pairs is provided.
[033] In another aspect, in general, means for mapping information about a business category to a plurality of nodes of a hierarchical tree and generating weight values for the nodes is provided, each node being associated with one or more business categories and a language model for recognizing specific businesses associated with the one or more business categories. A speech recognition engine recognizes a specific business in a speech input using one or more language models determined based on the mapping.
[034] Implementations may include one or more of the following features. The mapping means can determine weight values for the nodes based on the mapping, and the one or more language models can be weighted by the weight values.
[035] In another aspect, in general, a subset of speech recognition language models is selected from a larger set of speech recognition language models based on a type of business provided by a user; weight values are identified for the selected language models; and an identifier of a specific business in a speech input is recognized from the user based on the selected language models and the weight values.
[036] Implementations may include one or more of the following features. Each language model can be associated with a set of one or more types of businesses. Selecting a subset of speech recognition language models can include selecting a language model that is associated with a set of one or more types of businesses that are the most similar to the type of business provided by the user. Each of some of the language models can be associated with a geographical location, and selecting a subset of language models can be based on a geographical location provided by the user. Selecting a subset of speech recognition language models can include selecting a generic language model that is not associated with a particular geographical location and a location- specific language model that is associated with a particular geographical location. The generic language model and the location-specific language model can both be associated with the same one or more types of businesses. Identifying weight values can include retrieving pre-computed weight values. One or more machines can be identified for recognizing the identifier of the specific business, each of the machines being associated with one or more language models. A hierarchical tree of nodes can be evaluated, each node being associated with one of the speech recognition language models.
[037] In another aspect, in general, speech recognition language models are established, each of some language models being associated with a geographical location and a set of types of businesses, each set including at least one type of business, each type of business being associated with one or more specific businesses; and one or more of the speech recognition language models are used to recognize an identifier of a specific business based on the geographical location and the type of business. A language model associated with a geographical location is biased towards recognizing specific businesses located in the geographical location relative to another language model associated with another geographical location, and a language model associated with a set of types of businesses is biased towards recognizing specific businesses associated with the set of types of businesses relative to another language model associated with another set of types of businesses.
[038] Implementations may include one or more of the following features. A speech input can be received in which the speech input has information about a geographical location, a type of business, and a specific business. One or more speech recognition language models can be selected for use in recognizing the specific business based on similarities between the types of businesses associated with the language models and the type of business in the speech input. The selection of the one or more language models can also be based on a similarity or proximity between the geographical
location associated with the language model and the geographical location in the speech input. The language models can include higher-level language models each being constructed from a combination of lower-level language models. Values used in the combinations can be stored to enable subsequent recognition of identifiers of specific businesses to use the stored values to construct the higher-level language models from the lower- level language models without re-computing the values. Some higher-level language models can each be constructed from a combination of at least two lower-level language models that are associated with different geographical locations. Some higher- level language models can each be constructed from a combination of at least two lower- level language models that are associated with different sets of types of businesses.
[039] In another aspect, in general, one or more storage devices store speech recognition language models; a mapping module selects a subset of the language models based on a type of business provided by a user and identify weight values for the selected language models; and a speech recognition engine recognizes an identifier of a specific business in a speech input provided by the user based on the selected language models and the weight values.
[040] Implementations may include one or more of the following features. Each language model can be associated with a set of types of businesses, each set including at least one type of business. The mapping module can select a language model that is associated with a set of types of businesses that are the most similar to the type of business provided by the user. Each of some language models can be associated with a geographical location, and the mapping module can select the subset of language models based on a geographical location provided by the user. Identifying weight values can include at least one of computing the weight values and retrieving pre-computed weight values. The speech recognition engine can include a distributed speech recognition engine running on a plurality of machines, each component being associated with one or more language models and the weight values.
[041] In another aspect, in general, a storage medium stores speech recognition language models, each language model being associated with a geographical location and a set of types of businesses, each set including at least one type of business, each type of business being associated with one or more specific businesses; and a speech recognition engine uses one or more of the speech recognition language models to recognize an identifier of a specific business based on the geographical location and the type of business. A language model associated with a geographical location is biased towards
recognizing specific businesses located in the geographical location relative to another language model associated with another geographical location, and a language model associated with a set of types of businesses is biased towards recognizing specific businesses associated with the set of types of businesses relative to another language model associated with another set of types of businesses.
[042] In another aspect, in general, an apparatus includes means for selecting a subset of speech recognition language models from a larger set of speech recognition language models based on a type of business provided by a user; means for identifying weight values for the selected language models; and means for recognizing an identifier of a specific business in a speech input from the user based on the selected language models and the weight values.
[043] These and other aspects and features, and combinations of them, may be expressed as methods, apparatus, systems, means for performing functions, program products, and in other ways.
[044] Advantages can include one or more of the following. The system can recognize business types that are more intuitive for users because the business types include those that are established based on user input. The speech recognition engine can recognize the caller's speech input more accurately by reducing the number of recognition model candidates based on the business type. Speech recognition language models, each for recognizing a narrower range of specific businesses, can be combined to recognize a wider range of specific businesses. When a hierarchy of business categories are established, speech recognition language models for higher-level categories can be constructed from a combination of lower-level language models. This allows the system to store a smaller number of speech recognition language models, as compared to a system that stores a separate language model for every category.
Description of Drawings
[045] FIG. 1 is a block diagram of an exemplary voice-enabled business listing search system.
[046] FIG. 2 is a flow diagram of an exemplary process for providing voice-enabled business listing search service.
[047] FIG. 3 is a block diagram of an exemplary voice-enabled business listing search system that can establish a hierarchical tree of clustered category nodes based on user input.
[048] FIGS. 4A to 4C are diagrams of information associated with a node of the hierarchical tree.
[049] FIGS. 5A to 5C are diagrams showing all or portions of the hierarchical tree during construction of the tree.
[050] FIG. 6 is a flow diagram of an exemplary process for establishing the hierarchical tree.
[051] FIG. 7 is a flow diagram of an exemplary process for mapping the hierarchical tree.
[052] FIG. 8 is a schematic diagram of an exemplary computing system.
Description
1. System Overview
[053] Referring to FIG. 1, an exemplary voice-enabled business listing search system 100 includes a voice-enabled user interface 102 that interacts with a caller 104. The caller 104 may use a terminal 114 (for example, a telephone or a computer) to connect to the system 100 through a network 116 (for example, a public switched telephone network (PSTN) or a voice over Internet Protocol (VoIP) network). The user interface 102 receives queries from the caller 104 about a specific business and responds with information related to the specific business.
[054] The voice-enabled user interface 102 may use scripts that specify the interactions between the system 100 and the caller 104. The user interface 102 may
include a text-to-speech module (not shown) that converts text sentences into speech outputs. For example, the scripts may include instructions that instruct the user interface 102 to announce a greeting message to the caller 104 (for example, "nation wide business directory"), prompt the caller 104 for a geographical location of a specific business (for example, "city and state, please"), prompt the caller 104 for a type of business or category of the specific business (for example, "type of business or category, please"), and prompt the caller 104 for an identifier or name of the specific business (for example, "name of the business, please"). By asking the caller 104 for the type of business in addition to the geographical location of the specific business, the system 100 can more accurately deliver relevant information to the user.
[055] For example, a large city such as New York city may have thousands of businesses. It may be difficult to recognize a specific business based on a speech utterance from an arbitrary caller 104, in which the speech utterance may represent any one of the thousands of businesses, some having the same name. By asking the caller 104 for the type of business, the system 100 can bias the speech recognition towards language model(s) or grammar units related to the type of business so the number of candidates of business names that may match the caller's speech utterance can be reduced. This allows the system 100 to recognize the speech utterance for the business name more accurately in a given amount of time using a given amount of computing resource.
[056] In this description, the terms "type of business," "business type," and "business category" have similar meanings and are used interchangeably.
[057] The system 100 includes a speech recognition engine 104 for recognizing the speech utterances of the caller 104 using language models in a database 106. The speech recognition engine 104 may use a pre -processor (not shown) to filter noise and detect the start and end of words or phonemes in the speech utterance. The speech recognition engine 104 and the language models can be based on various types of speech recognition techniques, such as Hidden Markov Models or neural networks.
[058] The form of the language models can include, for example, N-grams, phrase- list grammars, and hybrid grammars. In N-grams, the probability of any word in the vocabulary is estimated by counting the occurrences of that word in the context of the last N words. In phrase-list grammars, the probability of a complete phrase (for example, each full business name) is estimated independently by counting the occurrences of that full phrase. In hybrid grammars, both n-grams and phrase-list grammars are used.
[059] The language models in the database 106 can be organized in different groups. For example, a first, a second, a third, and a fourth group of language models can be used to recognize the name of a city, the name of a state, the name of a business type, and the name of a specific business, respectively.
[060] There can be many variations in the names of specific businesses, so the number of language models used for recognizing the names of specific businesses can be large. To help find the appropriate language model or models to use during speech recognition, the system 100 builds hierarchical trees 150 of clustered category nodes in which each node is associated with a language model. Each node includes information about one or more names of specific businesses and their corresponding types of businesses. In one implementation, the language model for a particular node includes information useful in recognizing the business names associated with the particular node.
[061] In one implementation, the hierarchical tree 150 includes a root node 152 that is associated with a language model used to recognize names of specific businesses without bias towards any particular type of business or category. Each node below the root node is associated with a subset of all the types of businesses and specific businesses. Each language model associated with a node below the root node can be biased toward recognizing a subset of types of businesses.
[062] Within the hierarchical tree 150, each child node (for example, 156) includes a subset of the specific businesses and the types of businesses in a parent node (for example, 154) of the child node. Each language model associated with the child node can be biased towards a narrower range of types of businesses than a language model associated with a parent node. Thus, for example, a parent node may be associated with
all restaurants, including Italian and Japanese restaurants. A first child node may be associated with Italian restaurants, and a second child node may be associated with Japanese restaurants. A first language model associated with the parent node can be used to recognize all the restaurants, a second language model associated with the first child node can be used to recognize all Italian restaurants, and a third language model associated with the second child node can be used to recognize all Japanese restaurants.
[063] A language model associated with a child node is generally more accurate in recognizing names of specific businesses associated with particular types of businesses than language models associated with a parent node. In the example above, the second and third language models are generally more accurate in recognizing names of Italian and Japanese restaurants, respectively, than the first language model.
[064] The system 100 builds two types of hierarchical trees 150. A first type of tree 150 is built based on information about all specific businesses across all the geographical locations, for example, the entire United States, that can be recognized by the system 100. The first type of tree 150 will be referred to as a generic hierarchical tree. The language models associated with the nodes of the generic tree are referred to as generic language models, i.e., language models that can be used to recognize specific businesses located in any geographical location.
[065] A second type of tree 150 is built based on information about all specific businesses within a geographical region, for example, New York city. The second type of tree 150 will be referred to as location-specific hierarchical trees. The language models associated with the nodes of a location specific tree will be referred to as location-specific language models, i.e., language models that can be used to recognize specific businesses located within a specific geographical location.
[066] When the caller 104 interacts with the user interface 102, the caller 104 may not be entirely accurate and may, for example, provide a geographical location of a specific business that is imprecise (for example, in fact the specific business is situated at another nearby geographical location). Therefore, it is useful to use both generic and location-specific language models in recognizing the name of a specific business. The
speech recognition engine 104 may assign different weights to the generic and location- specific language models, for example, giving more weight to the location-specific language models than the generic language models. For example, when the caller 104 asks for information about an Italian restaurant in San Jose, the final language model used for the speech recognition may be a combination of a generic language model for recognizing Italian restaurants, and (for example, four) location-specific language models for recognizing Italian restaurants in the identified city (for example, San Jose) and other nearby (for example, adjacent) locations (for example, Palo Alto, Sunnyvale, and Mountain View, respectively).
[067] The weights assigned to the various location-specific language models can be determined using a number of ways. For example, language models for recognizing businesses in a geographical location closer to the particular geographical location provided by the caller 104 may be given higher weights than language models associated with geographical locations that are farther away.
[068] The system 100 includes a mapping module 108 for evaluating the hierarchical tree 150 to determine which node is more relevant or closer to the type of business provided by the caller 104. The mapping module 108 may use a similarity measure, described in more detail below, in evaluating the tree 150. For example, if the caller 104 provides "Italian restaurant" as the type of business, the mapping module 108 may determine that the node associated with the more specific "Italian restaurants" type of business may be more relevant than the node associated with the more generic "restaurants" type of business.
[069] After the mapping module 108 determines that a particular node is more relevant, the speech recognition engine 104 uses the language model associated with the particular node to recognize the name of the specific business in the speech input from the caller 104. The caller 104 may not be precise or accurate in describing the type of business when interacting with the user interface 102. For example, the caller 104 may say "hardware store" as the type of business when in fact he/she is looking for a locksmith. Therefore, it is useful to use a combination of the language model associated with the particular node (which is associated with a narrower range of types of
businesses) and language model(s) associated with the ancestor node(s) (which are associated with a wider range of types of businesses) in recognizing the name of the specific business. The language model associated with the particular node is more accurate in recognizing names of specific businesses associated with the type of business provided by the caller 104, while the language model(s) associated with ancestor node(s) provide fall back positions in case the specific business requested by the caller 104 does not fall under the type of business provided by the caller 104.
[070] In some examples, the number of language models associated with ancestor nodes that are used in the combination may be set to a predefined number. In some examples, language models associated with all the ancestor nodes up to the root node may be used. In the example above, the nodes associated with "hardware store" and "locksmith" types of businesses will have at least one common ancestor node - the root node 152, so using ancestor nodes all the way up to the root node 152 can provide a fall back position to all other types of businesses.
[071] The different language models used in the combination can be given different weights. The weight values can be determined using a number of ways. For example, the language model associated with the particular node may be given the highest weight, and language models associated with ancestor nodes (for example, grandparent) that are farther away may be given smaller weights than language models associated with ancestor nodes (for example, parent) that are closer to the particular node. The weight values can be determined based on the similarity measure used by the mapping module 108 in determining which node is more relevant or closer to the type of business provided by the caller 104.
[072] After the speech recognition engine 104 recognizes the speech utterance of the caller 104 to determine the specific business name, a search engine 110 searches a database 112 of business listings to find information about the specific business. The information can be, for example, the telephone number of the specific business.
[073] When searching the database 112, the search engine 110 may use information about the geographical location, the type of business, and the specific business name
recognized by the speech recognition engine 104 to find one or more matches in the database 112. In some cases, the caller's speech utterance may be imprecise, or the recognition of the specific business in the speech utterance may be imprecise. For example, the speech recognition engine 104 may identify one specific business name that matches the caller's speech utterance, but there may be multiple business listings in the database 112 that are equally similar to the recognized business name. In some cases, the speech recognition engine 104 may return multiple candidates representing potential matches for the specific business in the speech utterance. Each candidate from the speech recognition engine 104 may potentially match multiple business listings in the database 112. By using information about the type of business in addition to the geographical location and the recognized specific business, the search engine 110 can more accurately identify the specific business listing in the database 112, or narrow down the number of candidates of business listings from the database 112 to be presented to the caller 104.
[074] The following describes an exemplary method for searching the database 112 using recognition results from the speech recognition engine 104. The search engine 110 may perform two searches. The first search is based on information about the geographical location and the type of business or category. The second search is based on the geographical location and the specific business. The first search returns all business listings in the type of business within the geographical location. The second search returns all business listings that match the recognized specific businesses within the geographical location. Both searches may each return a list of possible business names with associated likelihood weights or search scores (based on features such as the exactness of the word match, the estimated importance of each word, and the expected relevance of the business, etc.). The two lists are merged so that businesses that show up in both lists are reduced to one result with a new score that is the sum of the scores from each list. Information (for example, phone number) about the top, for example, three, candidates from the combined list are returned to the caller 104.
[075] The search engine 110 sends the information to the user interface 102, which announces the information to the caller 104. The user interface 102 may announce
options for the caller 104 to choose from, such as announcing the telephone number of the specific business and asking the caller 104 whether he/she wishes to be connected directly to the specific business or receive more details (for example, address) about the specific business. The user interface 102 may also provide an option to send a short text message including information about the specific business to the caller 104.
[076] In some cases, the speech recognition engine 104 may determine that more than one specific business matches the caller's speech utterance with probabilities above a predetermined threshold. The speech recognition engine 104 may provide a list of specific business names to the search engine 110, which searches information about the specific businesses. The search engine 110 sends the information to the user interface 102, which announces a list of business names and prompts the user to select from one of them. In one implementation, upon receiving a speech utterance (or, for example, a dual- tone multi-frequency (DTMF) signal) indicating the caller's selection, the user interface 102 announces the phone number of the selected specific business and asks the caller 104 whether he/she wishes to be connected directly to the business, hear more details about the specific business, or receive a short text message including information about the specific business.
[077] FIG. 2 is a flow diagram of an exemplary process 120 for receiving a query about a specific business from a caller 104 and providing information about the specific business to the caller 104. A call is received 122 from the caller 104. The caller 104 is prompted 124 for the geographical location, such as the city and state, of the specific business. A speech utterance representing the city and state is received 126 from the caller 104. The city and state are recognized 128. The user is prompted 130 for the business type (or category) of the specific business. A speech utterance representing the business type is received 132 from the caller 104. The business type is recognized 134. The user is prompted 136 for the name of the specific business. A speech utterance representing the name of the specific business is received 138 from the caller 104.
[078] The specific business name is recognized 140 based on speech recognition language models biased, for example, toward the city, state, and type of business. Other bias examples are possible including other combinations of factors (for example, bias
based on state and type of business only). A search is conducted 142 to find data (for example, the phone number(s)) corresponding to the recognized name(s) of specific business(es). If only one business name is recognized 144, the data (for example, phone number) of the specific business is announced 146, and the caller 104 is provided with the option to connect directly to the specific business. If more than one business name are recognized, a list of names of businesses is announced 148, and the caller 104 is provided with the option to connect directly with a particular business or to get more information, such as the phone number of a particular business.
[079] In process 120, the prompting of the caller 104 and receiving of speech utterances from the caller 104 can be performed by, for example, the voice-enabled user interface 102. The recognition of the speech utterances from the caller 104 can be performed by using, for example, the speech recognition engine 104, the mapping module 108, the hierarchical tree 150, and the database 106 of language models. The search for phone number(s) of the specific business(es) can be performed by using, for example, the search engine 110 and the database 112 of business listings.
[080] The following is an example of an interaction between the system 100 and the caller 104 according to the process 120:
System 100: Nation wide business listing search. City and state, please.
Caller 104: Palo Alto, California.
System 100: What type of business or category?
Caller 104: Italian restaurants.
System 100: What specific business?
Caller 104: Il Fornaio
System 100: Search result, Il Fornaio on Cowper Street, Palo Alto. (650) 853-
3888. Do you wish to connect directly? Caller 104: Connect me.
[081] The following is another example of an interaction between the system 100 and the caller 104 according to the process 120:
System 100: Nation wide business listing search. What is the specific business you are looking for? Caller 104: Il Fornaio System 100: What type of business is that? Caller 104: Italian restaurants.
System 100: Where is it located? Caller 104: Palo Alto, California. System 100: Search result, Il Fornaio on Cowper Street, Palo Alto. (650) 853-
3888. Do you wish to connect directly? Caller 104: Connect me.
[082] The system 100 may fall back to using category-only search when the recognition of the specific business is not successful. By asking the caller for the type of business or category, it is possible that the system 100 may find the specific business that the caller 104 is looking for (or business listings that are close enough to be useful) using only the type of business or category information, in the event that the speech recognition engine 104 is unable to recognize the specific business.
[083] The following is an example of an interaction between the system 100 and the caller 104 with fall back to category-only search:
System 100: Nation wide business listing search. What city and state, please.
Caller 104: Palo Alto, California. System 100: What type of business? Caller 104: Japanese restaurant. System 100: What's the business name? Caller 104: fuki sushi System 100: We didn't recognize that, but here are the results for
Japanese restaurants in Palo Alto, please select one:
Number 1 : Sushitomi
Number 2: Fuki Sushi
Number 3: ...
[084] The system 100 may ask the caller 104 questions in sequences and combinations different from the above. For example, the system 100 may ask for the geographical location first, then ask for the specific business, then ask for the type of business. The system 100 may ask for the specific business first, then ask for the geographical location, then ask for the type of business. The system 100 may ask for the type of business first, then ask for the geographical location, then ask for the specific business. The system 100 may ask for the type of business first, then ask for the specific business, then ask for the geographical location.
[085] For example, the system 100 may ask for the geographical location and specific business in the same voice prompt, then ask for the type of business. The system
may ask for the geographical location and type of business in the same voice prompt, then ask for the specific business. The system may ask for the specific business and the type of business in the same voice prompt, then ask for the geographical location. The system 100 may ask for the type of business, then ask for the geographical location and specific business in the same voice prompt. The system may ask for the specific business, then ask for the geographical location and type of business in the same voice prompt. The system may ask for the geographical location, then ask for the specific business and the type of business in the same voice prompt. The system may ask for the geographical location, the type of business, and the specific business all in the same voice prompt.
[086] In implementations where the user interface 102 asks the caller 104 about the specific business before asking for the geographical information or the type of business, the system 100 may store a recording of the caller's utterances about the specific business, and then re -recognize the recorded utterance using a grammar biased by the recognized type of business or category.
2. Construction and Use of Hierarchical Trees
[087] The following describes classification of businesses and the construction of hierarchical trees.
[088] The system 100 asks the caller 104 for the type of business or category of a specific business to improve the accuracy in recognizing the name of the specific business. Because different callers 104 may classify businesses differently, it is useful for the system 100 to be flexible in treating the information about the type of business or category. For example, when looking for information about Walmart, in response to a question about type of business or category, some people may say "Supercenter," while others may say "Chain store," "Retailer," "Grocery store," or "I don't know." It is possible that the caller 104 may not have thought about the type of business or category before being asked the question, and responds with the first notion that comes to mind. For example, a person who plans to go to Walmart to purchase a DVD may say "Video
store," while another person who plans to go to Walmart to purchase a bottle of vitamin may answer "Pharmacy."
[089] They system 100 can use a number of ways to classify businesses. One way of classifying businesses is to build a hierarchical tree of nodes, in which each node corresponds to a type of business. The hierarchical tree can be constructed based on the data collected from users so that the tree structure reflects a classification of businesses by the users. The system 100 may update the hierarchical tree over time as the system 100 collects more data about user's intuitive classification of businesses.
[090] By comparison, the classification of businesses used by a conventional directory service (for example, Yellow Pages) is substantially fixed. If a user wishes to find a particular business without knowing the business name, the user would have to know what category the particular business falls under within the categories provided by the conventional directory service. For example, if a user wishes to find a particular business near a specified location that sells garden tools, but does not know the business name, the user might query the convention directory service and ask for businesses listed under the "Hardware stores" category near the specified location. The conventional directory service may respond with a list of all the businesses falling under the "Hardware stores" category near the specified location. If the particular business that the user is looking for is not classified as a hardware store by the conventional directory service, but is classified under the "Garden center" category, then the response from the conventional directory service would not include the particular business that the user is looking for. The user may think that the particular business is not listed in the conventional directory, when in fact the particular business is listed in the conventional directory under a different category.
[091] FIG. 3 is a block diagram of an example of modules of the system 100 that can be used for building and updating a hierarchical tree 150 of clustered category nodes and a database 106 of language models for speech recognition. The user interface 102, speech recognition engine 104, and mapping module 108 are the same as those in FIG. 1, and are used to recognize user speech input. The system 100 includes a search engine 162 (which is different from the search engine 110 of FIG. 1) that is used to perform
keyword searches and return a list of links pointing to web pages or documents that contain specific keywords. The system 100 includes an automated category clustering module 164 that builds and updates the hierarchical tree 150 using data collected from, for example, call logs 152 and search logs 154.
[092] Call logs 152 include data that are logged from past calls, including data on how past callers 104 associate specific businesses with particular types of businesses or categories. For example, each time the process 120 of FIG. 2 is performed, the user interface 102 keeps track of dialog states, allowing the recognized geographical location, type of business, and name of a specific business to be logged in the call log 152. The recognized pairs of types of businesses and names of specific businesses are used by the category clustering module 164 in updating the hierarchical tree 150.
[093] The term "category-business pair" will be used to refer to a pair of a type of business and a specific business (or a business category and a specific business).
[094] Search logs 154 include data that are logged from past searches. For example, a user 156 may use a terminal 158 (for example, a computer) to send a query with keyword(s) over the Internet 160 to the search engine 162. The search engine 162 searches an information database (not shown) and returns a list of links to documents or web pages containing the keyword(s). When the user 156 subsequently selects one of the links, there is an indication that the user 156 associates the keyword(s) with the document or web page pointed to by the selected link. If the document or web page is associated with a specific business, then the keyword(s) used in this search can potentially be used to define a type of business or category for the specific business.
[095] A pairing module 155 can run in the background and analyze the query strings and the users' selections of search results (for example, links or documents) that are logged in the search logs 154. The pairing module 155 determines whether a search result selected by a user is related to a specific business, and what keywords were used in the query. The pairing of the specific business and the keywords are also logged in the search logs 154.
[096] In one example, the user 156 sends a query with keywords "Italian restaurants" to the search engine 162, and the search engine 162 returns a list of links pointing to web pages of Italian restaurants. The user 156 selects a link pointing to a web page of a specific restaurant, for example, Il Fornaio, and is directed to Il Fornaio restaurant's web page. By selecting a link pointing to Il Fornaio after submitting the keywords "Italian restaurants," the user indicates that he/she associates Il Fornaio with the type of business "Italian restaurants." Thus, the specific business Il Fornaio can be placed in a node of the hierarchical tree 150 associated with the type of business "Italian restaurants."
[097] The search engine 162 receives queries from many users. If the hierarchical tree 150 does not have a node associated with "Italian restaurants," and many users submit queries using keywords "Italian restaurants" and subsequently select links pointing to Il Fornaio, then the keywords "Italian restaurants" can be used to establish a new node in the hierarchical tree 150, with the specific business "Il Fornaio" being a member of the new node.
[098] Similarly, if the user 156 submits a query with the keyword "restaurants" and subsequently selects a link pointing to Il Fornaio, the business Il Fornaio can be placed in a node of the hierarchical tree 150 associated with the type of business "restaurants." Because different people may classify the same business according to different types of businesses, a specific business can be a member of several different nodes in the hierarchical tree 150.
[099] As another example, the user 156 sends a query with a keyword "sushi" to the search engine 162, and the search engine 162 returns a list of links pointing to web pages teaching how to make sushi, web pages of vendors of sushi supplies, and web pages of restaurants serving sushi. The user 156 selects a link pointing to a web page of a specific restaurant, for example, Sushitomi, and is directed to Sushitomi restaurant's web page. By selecting a link pointing to Sushitomi after submitting the keyword "sushi," the user indicates that he/she associates Sushitomi with the type of business or category "sushi." Thus, the specific business Sushitomi can be placed in a node of the hierarchical tree 150 associated with the type of business or category "sushi."
[0100] If the hierarchical tree 150 does not have a node associated with "sushi," and many users submit queries using the keyword "sushi" and subsequently select links pointing to Sushitomi, then the keyword "sushi" can be used as a type of business or category to establish a new node in the hierarchical tree 150, with the specific business Sushitomi being a member of the new node.
[0101] The pairing of keywords with specific businesses, such as the pairing of "Italian restaurants" with "Il Fornaio", the pairing of "Restaurants" with "Il Fornaio," and the pairing of "sushi" with "Sushitomi," etc., are logged in the search log 154, which is used by the category clustering module 164 in establishing the hierarchical tree 150.
[0102] The data collected from, for example, the call logs 152 and search logs 154 may include information on user's response when the user is confused about the category of a specific business. For example, the call logs 152 may show instances where the users reply "I don't know" in response to the question about the type of business of a specific business. The call logs 152 and search logs 154 may include information on how users classify businesses in non-conventional ways, for example, ways that are different from the classification used by conventional directory services. For example, the call logs 152 and search logs 154 may show instances where users say or type in keywords "hardware store" when they are actually looking for a vendor of cell phones. By capturing a wide range of responses from callers 104 and/or users 156, the system 100 can construct a hierarchical tree 150 that more accurately reflects the classification of businesses according to average users, as opposed to the rigid classification of businesses used in conventional directory services.
[0103] The term "user 156" will be used to refer to users who perform keyword searches, whereas the term "user" without the reference number 156 will be used generally to refer to both users 156 and callers 104.
[0104] The system 100 may process the search logs 154 to determine whether a link selected by a user 156 is associated with a specific business. When the system 100 determines that the selected link is associated with a specific business, the keyword(s)
used in the search can be used as the type of business or category for the specific business.
[0105] The category clustering module 164 combines the category-business pairs from the call logs 152 and search logs 154, and builds a generic hierarchical tree 150. For instances where geographical information is also available, the category clustering module 164 sorts the pairs according to geographical location and builds a location- specific hierarchical tree 150 for each geographical location. For example, all the category-business pairs related to businesses in New York city may be used to generate a location-specific hierarchical tree 150, and all the category-business pairs related to businesses in San Jose city may be used to generate a location-specific hierarchical tree 150, etc.
[0106] After the generic and location- specific hierarchical trees 150 are updated by the category clustering module 164, a module 166 is used to update the speech recognition language models in the database 106. Each node in the hierarchical tree 150 is associated with a language model in the database 106, so when the category clustering module 164 adds or removes a node from the hierarchical tree 150, or adds or removes types of businesses or specific businesses from the nodes, the corresponding language models in the database 106 are also updated. Each updated language model is biased toward recognizing the specific businesses associated with the respective node.
[0107] Because hierarchical trees 150 can have many nodes, the number of language models can be large. A large amount of resources (for example, disk drive storage space) may be required to maintain the language models. One way to reduce the total number of language models stored in the system (for example, disk drive) is to build a language model (referred to as a higher-level language model) associated with a parent node from language models (referred to as lower-level language models) associated with child nodes. For example, a first language model for a parent node associated with the "restaurants" type of business can be a combination of a second language model for a child node associated with the "Italian restaurants" type of business and a third language model for a child node associated with the "Japanese restaurants" type of business. The second and third language models can have different weights or influences to the first
language model. In one implementation, the system 100 may store weight coefficients for the second and third language models to represent the first language model, saving considerable disk space.
[0108] The hierarchical trees 150 can be established and updated in many ways. The following describes an example of how a hierarchical tree 150 can be constructed and updated by the category clustering module 164. This method can be used to construct the generic hierarchical tree and location-specific hierarchical trees.
[0109] Referring to FIG. 4A, in the example shown, each node of a hierarchical tree 150 includes a table 170 having a list of category-business pairs 172 and their respective counts 174. The counts 174 represent the number of times that the category-business pairs 172 appear in the call logs 152 and search logs 154. For example, the (Restaurants, Il Fornaio) pair has 110 counts, the (Restaurants, Shanghai Garden) pair has 100 counts, the (Sushi, Sushitomi) pair has 10 counts, and the (I don't know, Home Depot) pair has 3 counts. This indicates that past users associated Il Fornaio with the "restaurants" type of business or category 110 times, associated Sushitomi with the "sushi" type of business or category 10 times, etc.
[0110] Referring to FIG. 4B, each node includes an index 176 of the types of businesses and their accumulated counts. For example, the "Restaurants" type of business has 200 counts, the "Italian restaurants" type of business has 65 counts, etc.
[0111] Referring to FIG. 4C, each node also includes an index 178 of the specific businesses and their accumulated counts. For example, the specific business "Il Fornaio" has 175 counts, and "Ace Hardware" has 23 counts, etc.
[0112] The nodes of the hierarchical tree 150 are established by clustering types of category-business pairs based on their counts. In one example, the root of the tree 150 includes all the category-business pairs. The first node below the root is initialized with the category-business pairs associated with the category that has the highest count.
[0113] Referring to FIG. 5 A, the tree 150 initially has only the root node 180 with all the category-business pairs. Because the "restaurants" type of business has the highest count (which is equal to 200, see FIG. 4B), a child node 182 is established and associated
with the "restaurants" type of business. All the category-business pairs in which the category is "restaurants" are associated with the new node 182. Thus, the node 182 includes the (restaurants, Il Fornaio), (restaurants, Shanghai Garden), and (restaurants, Sushitomi) pairs.
[0114] Next, a similarity is computed between each category-business pair and each of the two nodes 180, 182 in the tree 150. A number of similarity measures can be used to determine whether a category-business pair is more similar (or relevant) to the root node 180 or to the node 182. In some examples, a similarity measure for a particular category-business pair and a particular node is the sum of the term-frequency (TFl) for the category given the categories and the term- frequency (TF2) for the specific business given the specific businesses in that node. The term frequency for a category having a term (for example, word) is equal to the category counts for that term divided by all category counts in that node. The term-frequency for a specific business having a term (for example, word) is equal to the specific business counts for that term divided by all specific business counts in that node.
[0115] In some examples, the term frequency (TFl + TF2) is weighted by the inverse document frequency, which is the log of the number of nodes divided by the number of nodes containing the term (in the type of business or specific business). If a particular category-business pair has a higher similarity to the new "restaurants" node 182, then the category-business pair is assigned to the new node 182, and the counts are updated for the newly clustered nodes.
[0116] Using the similarity measures described above, one can determine that the category-business pairs (Italian restaurants, Il Fornaio), (Chinese restaurants, Shanghai Garden), (Japanese restaurants, Sushitomi), and (sushi, Sushitomi) are associated with the new node 182, while (hardware, Home Depot), (hardware, Ace Hardware), (hardware store, Orchard Supply Hardware), (hardware store, Orchard Supply Hardware), and (I don't know, Home Depot) are associated with the root node 180.
[0117] The next new node in the tree 150 can be initialized like the "Restaurants" node 182 by identifying a new category that has the highest count in the node with the
most variation. One measure of the variation is the entropy of the category-business pairs in each node, the entropy being defined as the negative sum over all pairs in the node of the probability of each pair times the log of the probability of each pair. For example, the entropy of node 182 is -(110/480 * log (110/480) + 100/480 * log (100/480) + 90/480 * log (90/480) + 65/480 * log (65/480) + 55/480 * log (55/480) + 50/480 * log(50/480) + 10/480 * log(l 0/480)). The entropy for the node 180 can be determined in a similar manner.
[0118] The node 180 has a higher variation than the node 182, and the category having the highest count in the node 180 (other than the categories already associated with node 182) is the "hardware" type of business.
[0119] Referring to FIG. 5B, a new node 184 associated with the "hardware" type of business is initialized under the root node 180, and the category-business pairs are reassigned to the nodes 180, 182, 184 using the similarity measures described above.
[0120] Referring to FIG. 5C, additional nodes can be added to the tree 150 using the method described above. For example, nodes 186, 188, 190, 192, 194, and 196 can be associated with the business type or category "Italian restaurants," "Chinese restaurants," "Japanese restaurants," "sushi," "hardware store," and "I don't know," respectively.
[0121] In some examples, the process of adding child nodes continues until an upper limit on the total number of nodes is reached, or until the amount of variation within any terminal node (i.e., a node without any child node) in the tree 150 is less than a predefined threshold.
[0122] After the hierarchical tree 150 is finalized, the module 166 updates the speech recognition language models in the database 106 so that each node (for example, 180 to 196) in the tree 150 is associated with a language model in the database 106. The language model associated with a node provides information about probabilities that a speech utterance matches a specific business. The probabilities can be based on the count values. For example, if the caller 104 indicated that the type of business is "restaurant," and the caller's speech utterance matches a waveform for "Il Fornaio" and a waveform for "Sushitomi" to the same degree, the language model associated with node 182 may
indicate that the probability that the caller 104 said "Il Fornaio" is higher than the probability that the caller said "Sushitomi."
[0123] The hierarchical tree 150 can be updated when additional examples of category-business pairs are available from the call logs 152 and search logs 154. In some examples, the full hierarchical tree 150 can be re-clustered and rebuilt on a regular basis with all the category-business pairs starting in the root node, and clustered as described above. In some examples, the existing hierarchical tree is kept intact and the new category-business pairs are assigned to the nodes with the highest similarity scores as described above. In one implementation, if neither the specific business nor the type of business can be found in the tree 150, the category-business pair is by default assigned to the root node 180.
[0124] FIG. 6 is a flow diagram of an exemplary process 200 for generating a hierarchical tree 150. Category-business pairs are received 202. All of the category- business pairs are initially assigned 204 to the root node of the tree 150. A type of business Tl having the highest count in a node with the highest variation is found 206. A new node is established 208 for the type of business Tl . The category-business pairs associated with the type of business Tl are assigned to the new node. The remaining category-business pairs are re-clustered 210 and assigned to the nodes based on a similarity measure. The entropy values for all the nodes are determined 212. If there is any terminal node having an entropy value above a threshold, the finding 206, establishing 208, and re-clustering 210 are repeated. When all the terminal nodes have entropy values less than the threshold, the hierarchical tree 150 is finalized, and the language models for the nodes are updated 214.
[0125] For example, in the process 200, the category-business pairs can be received from the call logs 152 and search logs 154 (FIG. 3). The assigning 204, finding 206, establishing 208, re-clustering 210, and determining 212 entropy values can be performed by the category clustering module 164. The updating 214 can be performed by the module 166 for updating speech recognition language models.
[0126] FIG. 7 is a flow diagram of an exemplary process 220 for mapping a type of business to the nodes of the hierarchical tree 150 to determine which language models to use for recognizing a specific business. A type of business Tl is received 222. Similarity scores between the type of business Tl and the nodes are determined 224. Each similarity score indicates a similarity between the type of business Tl and the types of businesses associated with a node. A node with the highest similarity score is found 226. The language model associated with the node is used 228 to recognize a specific business in a speech input.
[0127] For example, in the process 220, the type of business Tl can be determined by the speech recognition engine 104 that recognizes the type of business in the speech input from the caller 104. The determining 224 and the finding 226 can be performed by the mapping module 108 (FIG. 1). The speech recognition engine 104 can use 228 the language model found by the mapping module 108 to recognize the specific business in the speech input from the caller 104.
[0128] Rather than computing the similarity scores each time the system 100 needs to determine which node corresponds to a type of business provided by the caller 104, the system can pre-compute the similarity scores for often-used types of businesses. For example, based on historical data, the system may determine that "Japanese restaurants" is a type of business that often receives requests. Using the hierarchical tree 150 in FIG. 5C as an example, the system 100 may pre-compute the similarity scores between "Japanese restaurants" and the nodes 108 to 196, and determine that nodes 190, 182, and 180 are relevant to recognizing Japanese restaurants. The system 100 then pre-computes the weights cl, c2, and c3 to be assigned to the language models associated with the nodes 190, 182, and 180, respectively. In some examples, the weights can be the similarity scores. The weights cl, c2, and c3 can be stored in a table.
[0129] When a caller 104 calls for information about a specific business and provides "Japanese restaurants" as the type of business, the mapping module 108 looks up the table and determines that the relevant nodes are 190, 182, and 180, and the weights for corresponding language models are cl, c2, and c3, respectively. The language models associated with nodes 190, 182, and 180, along with their respective weights cl, c2, and
c3, are provided to the speech recognition engine 104 to recognize the name of the specific business.
[0130] The system 100 can pre-compute the similarity scores and weights for language models taking into account the different geographical locations. For example, the system 100 may determine that when a caller 104 is asking for information about an Italian restaurant in San Jose, there are relevant nodes in a first hierarchical tree for San Jose, a second hierarchical tree for Palo Alto, a third hierarchical tree for Sunnyvale, and a fourth hierarchical tree for Mountain View, respectively. The system 100 can pre- compute the weights to be applied to the language models associated with these nodes, and store the weights in a table. When a caller 104 calls to ask about an Italian restaurant in San Jose, the mapping module 108 looks up the table, determines which nodes are relevant in the first, second, third, and fourth hierarchical trees, determines their respective weights, and sends this information to the speech recognition engine 104 to recognize the name of the Italian restaurant in San Jose.
3. Multi- Server System
[0131] The following describes an example of a voice-enabled business listing search system that is implemented using multiple machines.
[0132] The system 100 of FIG. 1 can be implemented using several servers linked together via a network. A server can be, for example, a work station, a personal computer, or an arbitrary processing unit. Each of the modules in FIG. 1 can be performed by a separate server. For example, one server may perform the functions of the user interface 102, and another server may perform the functions of the mapping module 108. There may be multiple servers performing the functions of the search engine 110.
[0133] The database 106 in FIG. 1 may be stored in disk drives of different servers at different locations. There may be multiple speech recognition engines 104 running on different servers situated at different locations, each speech recognition engine 104 accessing one or more databases 106 of language models and being responsible for
recognizing specific businesses associated with particular types of businesses and/or geographical locations.
[0134] The hierarchical tree 150 can be used as a roadmap for determining which servers are responsible for the recognition tasks. Each server can be assigned to be responsible for processing recognition tasks related to particular nodes of the hierarchical trees 150. When a caller 104 calls the system 100 and asks for information about a specific business by saying a geographical location, a type of business, and a name of the specific business, the mapping module 108 maps the geographical location and type of business to the hierarchical trees 150 using, for example, the similarity measures described above, to find the node having the best match. The servers responsible for the node having the best match and its ancestor nodes are called to recognize the name of the specific business.
[0135] Some servers may be responsible for the nodes of the generic hierarchical tree, and some servers may be responsible for the nodes of location-specific hierarchical trees. The recognition results from the various servers can be sent to a central server that determines a final recognition result.
4. Additional Examples
[0136] Although some examples have been discussed above, other implementations and applications are also within the scope of the following claims. For example, the user interface 102 (FIG. 1) can be operated by a different company (for example, TeIlMe Networks, Inc.) that specializes in voice-enabled user interfaces. The system 100 can be used to recognize people's names or names of entities other than businesses, such as nonprofit organizations.
[0137] For example, the system 100 may provide a personal directory service. The user interface 102 may prompt the caller 104 for information about the geographical location, category, and name of a person. The geographical location can be, for example, city and state. The category can be, for example, "Stanford alumni" or "Google employee." The speech recognition engine 104 may recognize the name of the person based on the geographical location and the category information. The system 100 may
then provide relevant data (for example, the phone number of the person) to the caller 104, and provide the option of connecting the caller to the person.
[0138] For example, the system 100 may provide a merchandise locator service. The user interface 102 may prompt the caller 104 for information about a geographical location, a category, and a name of a merchandise item. The geographical location can be, for example, city and state. The category can be, for example, "flat panel television" or "cars." The name can be, for example, "Sharp AQUOS® 45 inch HDTV" or "Toyota Prius." The speech recognition engine 104 may recognize the name of the merchandise based on the geographical location and the category information, and return a list of stores within or near the geographical location that sell the merchandise. By asking for information related to the geographical location and category of the merchandise, a speech recognition engine can more accurately recognize the name of the merchandise and provide better service to the user.
[0139] A voice-enabled navigation system can provide directions to a specific business. The navigation system may receive from a user a type of business and a name of the specific business. The navigation system may have information about the location of the navigation system using, for example, GPS signals, and recognize the name of the specific business based on the location and the type of business. For example, a driver of a car may say "Show me the directions to Il Fornaio, an Italian restaurant, near Palo Alto." The navigation system may be able to more accurately recognize "Il Fornaio" based on the knowledge that Il Fornaio is an Italian restaurant and is located near Palo Alto, as compared to a navigation system that attempts to recognize the names of businesses using only information about the geographical locations of the businesses.
[0140] The search logs 154 can include data from, for example, desktop searches or searches on intranets. The system 100 may reside at a personal computer, and the call logs 152 may include historical data on past usage of the system 100 by one or more users of the personal computer to obtain information about specific businesses using, for example, voice commands.
[0141] The data structure for clustering nodes does not necessarily have to be a hierarchical tree structure as shown in FIG. 5C. Other types of data structures can also be used.
[0142] Each module in FIGS. 1 and 3, and each process in FIGS. 2, 6, and 7 can be implemented by software, hardware, or a combination of both. The following describes an example of a general computing system that can be used to implement the search systems described above.
[0143] FIG. 8 shows a schematic representation of a general computing system. Computing device 800 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The components shown here, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed in this document.
[0144] Computing device 800 includes a processor 802, memory 804, a storage device 806, a high-speed interface 808 connecting to memory 804 and high-speed expansion ports 810, and a low speed interface 812 connecting to low speed bus 814 and storage device 806. Each of the components 802, 804, 806, 808, 810, and 812, are interconnected using various busses, and may be mounted on a common motherboard or in other manners as appropriate. The processor 802 can process instructions for execution within the computing device 800, including instructions stored in the memory 804 or on the storage device 806 to display graphical information for a GUI on an external input/output device, such as display 816 coupled to high speed interface 808. In other implementations, multiple processors and/or multiple buses may be used, as appropriate, along with multiple memories and types of memory. Also, multiple computing devices 800 may be connected, with each device providing portions of the necessary operations (for example, as a server bank, a group of blade servers, or a multiprocessor system).
[0145] The memory 804 stores information within the computing device 800. In one implementation, the memory 804 is a volatile memory unit or units. In another implementation, the memory 804 is a non-volatile memory unit or units. The memory 804 may also be another form of computer-readable medium, such as a magnetic or optical disk.
[0146] The storage device 806 is capable of providing mass storage for the computing device 800. In one implementation, the storage device 806 may be or contain a computer-readable medium, such as a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid state memory device, or an array of devices, including devices in a storage area network or other configurations. A computer program product can be tangibly embodied in an information carrier. The computer program product may also contain instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer- or machine-readable medium, such as the memory 804, the storage device 806, memory on processor 802, or a propagated signal.
[0147] The high speed controller 808 manages bandwidth-intensive operations for the computing device 800, while the low speed controller 812 manages lower bandwidth- intensive operations. Such allocation of functions is exemplary only. In one implementation, the high-speed controller 808 is coupled to memory 804, display 816 (for example, through a graphics processor or accelerator), and to high-speed expansion ports 810, which may accept various expansion cards (not shown). In the implementation, low-speed controller 812 is coupled to storage device 806 and low-speed expansion port 814. The low- speed expansion port, which may include various communication ports (for example, USB, Bluetooth, Ethernet, wireless Ethernet) may be coupled to one or more input/output devices, such as a keyboard, a pointing device, a scanner, or a networking device such as a switch or router, for example, through a network adapter.
[0148] The computing device 800 may be implemented in a number of different forms, as shown in the figure. For example, it may be implemented as a standard server 820, or multiple times in a group of such servers. It may also be implemented as part of a
rack server system 824. In addition, it may be implemented in a personal computer such as a laptop computer 822. Each of such devices (for example, standard server, rack server system, personal computer, laptop computer) may contain one or more of computing device 800, and an entire system may be made up of multiple computing devices 800 communicating with each other.
[0149] Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0150] These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" "computer-readable medium" refers to any computer program product, apparatus and/or device (for example, magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
[0151] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (for example, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (for example, a mouse, trackball, touch- sensitive screen, or iDrive-like component) by which the user can provide input to the computer. 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 (for example, visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0152] The systems and techniques described here can be implemented in a computing system that includes a back-end component (for example, as a data server), or that includes a middleware component (for example, an application server), or that includes a front-end component (for example, a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of 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 (for example, a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), and the Internet.
[0153] 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.
[0154] A number of embodiments of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. For example, various forms of the flows shown above may be used, with steps re -ordered, added, or removed. Also, although several applications and methods have been described, it should be recognized that numerous other applications are contemplated. Accordingly, other embodiments are within the scope of the following claims.