As an example, consider an ``intelligent MP3 music player''. It reacts to speech commands of the form ``play tracks 1 to 5''.
Semantic interpretation consists of translating natural language into useful semantic representation which can serve as the basis of intelligent behavior. The requirements on the semantic representation are:
One of the key computation required on semantic representation is the incremental construction of a semantic model. The model encodes all the information known about a situation up to a given point. This information is the basis for the behavior of the device.
Note: The Turing test has been proposed in the past as a test of intelligence. It is based on a behavioral test -- can a human observer distinguish an artificial actor from a human actor based only on the external behavior of the device.
A model is logically consistent if it does not contain logical contradictions. For example, one cannot state in the same model that the music device contains currently 5 songs and also contains 10 songs.
As a consequence, one of the requirements on the semantic representation is that it should be capable of detecting such contradictions. The device should refuse to update its model if the new information it processes contradicts existing information.
This requires the possibility to perform inference on the basis of the knowledge currently encoded in the model. Semantic interpretation is therefore the operation of translating a natural language utterance into data that can be merged into an existing semantic model. It will fail if the utterance cannot be understood, or if the understanding of the utterance contradicts existing data in the model.
There are several forms of implicitness in natural language -- in general, implicitness contributes to the efficiency of natural language in human communication. Grice proposed a classification in these terms:
Example: Consider a sophisticated music device that can play and record. A command to the device might be: Play track 3 and record it as "Bob's Best No.1".
What information is not stated explicitly in this command? The temporal aspect is left unspecified ("play as soon as possible"). If the device is currently playing another track when this command is processed, what should be done? Interrupt the current track and start the new track, or wait for the previous track to complete? When should the recording start? We expect the recording to start exactly together with the playing of track 3 -- but this is not stated explicitly. Should the playing of track 3 be performed in such a way that we can listen to it (real time playout) or should it be performed as fast as possible to enable recording (which can be done faster than realtime?).
Another way to look at implicit content, is to apply interpretative
strategies to understand why a specific content was uttered at a given
time and place. The result of this computation (inference process) is
to derive possible continuations to an utterance.
Example:
The dog is barking.
Possible continuations:
The operation of classification is used to determine how specific expression in the terminological component relates to existing concepts.
To illustrate the operation, consider the syntax of frame languages such as CLASSIC. This syntax covers a subset of first order logic.
;; Assertions (a person (name "Michael") (age 43)) === (and (instance person X) (value name X "Michael") (value age X 43))The language can also be used to define the properties of frames and their relations:
;; Terminological (each person (isa animal) (name string) (age integer)) === (and (concept person) ;; person is a concept (sub person animal) ;; person is a subset of the animal concept (rel name person string) ;; the relation name links a person to a string (rel age person integer)) ;; the relation age links a person to an integerThe operation of classification determines whether a new expression such as the definition of the person concept above can be classified as another concept, or whether a specific instance (such as the person X above) can be classified as a specific concept. Classification is used to perform inference relative to a specific terminological and a specific assertional database.