Unit 3 A Be sure to carefully follow the syntax and semantics of each representational scheme. For pictorial/graphical representations, you may hand draw them, scan them, and import them into your document. Or, you may use the drawing tools available in your software app. For quantifiers in predicate logic, feel free to use A and E if you are unable to produce the specialized symbols (∀ and ∃) For help with logic, review the handout online. There are many other resources available on predicate logic, for example: http://www.cs.odu.edu/~toida/nerzic/content/logic/pred_logic/intr_to_pred_logic.html 1)Represent the following facts as a set of frames:“The aorta is a particular kind of artery which has a diameter of 2.5 cm.An artery is a kind of blood vessel.An artery always has a muscular wall, and generally has a diameter of 0.4 cm.A vein is a kind of blood vessel, but has a fibrous wall.Blood vessels all have tubular form and contain blood.” 2)Represent the following facts in the language of predicate logic:Every apple is either green or yellow.No apple is blue.If an apple is green then it is tasty.Every man likes a tasty apple. 3)“Herbert is a small hippopotamus who lives in Edinburgh zoo. Like all hippopotamuses he eats grass and likes swimming.”Represent the above:as a semantic network;in predicate logicFor quantifiers, feel free to use “A” and “E” if you are unable to produce the specialized symbols Develop a simple set of rules for diagnosing respiratory symptom diseases given patient symptoms, using the following knowledge of typical symptoms. Describe how a simple backward chaining interpreter could be used to go through the possible diagnoses, asking the user questions about their symptoms. If you have an expert system shell available, try implementing a simple diagnosis system based on the above.Influenza: Symptoms include a persistent dry cough and a feeling of general malaise.Hayfever: Symptoms include a runny nose and sneezing. The patient will show a positive reaction to allergens, such as dust or pollen.Laryngitis: Symptoms include a fever, a dry cough, and a feeling of general malaise. A “laryngoscopy” will reveal that the person has an inflamed larynx.Asthma: Symptoms include breathlessness and wheezing. If it is triggered by an allergen, such as dust or pollen, it is likely to be “extrinsic asthma”. “Intrinsic asthma” tends to be triggered by exercise, smoke or a respiratory infection.What do you think are the main problems and limitations of the rule-set developed for the question above? What additional knowledge might be useful to deal with more complex or subtle diagnoses? Unit 3 E In exercise 1, create the parse tree for each sentence. Sentences which can be recognized will have a complete parse tree while unrecognized sentences will have incomplete parse trees. Be sure to indicate which sentences are recognized. In exercise 2, list the full DCG notation for the extended grammar. Test your grammar by using Amzi prolog. Amzi Prolog allows DCG to be input directly. Therefore, you can enter your grammar exactly as you would create it for problem #2, page 123. For example, you can enter: sentence –> np(N), vp(N). etc.The only “trick” is how to specify the sentence to check for proper grammar. Here’s how:?- sentence([word1,word2,word3,etc],[]).note the use of square brackets within the parentheses, each word of the sentence is entered between commas, and the final argument [] (open bracket, close bracket). Thus to check whether “All rabbits eat carrots” is syntactically correct, enter?- sentence([all,rabbits,eat,carrots],[]). Examples:?- sentence([the,rabbit,eats,the,carrot],[]).yes?- sentence([rabbit,the,carrot,eats,the],[]).no Submit the .pro file as text copied within the document you submit here. Please upload one document with all exercise answers along with your name and ID# The following is a grammar of a subset of English in DCG notation:sentence –> np(N), vp(N).np(N) –> det, noun(N).vp(N) –> verb(N), np(_).noun(s) –> [carrot].noun(s) –> [rabbit].noun(p) –> [rabbits].verb(s) –> [eats].det –> [the].Which of the following sentences can be recognized with this Grammar?The carrot eats the carrot.The rabbits eats the carrot.The rabbit eats carrots.For each sentence which is recognized by the grammar, show its parse tree.Extend the grammar to handle sentences like the following. “All” and “some” should be treated as kinds of determiner (det).All rabbits eat carrots.Some rabbits eat the carrot.The rabbit eats every carrot.The grammar should NOT allow sentences that are grammatically incorrect because a plural noun (e.g. carrots) is used with a determiner that can only be used with singular nouns (e.g., a, every) or vice versa, e.g.,All rabbit eat the carrot.A rabbits eat the carrotEvery rabbits eat the carrots.Try out your grammar using Prolog. Unit 4 BApply the difference operator mask on page 129 to the image on page 128. Notes: use a threshold of 2; use the absolute value of the difference operation; the resulting matrix will be 7×7 rather than 8×8 (as the original is). List the resulting matrix and show your work in computing it. This is a difficult assignment; don’t panic, but work carefully and deliberately.Please find another attachment for text book
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Ace Writing Center has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.
Essays
At Ace Writing Center, Nowadays, students normally have extremely busy schedules. You will note that some of them have to take on some evening or weekend jobs in order to get some income that can help them to sustain in college or in the university. This can deny them a chance to write all the essays given. Others usually get bombarded with a lot of work by their lecturers. This can still delay such students from working on all their essays. However, some of them usually try to work on all these essays but end up delivering their work late. This can prevent them from graduating since most lecturers are strict on deadlines. If you want to write a business essay, the wise way is to hire an outstanding essay writing service like us, so that you can get the best results. If you are keen, you will note that many companies usually overcharge their customers. Some of them are there only to make money. And in reality, they really don’t care to build a long term commitment with students. You should not choose such companies. You should take your time and choose a reliable company to work with. Ace Writing Center is the ultimate solution for you. We have been offering our writing service for more than 7 years. This is a clear indication that you will get quality essay writing service. We have a wide range of writers who can work on any business essay that you might have. We believe in doing extensive research so that we can provide quality work to all our clients. .
Admissions
Admission and Business Papers
Have you ever had to write an admission essay for college? The majority of students face the same issues when applying to a university or college and many in such situations decide they need professional help to cope with this matter. They get in a situation when the deadline keeps coming closer but lack motivation to start because they are just not sure if their writing skills are strong enough. We have a solution for you! Ace Writing Center is the best admission essay writing service with a large professional team and years of experience in providing high-quality papers to students of all levels and faculties. The mission of our team is to help students make their dreams of entering a good college come true and that’s what we offer!.
Editing
Editing and Proofreading
Sometimes all the words for your paper just flow out of your mind and into your fingers. You type quickly at your keyboard and there they are, your beautiful words right there on the screen. But you have no idea how to polish it up. You may be wishing there was a paper writing service that offered this type of writing service. Look no more! Here at Ace Writing Center, we offer you an editing and proofreading option that you can't find anywhere else..
Coursework
College Essay Writing
In case you are familiar Ace Writing Center, you know the way to distinguish a better company from a cheap one exactly. First of all, poor service website does not have a sufficient support. We think support team is an essential part of success; it has to answer all clients’ questions and be a connecting link between clients and their writers. On our web-service you will get answers about anything you need and your writer will receive all your instructions, assignments and requirements exactly and swiftly. A writing service that we run has got a flexible pricing system that will save you from senseless wastes and many bonus systems that let you sparing money for something important for you.