PatternMining::PatternSpecializer
Inherits Reference < Object
Pattern specializer for creating more specific patterns
Constructors
new(atomspace : AtomSpace::AtomSpace)
Instance methods
atomspace
determine_shallow_abstractions(valuations : Array(Valuation)) : Array(ShallowAbstraction)
Determine shallow abstractions from a set of valuations This identifies common structural patterns in the groundings
specialize_pattern(base_pattern : PatternMatching::Pattern, abstraction : ShallowAbstraction) : PatternMatching::Pattern | Nil
Specialize a pattern by composing it with a shallow abstraction