Applications+of+prolog

=Applications of Prolog= 2. Expert System 3. Natural Processing Language 4. Graphic 5. Conclusion 6. Reference 7. Appendix || 1. Introduction Prolog (Programming in Logic) is used in many artificial intelligent areas. For example, expert system, natural language processing, games and automated answering system. Natural language processing has various applications, such as spelling and grammar checker to check our spelling mistake based on the dictionary vocabulary. Speech dictation becomes famous around the world. Instead of using typing trough keyboard, user needs only speak to the computer, then the words will be transformed into written text in the computer. Figure 1: Gaming
 * 1. Introduction

2. Expert System

Expert system is one of the field in artificial intelligence. In Expert system, prolog programming makes machine thinks like human. Mostly, expert system is used in decision making. In database of knowledge management, knowledge-based systems includes computerized collection, organization and retrieval of knowledge. For instance, PigE/AusPig – A system of decision support for pig producer. This system has a sophisticated computer software which assists piggery farmers to estimate the nutrients, feeding levels, experts analysis and advices for productions, identify opportunities to increase profits through better resource used. Another example of using Prolog in expert system. This interesting examples shows that rating of "hot girls". Artificial Intelligence using prolog to make aesthetic judgments on hot girls. Figure 1: Rating of hot girl using expert system.

Besides that,legolog also running using Prolog in expert system. Legolog is a Prolog-based system developed to allow experimentation with and demonstration of Cognitive Robotics research on the LEGO ® MINDSTORMS TM Robotics Invention System (RIS)TM. In particular, it was originally aimed at controlling the RIS via a Golog  planner. However, the code has been structured in such a way as to allow the Golog interpreter to be replaced by another planner with a minimum of effort. Legolog is intended to run on various Prolog implementations with current support for SWI-Prolog  and ECLiPSe Prolog  under Linux <span style="font-size: 10pt; font-family: 'Arial','sans-serif';">, and <span style="font-size: 10pt; color: windowtext; font-family: 'Arial','sans-serif'; text-decoration: none;">LPA Prolog <span style="font-size: 10pt; font-family: 'Arial','sans-serif';"> under DOS. <span style="font-size: 10pt; font-family: 'Arial','sans-serif';">The basic philosophy behind Legolog is that the RCX is programmed with simple behaviours that correspond to primitive actions. The RCX can also monitor for exogenous actions that need to be reported to the Golog interpreter. The RCX does no reasoning whatsoever. Reasoning is performed by a planner like Golog. It decides what primitive actions to perform which are subsequently executed by the RCX. Golog also monitors for reports of exogenous actions and sensing information from the RCX. The Golog interpreter runs under Prolog on a standalone machine. All communication between Golog and the RCX is done via the infrared tower. Moreover, all communication is initiated by Prolog.

media type="file" key="legolog-long.mov"

Video : Legolog which operate using Prolog in Expert System

3. Natural Language Processing

Natural Language Processing(NLP) is another field of Artificial Intelligence. NLP is the combination of computers science and linguistics which related to the interactions between computers and human (natural) languages. An example of Natural Language processing which uses prolog in it's application is google spelling check. Google will detect spelling error and suggest relevant vocabulary. Figure 2: Google logo

4. Graphic

<span style="font-size: 11pt; line-height: 115%; font-family: 'Calibri','sans-serif';">Fractals.pro. is a sample program using Strawberry Prolog which is one of the prolog programs. It is an infinite graphic in which you can move and probably can even get lost. This program uses recursive function because you can obviously see it through the fractals graphic which possess a visually recursive form. figure 3: <span style="font-size: 11pt; line-height: 115%; font-family: 'Calibri','sans-serif';">//A Log Starburst Fractal// Figure 4: // A Mesh Algorithm Fractal //

5. Conclusion

Basically, prolog uses “recursion” that uses base case (same function name). Without base case, prolog will loop infinitely. Hence, base case is very important in prolog application to solve a problem. Prolog has its built-in database, so that user can save their facts and rules easily. This feature is important for those who want to solve problems by using prolog because all the information they can just key in the database (e.g. In notepad.)

6. Reference

[], 29 July 2009 [], 29 July 2009 [], 29 July 2009 [], 29 July 2009 <span style="font-size: 11pt; color: rgb(13, 13, 13); line-height: 115%; font-family: 'Calibri','sans-serif';"><span style="color: rgb(13, 13, 13);">[], 29 July 2009 <span style="color: rgb(13, 13, 13);">[], 29 July 2009

7. Appendix (Pictures and Videos related to this topic)

Video 1: Makes Joke with your robot. media type="file" key="Make a joke with your robot.flv"

Video 2: Video of Robot with artificial intelligence media type="file" key="video of Robot with artificial intelligence.flv" .

And Lastly: our recommendation~

Good movie suggestion. He he J Enjoy

Carolyne Alphonsus Chieng Lung Hei Choo Pei Ching Ng Choon See Ng Boon Ding

<span style="font-family: 'Times New Roman','serif'; font-size: 12pt;">__amelia's notes__ marks: Content - 5/5 Creativity - 4/5 Structure - 5/5 Collaboration - 5/5 Total = 19/20 (will round all wiki-marks to 10% at the end of the semester)