Natural language query system for accessing an information system

A spoken interaction system for enabling a user to interact with said information system, said interaction system being aimed at being connected to the information system, the interaction system being aimed at being connected to a recognition system for enabling the user to interact with the information system by means of phrases generated by said user and processed by the recognition system, said interaction system comprising at least one domain module aimed at having defined therein phrase set-ups that are constructed based on object classes, attributes classes and action classes that are common to said information systems of the considered application domain and are provided to the particularised with specific objects types, action types, attribute types and their instances, provided from the information system, in order to define a grammar of phrases that are provided to be generated by the user to interact with the information system.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description

[0001] The present invention relates to an interaction system aimed at permitting a user to interact with an information system by means of a recognition system.

[0002] Recognition systems usually comprise two modules: a recognition module that converts phrases generated by the user into a textual computer representation of said phrases and a text to generation module that can convert a textual computer representation in a generated phrase understandable by the user. Among recognition systems, one finds namely speech recognition systems with which the user can generate phrases by way of pronunciation and that can generate aloud phrases to the user, and text recognition systems such as text scanning systems, with which the user can generate phrases by way of a written text and that can generate phrases to the user in a written form.

[0003] Information systems manage data that are usually stored in databases. These data bases are commonly customised by their users, as well as the information systems aimed at exploiting said data bases.

[0004] In databases, the data, also called objects, are gathered into object types identified by a code. Each object type gathers object instances, that is specific data or objects, of the considered type. With each object type are associated a certain number of attributes that characterise the instances of the object type. Similar to objects, attributes may be gathered in attribute types. An attribute type groups attributes that have similar characteristics e.g. textual or date attributes.

[0005] Each information system is adapted to the databases it has to manipulate and thus may address the object types, attribute types, and instances of objects of an object type having certain attribute instances. Therefore, the codes used by a database to identify object types and attribute types are recognized by the information system that has to manipulate said database.

[0006] In addition, each information system contains action types gathering actions that may be applied on the objects of a database by the system. Each action type fits to one ore more object types.

[0007] Information systems are gathered in different domains of applications such as Geographical Information Systems (GIS), Enterprise Resource Planning (ERP) systems, Document Management (DM) systems or Product Data Management (PDM) systems to name a few well known business application domains.

[0008] Traditionally, the users of a specific information system have to interact with this system by means of an interface specially developed for the system, that will be different from one system to another even in the same domain of applications. In addition, said user will have to interact with an information system by using the keyboard and/or the mouse of the computer that accesses the information system.

[0009] The present invention overcomes these problems in providing an interaction system, called Voice Query Language, that enables interactions of a user with different pre-existing information systems of a domain of applications by using different pre-existing recognition systems. This invention thus enables the user to apply, by generation of phrases, called queries, actions defined by the information, system to objects stored in the databases manipulated by the information system and identified by attributes.

[0010] The inventor has discovered that for all the information systems of a domain of applications, common object classes, attribute classes and action classes can be defined. These classes respectively gather objects, attributes and actions that present- a common characteristic defining the considered class, said characteristic being specific for all the information systems of the domain. A same instance of an object may be part of several object classes if it presents simultaneously the characteristics of these different classes. Based on said object, attribute and action classes, action phrase set-ups can be defined, that will constitute models that can be particularised with the specific object types, attribute types and action types of a specific information system of the considered domain of applications and the instances of the objects with its attributes instances stored in the databases handled by said information system. The referred action phrase set-ups that are used to build actual phrases thus define a grammar consisting essentially of object types, attribute types, action types and production rules are provided to be used in the interactions of the user with an information system of the domain considered, both when the system presents to the user the different queries he may request and when the user addresses such a query to the information system.

[0011] Therefore, the invention provides an interaction system for enabling a user of an information system belonging to an application domain of similar information systems to interact with said information system, said interaction system being aimed at being connected to the information system, the interaction system further being aimed at being connected to a recognition system for enabling the user to interact with the information system by means of phrases generated by said user and processed by the recognition system, said interaction system comprising at least one domain module aimed at having defined therein phrases setups that are constructed based on object classes, attribute classes and action classes that are common to said information systems of the considered application domain and are provided to be particularised with specific object types, action types, attribute types and their instances, provided from the information system, in order to define a grammar of phrases that are provided to be generated by the user to interact with the information system.

