Tag

text-search

1 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
May 21, 2025 · Fundamentals

Aho-Corasick Automaton: Efficient Multi‑Pattern Text Search and Real‑Time Highlighting

This article explains the Aho‑Corasick automaton, a classic multi‑pattern matching algorithm that builds a Trie with fail pointers to achieve linear‑time search over massive keyword sets, and demonstrates a Java implementation for highlighting keywords in HTML documents.

Aho-CorasickCode ExampleJava
0 likes · 10 min read
Aho-Corasick Automaton: Efficient Multi‑Pattern Text Search and Real‑Time Highlighting
DevOps Operations Practice
DevOps Operations Practice
Sep 9, 2024 · Fundamentals

Comprehensive Guide to Using grep: Basic Syntax, Common Options, and Advanced Techniques

This article provides a detailed tutorial on the Linux grep command, covering its basic syntax, frequently used options such as case‑insensitive search, line numbers, recursive search, context lines, and advanced features like regex patterns, file inclusion/exclusion, multiple patterns, and handling large files.

Linuxcommand linegrep
0 likes · 5 min read
Comprehensive Guide to Using grep: Basic Syntax, Common Options, and Advanced Techniques