|
Лабораторная работа 2
...
Лабораторная работа 2
Когнитивный диалог с базой знаний.
Реализуется программой GEOBASE
Фрагмент ее описания с сайта языка Пролог -
Geobase demonstrates a natural language interface to a database on U.S. geography written in Visual Prolog.. It shouldn''''t be too difficult to modify it to your own purposes, so that this will be the first step on the way to designing natural language interfaces to your programs. As all Prolog programs, Geobase is highly extendible. Try yourself to extend Geobase rule base, so that Geobase can manage more sentences. It isn''''t that difficult! Geobase allows you to query its database in English rather than "computerese"-commands.
Geobase is by no means a complete geographical database of the United States, nor is it a complete English language interface. If you plan to write similar routines in your own programs, studying how the code is put together and how certain routines are implemented should help. Again, we urge you to modify Geobase to be a more complete program. This will not only sharpen your Visual Prolog programming skills, but it will also keep you off the streets late at night.
...
|