Skip to content

A Rule Engine made by myself using python. Which explain the rules wrote in TXT file, and accept the fact situation in dictionary format, finally output another dictionary contains the reasoning result.

Notifications You must be signed in to change notification settings

liu-nlper/A-Rule-Engine-based-on-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A-Rule-Engine-based-on-Python

A Rule Engine made by myself using python. Which explain the rules wrote in TXT file, and accept the fact situation in dictionary format, finally output another dictionary contains the reasoning result.

Attention: the fact dictionary you input need to be matched the rules'condition you wrote ,or you will get a null result.

INPUT: dict(fact) OUTPUT: dict(result) the engine explain the rules you wrote in a certain format in TXT and record the data as a rule table. when you throw a fact dictionary to it , it will work like a pipeline , and output another dictionary which may have some data you interested in.

About

A Rule Engine made by myself using python. Which explain the rules wrote in TXT file, and accept the fact situation in dictionary format, finally output another dictionary contains the reasoning result.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%