hindol / aho-corasick

Multi-pattern String Search in Java using Aho Corasick String Matching Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aho-corasick

Multi-pattern String Search in Java using Aho Corasick String Matching Algorithm

Matcher matcher = new AhoCorasickMatcher.Builder()
        .addPatterns("he", "she", "his", "hers")
        .build();
System.out.println(matcher.match("she and her cat went to his home"));

About

Multi-pattern String Search in Java using Aho Corasick String Matching Algorithm

License:MIT License


Languages

Language:Java 100.0%