Core

class gozokia.core.rules.RuleBase

All rules inherit from RuleBase. All rules needs a condition, a response.

RuleBase is the base model to all rules. with this class, the rules will can to access to the main class (Gozokia), the sentence (the input), and/or the analyzer (if it is active)

class gozokia.core.rules.Rules(*args, **kwargs)
get_rule(gozokia)

Get the active rule or find one.

get_rules(type_rule=None)

return a diccionary of rules order by rank and filter by type or fule

class gozokia.core.text_processor.Analyzer