[0012] Preferably, the interaction system according to the invention comprises a generic module connected to the at least one domain module and aimed at being connected to the recognition system, said generic module being aimed at converting said phrases that can be generated by the user into a textual computer representation usable by the recognition system for the recognition of said phrases when generated by the user and being aimed at converting a textual computer representation produced by the recognition system, after recognition of a phrase generated by the user has happened, into a phrase defined by said grammar.

[0013] It is more preferred that said generic module comprises an element containing information enabling configuration of the recognition system.

[0014] In another preferred configuration of the interaction system according to the invention, it comprises an adapter module connected to the at least one domain module and aimed at being connected to the information system, said adapter module being aimed at extracting objects, attributes, action types and their instances from the information system and pass them to the at least one domain module and being aimed at driving the information system for the latter to execute a demand for action contained in a phrase generated by the user.

[0015] Preferably, the at least one domain module comprises an element containing information about general notions of objects and attributes identifying objects that is common to several application domains.

[0016] One also prefers that the at least one domain module is aimed at being connected to a system analyst and linguist aimed at defining object classes, attribute classes, action classes and phrases set-ups that said at least one domain module is aimed at having defined therein.

[0017] More preferably, the aforementioned recognition system is a speech recognition system and the phrases generated by the user are generated by pronunciation by said user.

[0018] This enables the user to interact with an information system by means of the natural language of said user.

[0019] Alternatively, said recognition system is a text recognition system and the phrases generated by the user are written by said user

[0020] The invention will now be described in more details in reference to FIG. 1 that represents an interaction system according to the invention integrated in its environment.

[0021] Referring to FIG. 1, the environment comprising the interaction system according to the invention is composed of the following elements:

[0022] 1: An information system aimed at manipulating several object types being characterised by several attributes being part of attribute types, the manipulation being performed by means of several action types. Objects and attribute types have instances that can be found in the databases manipulated by the information system.

[0023] 2: A recognition system comprising two modules:

[0024] 2a: The recognition module that converts phrases generated by the user into a textual computer representation.

[0025] 2b: The text to generation module that can convert a textual computer representation into a generated phrase understandable by the user.

[0026] 3: A system analyst and linguist that provides the object, attributes and action classes as well as the phrases set-ups that will be used to exercise the information system actions on the object types. System analysts and linguists are human beings that are capable of analysing how the user would vocally interrogate the system. The result of that analysis will be a collection of action phrase set-ups being typical of a domain of applications.

[0027] 4: A user that will use the system by means of the grammar defined by the phrase set-ups particularised with the instances of objects, attributes and actions manipulated by the information system.

[0028] 5: The interaction system according to the invention, enabling the user to interact with the information system in generating phrases that said system must process, based on the aforementioned particularised phrase set-ups. This system consists in three modules:

[0029] 5b: A generic module that can convert a language grammar, that is a set of object types, action types and production rules of valid phrases that can be generated by the user in view of interacting with an information system, into a computer representation that can be used by the recognition system and convert a computer representation resulting from a recognition into a phrase defined by a grammar. Said generic module comprises an element c1 containing information enabling configuration of the recognition system, namely:

[0030] The recognition software used,

[0031] The language used,

[0032] The communication devices used such as for example microphones, or telephone devices.

[0033] 5a: A domain module that is able to receive elements as object types, attribute types and action types as well as instances of the latter that are manipulated by information systems of a predetermined domain of applications. The domain module comprises definitions of classes of objects, actions and attributes that are typical of said domain and that are used to combine the aforementioned elements received with the aforementioned action phrase set-ups to produce the grammar needed by the generic module 5b. The action phrases set-ups are received from the system analyst and linguist in order that queries can be generated by the user in a natural language. If multiple Information Systems are available simultaneously, multiple grammars can be generated and activated. The interaction system according to the invention will switch between the information systems. A similar switch could be made between The an interaction system according to the invention for a domain such as GIS and The an interaction system according to the invention for another domain such as DM. The domain module also can take a phrase produced by the generic module after recognition happened and generate an action description on specified objects identified by specific attribute values to be executed by the information system 1. The aforementioned definitions are comprised within an element c2 of the domain module, that contains:

[0034] Information common to several domains such as general notions of objects and attributes identifying objects.

[0035] The domain identification comprising configuration elements identifying a domain of information systems, as for example GIS information systems.

