Chapter 12. Writing the PC Repair Assistant

In this chapter you’ll...

  • Collect knowledge using flowcharts
  • Translate flowcharts into rules
  • Enhance the ask module from part 3

In this chapter, you’ll write a rule-based system with a command-line interface, just like the Tax Forms Advisor. You’ll obtain the necessary knowledge by interviewing computer repair technicians, develop the rules, and test the system. This application reuses some techniques you developed for the Tax Forms Advisor. For instance, you’ll modify and then reuse the ask module to ask the user for input. You’ll again use modules to represent processing phases: The main knowledge base is in the MAIN module, and we’ll introduce a new control module named trigger.

Of course, this ...

Get Jess in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.