PyReason
latest
Tutorials
Running Pyreason with an advanced graph
PyReason Hello World!
How to Create Rules
Installing PyReason
Understanding Key Concepts
API Reference
PyReason
pyreason.scripts.utils.rule_parser
Edit on GitHub
pyreason.scripts.utils.rule_parser
Module Contents
Functions
parse_rule
(...)
parse_rule
(
rule_text
:
str
,
name
:
str
,
custom_thresholds
:
list
,
infer_edges
:
bool
=
False
,
set_static
:
bool
=
False
,
immediate_rule
:
bool
=
False
)
→
pyreason.scripts.numba_wrapper.numba_types.rule_type.Rule
[source]