[0036] The object classes belonging to this domain. Each class represent a set of objects with a common characteristic. For example, in GIS applications, objects classes such as surface class (countries, counties), linear class (rivers, streets), punctual class (cities), graphical class (aerial photography geographically referenced, maps). A real object may be part of several object classes. For example, in the GIS domain, a typical object such as a city street will belong to the displayable object class, selectable object class, spatial object class and linear object class.

[0037] The actions classes that can be applied to the objects classes. Indeed, associated with each object class, one can define, for a given domain, a class of action that can be applied to that object class. For example, in the GIS domain, an object belonging to the displayable object class can be displayed or hidden, an object belonging to the spatial object class can be projected on a map or be intersected with another object belonging to the same class, an object belonging to the selectable object class can be selected or deselected, an object belonging to the linear object class can be moved along for a certain distance to provide a specific location. Whatever may be the specific object types and instances, it is always possible to manipulate (show, select, highlight, . . . ) punctual, linear and surface objects contained by another surface object, manipulate surface objects crossed by linear objects or manipulate punctual objects along a given linear object.

[0038] The attribute classes that can be attached to the objects. An attribute class gather attributes with a common meaning toward the objects of all the object classes. Namely, attributes belonging to the ‘instance naming’ class are used to identify a particular instance of an object type. For example, if in the GIS domain, roads have an attribute which is “road number” whose instances are numbers. “road number” is therefore of the ‘numerical’ attribute type but also part of the attribute class ‘instance naming’ because roads can be referred to in speech by their number.

[0039] The various phrase set-ups that can be used to request the execution of the actions. Associated with each action class, one can define a set of phrase set-ups that can be used to request the class action to be done. For example, in the GIS domain, phrase set-ups such as display ‘xyz’ or go to ‘abc’ can be defined. As ‘xyz’ or ‘abc’, the attribute class used to identify the object types on which the action will be performed can be referenced. These set-ups will be particularised by instances of objects belonging to these types manipulated by the information system with which the user will interact. Furthermore, the actions like ‘display’ or ‘go to’ can have synonyms that could easily be exchanged with the original terms. This means that multiple variants of a same phrase set-up can exist without substantial changes in its grammatical structure.

[0040] The term elements that assembled in sequences compose phrases to be generated by the user. One finds static term elements whose instances do not need to be extracted from the information system such as numbers, comparison operators, and dynamic elements whose instances do need to be extracted from the information system such as those of object types or attributes types. Statically defined term elements are straightforward list of terms, which elements can be predetermined during the domain module configuration.

[0041] Each of these elements can be flagged as optional; this means they can be forgotten from the generation without impairing the meaning of the phrase, such as politeness expressions.

[0042] Each of these elements can also be flagged as repetitive, as for composing numerical values, spelling identification codes or specifying geographical positions.

[0043] For example, in the GIS domain, one may have the following sequence of static term elements: [−1] [2] [+3] [−4] where [−1] mark an optional term list composed of the terms ‘please’ and ‘can you’, [2] marks an obligatory term list composed of ‘pan to the’ or ‘move to the’, [+3] marks a repetitive term list composed of the terms ‘north’, ‘east’, ‘west’, south’, [−4] mark an optional term list composed of the terms ‘please’. Consequently, the following are valid phrases based on these elements: pan to the north east, can you move to the south south east please.

[0044] Phrases such as [1] [2] [3] and [1] [4] [3] [5] [2] can also be built, in which [1] is either ‘show’ or ‘display’, [2] is a related object instance name, [3] is a spatial object type name, [4] is ‘the’, [5] is ‘of’. [2] and [3] are dynamic term elements. Then, if the dynamic elements extracted from the information system are two spatial objects called city and state and two instance names called New-York and Washington for the city and New-York and Idaho for the state, then the combination generation will generate the following phrases:

[0045] [1] [2a] [3a]

[0046] [1] [2b] [3b]

[0047] [1] [4] [3a] [5] [2a]

[0048] [1] [4] [3b] [5] [3b]

[0049] in which

[0050] [2a] will be either New-York or Washington

[0051] [3a] will be city

[0052] [2b] will be either New-York or Idaho

[0053] [3b] will be state

[0054] resulting in particular phrases like “show New-York city” or “display the state of Idaho”.

[0055] 5c: An information system adapter module that is created for a specific information system application. This adapter module is aimed at extracting the objects, attributes and action types as well as their instances from the considered information system and to pass them to the domain module 5a where they are referenced in objects, attributes and action classes defining the domain of the information system. On the other hand, said adapter module is able to drive the information system in order for it to execute the demand for action contained in a phrase generated by the user. This requires the adapter module to translate the action description provided by the domain module 5a into the application logic of the information system.

