"Matthew Probert - The Mechanics of Human Conversation" - читать интересную книгу автора (Probert Matthew)+----------------+ | INPUT PHRASE | +-------|--------+ \|/ +----------+----------+ +----------->-------------+ COMPARE INPUT PHRASE| | | WITH STORED PHRASES | | +-----------|---------+ | \|/ | +--+ +--+---+ +---+ | |NO+---------<------+MATCH?|------>-------+YES| | +|-+ +------+ +-|-+ /|\ \|/ \|/ | | +------+-------+ | | | RESPOND | | | +--------------+ | | ++--+ +------+-------+ |YES|-----+ ANY MORE | +---+ |STORED PHRASES| \|/ +----------+ +-++ | | |NO+----->-----+ FAILURE | +--+ | | +----------+ Fig 3. Flow diagram of a slot-and-frame parser A slot-and-frame parser is simply an implementation of two tables of data: one of known or expected phrases, a second with corresponding responses. Phrase Response +--------------------|------------------------+ |HELLO | HELLO | +--------------------+------------------------+ |HOW ARE YOU? | VERY WELL THANK YOU | +--------------------+------------------------+ |HOW'S THE WIFE? | STILL BREATHING | +--------------------+------------------------+ |DO YOU WANT A BEER? | IS THE POPE A CATHOLIC?| |
|
© 2025 Библиотека RealLib.org
(support [a t] reallib.org) |