Below is a preview of your home page. Click Modify to make changes to your page. Click Save to save your page and share it with everyone on the Web. Your page will automatically be added to AOL Hometown.

SWONG

Domain

Mammal - suckles young, is warm-blooded
Birds - has feathers, has beak
Carnivore - eats meat
Vegetarian - eats vegetation
Bird of prey - eats meat, hunts
Scavenger - eats meat, does not hunt
Cat - has whiskers, is tame
Lion - has whiskers, is wild, has mane
Tiger - has whiskers, orange color, black stripes
Dog - barks, is tame
Giraffe - has long neck, has long legs
Ostrich - has long neck, laying eggs, not flying
Hawk - has talons, curved beak
Crow - is big, black

Illustration

An aminal-identification system which can classify an animal as a mammal or bird, then as carnivore, vegetarian, bird of prey and scavenger so on, as well as giving the name of the actual animal itself.

Sample of the program

To use the system, the user would type:
?_recognize(animal).

The system would reply:
Tell me(yes or no)
If(suckles_young, warm_blooded)

If the user types:
yes

The system would respond:
The creature is a mammal

The system would ask:
Tell me(yes or no)
If(eats_meat)

If the user types:
yes

The system would respond:
The creature is a carnivore
Tell me(yes or no)
If(orange_colour, black_stripes)

If the user types:
yes

The system would respond:
The creature is a tiger





Methods

The program is recursive. First, to recognize the Name of a creature, then check the list. If the list of the features is empty, write on the screen "I do not know this animal". If the list of the features is not empty, write on the screen the words "The creature is a " followed by whatever is presently filling the Subspecies variable. The system can take the form of a number of features characteristics of each creature. They probably won't be identical, but there should be some common group. For example, has whiskers could be a cat, a lion or a tiger, but if it were combined with a tame, it could be a lion if it were combined with is wild and has mane, or it could be a tiger if it were combined with has black strips. It is possible to update the list at anytime. The system is efficiency and user friendly.

page created with 1-2-3 Publish


Ready to show your page to the world?
Go back to the top and click the "SAVE" button.