[0056] The transmission of information between the different elements of the environment defined here above occurs as follows:

[0057] From 5b to 2a: a list of words and a definition of the production rules governing the combination of these words into acceptable phrases in a computer representation fit for the recognition system.

[0058] From 2a to 5b: a recognized phrase in a computer representation fit for the recognition system. This phrase corresponds to a valid sequence of words.

[0059] From 5b to 2b: a textual computer representation to be read aloud to the user.

[0060] From 5a to 5b: a set of term lists and a set of combination rules making use of the term lists to build phrase set-ups that represent the valid phrases that can be generated by the user.

[0061] From 5b to 5a: a phrase generated by the user decomposed into a combination rule identification with the identification of the associated term lists and term list items generated by the user.

[0062] From 5c to 5a: a list of object types with their corresponding classes, object instances, attribute types with their corresponding classes and attributes instances.

[0063] From 5a to 5c: an action with related parameters to be executed by the information system. These parameters may include object and attribute instances. In ambiguous cases where two different actions or two different objects could be accessed by the same user command, the different possibilities will be returned to the information system by the domain module, in the hope that the adapter module will be able to remove the ambiguity using the information system contextual information or by asking feedback from the user.

[0064] From 1 to 5c: idem as from 5c to 5a but in the logic language of 1, thus depending on 1

[0065] From 5c to 1: idem as from 5a to 5c but translated in the logic language of 1, thus depending on 1.

[0066] The use of the interaction system according to the invention implies the following sequence of events:

[0067] A domain is identified that regroups the common object, attributes and action classes of a class of information systems.

[0068] The system analyst and linguist 3 defines the objects, attributes and action classes and related action phrases set-ups required by the domain.

[0069] The information is encoded into an internal format that is usable by the domain module 5a

[0070] An adapter module 5c is defined for a specific information system 1 that belongs to the domain identified.

[0071] The user 4 starts the information system.

[0072] The information system starts the adapter module.

[0073] The adapter module uses the information system to extract the objects that can be used by the user and passes this information to the domain module.

[0074] The domain module uses the object classes, attribute classes and action phrases set-ups aforementioned to build the term lists and combination rules for the generic module Sb.

[0075] The generic module converts the term lists and combination rules into a form acceptable to the recognition system and starts the latter.

[0076] The user generates a phrase.

[0077] The recognition system 2, after a plausible phrase was recognized, returns the recognized phrase to the generic module.

[0078] The generic module parses back the phrases into a combination rule and term lists and passes it back to the domain module.

[0079] The domain module reports the needed information to perform the action to the adapter module.

[0080] The adapter module then calls the information system to perform the action.

[0081] Example of classification of information treated by a The an interaction system according to the invention enabling a user to interact with a GIS domain information system:

[0082] We have an information system capable to display or select spatial objects either by property values or by spatial relationships.

[0083] Associated with this system, we have object types being countries and cities; the instances of the objects of these object types have two associated attributes being name and population. Name is of the textual attribute type, population of the numerical attribute type.

[0084] For the countries, we have two instances: the U.S.A. and the France.

[0085] Their respective populations are 250000000 and 60000000 inhabitants.

[0086] For the cities we have six instances: New York, Los Angeles, Dallas, Paris, Lyon, Marseille.

[0087] Their respective populations are 1200000, 10000000, 500000, 6000000, 1000000, 800000 inhabitants.

[0088] In the English language, one can define the following phrases to access the objects by the system:

[0089] Generic display/hiding operations:

[0090] Display the countries

[0091] Hide the countries

[0092] Display the cities

[0093] Hide the cities

[0094] Global selection operation:

[0095] Select all the countries

[0096] Select all the cities

[0097] Naming attribute selection operation

[0098] Select the country named France

[0099] Select the city named Los Angeles

[0100] Attribute condition expressions:

[0101] Having U.S.A. as name

[0102] With a population exceeding 1000000

[0103] Attribute related selection

[0104] Select the country which name is U.S.A

[0105] Select the city with a population of 12000000 inhabitants.

[0106] Spatial condition expressions:

[0107] Within the U.S.A.

[0108] Spatial related selection:

[0109] Select the cities within the U.S.A

