• Azura The Spellkissed@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    5
    ·
    14 hours ago

    This post describes the construction of an Aho-Corasick automaton for the simultaneous matching of substrings within a sequence. I’m fond of this algorithm because it constructs an automaton from an existing tree data structure in a rather pleasant way.