liveBook · Manning

Inference engine

As explained in Natural Language Processing in Action, Second Edition

An inference engine is a computational system that derives conclusions from facts and rules and can use them to support decisions.

An inference engine derives logical conclusions from conditions detected in an environment, combining extracted information with a domain knowledge base to support decisions. section 1.9

In an NLP pipeline, entity relationships and extracted knowledge populate the database that enables inference. A chatbot can also produce useful behavior without this deeper layer by relying on simpler language-processing algorithms. section 1.9

Chatbot decision pipeline

A chatbot may extract information from a user statement, combine it with domain knowledge, and infer a logical response. Simpler systems instead compare statements with stored examples using edit distance and reuse a matching reply. section 1.9

Figure 1.8 Example layers for an NLP pipeline
figure

Use the layered NLP pipeline diagram to locate inference engines beneath text processing, entity relationships, and knowledge-base construction. section 1.9

How Natural Language Processing in Action, Second Edition covers it

How deep it goes
Defines inference and places it within an NLP pipeline, but stops short of implementation details for the engine itself.
Examples
Uses chatbot pipelines, extracted statements, stored statement–response pairs, and edit-distance matching as concrete examples.
What you can do after
Evaluate how a chatbot can combine extracted information and domain knowledge to produce logically supported decisions.
How it connects
Connects inference engines with natural language processing, knowledge bases, entity relationships, chatbots, and logical decisions.

Also explained in

Compare how 3 books explain inference engine →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Natural Language Processing in Action, Second Edition. The section links point to the parts of the book it draws on.