|
Лабораторная работа 1
...
Лабораторная работа 1
Декомпозиция (парсинг) знакового произведения.
Реализуется программой SEN_AN
Фрагмент ее описания с сайта языка Пролог -
The file SEN_AN is a very good example of an English sentence analyzer. The program can, just like the GEOBASE example, easily be modified to be able to parse more types of sentences.
The input to the sentence analyzer is a sentence, and the output is a list of Prolog clauses, that shows all parts of the sentence that have been recognized as grammatical components: verbp (for verbphrase), nounp (for nounphrase) etc.
Эта программа в Турбо Прологе рисует даже дерево разбора
...
|