Skip to main content

classify

Function classify 

Source
pub fn classify(
    sign: &SignTuple,
    grammar: GrammarState,
    rho: f32,
    thresholds: &SyntaxThresholds,
) -> MotifClass
Expand description

Classify a sign tuple and grammar state into a named motif.

This is a pure deterministic function: identical inputs always produce identical outputs (Theorem 9 of the paper).