[0110] Select the country wherein lies Paris

[0111] Thus we will define the following configuration items for the c2 element of the domain module of the system:

[0112] Domain definition

[0113] Domain X

[0114] Object classes

[0115] Displayable objects

[0116] Selectable objects

[0117] Spatially enclosing objects

[0118] Spatially enclosed objects

[0119] Numerically discriminated objects

[0120] Instance named objects.

[0121] Action classes (examples)

[0122] For displayable objects:

[0123] Display (presentation of the objects to the user)

[0124] Hide (masking of the objects from the user)

[0125] For selectable objects:

[0126] Select All (selection of the objects)

[0127] Deselect (de-selection of the objects)

[0128] Attribute classes

[0129] Object instance naming attribute

[0130] Queryable attribute

[0131] Attribute types

[0132] Numeric value attribute

[0133] Textual value attribute

[0134] Action phrases set-ups

[0135] List all (‘List all countries’, ‘List all cities’)

[0136] Select all (‘Select all countries’)

[0137] Condition (‘With a population exceeding 5 million’)

[0138] Sequences of term elements (example)

[0139] Condition command=[1] [2] [3] [4] [5]

[0140] Dynamic Term elements

[0141] [3]: queryable numeric attributes such as “population”.

[0142] Static Term elements

[0143] [1]=With | having

[0144] [2]=a

[0145] [4]=less than | greather than | equal to

[0146] [5]=number values

Claims

1. An interaction system (5) for enabling a user (4) of an information system (1) belonging to an application domain of similar information systems to interact with said information system (1), said interaction system (5) being aimed at being connected to the information system (1), and to a recognition system (2) for enabling said user (4) to interact with said information system (1) by means of phrases generated by said user (4) and processed by said recognition system (2), characterised in that said interaction system (5) comprises at least one domain module (5a) aimed at having defined therein phrases set-ups that are constructed based on objects classes, attribute classes and action classes that are common to said information systems of the considered application domain and are provided to be particularized with specific object types, action types, attribute types and their instances, provided from said information system (1), in order to define a grammar of phrases that are provided to be generated by said user (4) to interact with said information system (1).

2. An interaction system (5) according to claim 1, characterised in that it comprises a generic module (5b) connected to said at least one domain module (5a) and aimed at being connected to said recognition system (2), said generic module (5b) being aimed at converting said phrases that can be generated by said user (4) into a textual computer representation usable by said recognition system (2) for the recognition of said phrases when generated by said user (4) and being aimed at converting a textual computer representation produced by said recognition system (2) after recognition of a phrase generated by said user (4) has happened into a phrase defined by said grammar.

3. An interaction system (5) according to claim 2, characterised in that said generic module (5b) comprises an element (c1) containing information enabling configuration of said recognition system (2).

4. An interaction system (5) according to one of the preceding claims, characterised in that it comprises an adapter module (5c) connected to said at least one domain module (5a) and aimed at being connected to said information system (1), said adapter module (5c) being aimed at extracting objects, attributes, action types and their instances from said information system (1) and pass them to said at least one domain module (5a) and being aimed at driving said information system (1) for the latter to execute a demand for action contained in a phrase generated by said user (4).

5. An interaction system (5) according to one of the preceding claims, characterised in that said at least one domain module (5a) comprises an element (c2) containing information about general notions of objects and attributes identifying objects that is common to several application domains.

6. An interaction system (5) according to any preceding claim, characterised in that said at least one domain module (5a) is aimed at being connected to a system analyst and linguist (3) aimed at defining object classes, attribute classes, action classes and phrases set-ups that said at least one domain module (5a) is aimed at having defined therein.

7. An interaction system (5) according to any preceding claim, characterised in that said recognition system (2) is a speech recognition system and in that the phrases generated by said user (4) are generated by pronunciation by said user (4).

8. An interaction system (5) according to one of the claims 1 to 6, characterised in that said recognition system (2) is a text recognition system and in that the phrases generated by said user (4) are written by said user (4).

Patent History
Publication number: 20040064323
Type: Application
Filed: Aug 5, 2003
Publication Date: Apr 1, 2004
Applicant: VOICE-INSIGHT, Belgian Corporation
Inventors: Charles Kemper (Brussels), Francois Leger (Brussels), Aart Den Ouden (Brussels)
Application Number: 10634354
Classifications
Current U.S. Class: Translation (704/277)
International Classification: G10L011/00;