Question: A complete solution to the problem of inexact matches to the buyers description in shopping is very difficult and requires a full array of natural
A complete solution to the problem of inexact matches to the buyer’s description in shopping is very difficult and requires a full array of natural language processing and information retrieval techniques. (See Chapters 22 and 23) One small step is to allow the user to specify minimum and maximum values for various attributes. We will insist that the buyer use the following grammar for product descriptions:
Description → Category [Connector Modifier] *
Connector → “with” │ “and” │ “,”
Modifier → Attribute │ Attribute Op Value
Op → “=” │ “>” │”<”
Here, Category names a product category, Attribute is some feature such as “CPU” or “price,” and Value is the target value for the attribute. So the query “computer with at least a 2.5-GHz CPU for under $1000” must be re-expressed as computer with CPU > 2.5 0Hz and price <$1000.” Implement a shopping agent that accepts descriptions in this language.
Step by Step Solution
3.39 Rating (171 Votes )
There are 3 Steps involved in it
Explain how to use logic to parse text strings and extract semantic informat... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
21-C-S-A-I (151).docx
120 KBs Word File
