Representing the knowledge
Frames :-- Frames
- Semantic Networks
- Rules
- Propositional and Predicate Logic
- Natural language understanding requires inference i.e., assumptions about what is typically true of the objects or situations under consideration.
- Such information can be coded in structures known as frames.
- Frame is a type of schema used in many AI applications including vision and natural language processing.
- Frames provide a convenient structure for representing objects that are typical to a stereotypical situations.
- The situation to represent may be visual scenes, structure of complex physical object, etc.
- Frames are also useful for representing commonsense knowledge.
- As frames allow nodes to have structures they can be regarded as three-dimensional represent ions of knowledge.
- A frame is similar to a record structure and corresponding to the fields and values are slots and slot fillers.
- Basically it is a group of slots and fillers that defines a conventional object.
- A single frame is not much useful. Frame systems usually have collection of frames connected to each other. Value of an attribute of one frame may be another frame.
- The above example is simple one but most of the frames are complex.
- Moreover with filler slots and inheritance provided by frames powerful knowledge representation systems can be built.
- Frames can represent either generic or frame.
- The fillers may values such as computer in the name slot or a range of values as in types slot.The procedures attached to the slots are called procedural attachments.
- if-needed,
- default and
- if-added
Default value is taken if no other exists. Defaults are used to represent commonsense knowledge. Commonsense is generally used when no more situation specific knowledge is available.
The if-added type is required if any value is to be added to a slot. In the above example, if a new type of computer is invented
ADD_COMPUTER procedure should be executed to add that information.
An if-removed type is used to remove a value from the slot.
No comments:
Post a Comment