bluetape4k-text 0.2 Manual
Latest stable Based on Text release 0.2.1
bluetape4k-text is a Kotlin/JVM toolkit for Korean and Japanese tokenization, language detection, dictionary-backed filtering, and multi-pattern text search. This manual documents the stable 0.2.1 release and organizes the library by the problem you need to solve rather than by repository directory alone.

Core capabilities
Section titled “Core capabilities”| I need to… | Start with | Learn by running |
|---|---|---|
| normalize, tokenize, stem, or extract phrases from Korean | Korean tokenizer | Tokenizer safety example |
| tokenize Japanese and inspect parts of speech | Japanese tokenizer | Tokenizer safety example |
| detect one or several languages in a text | Lingua | Lingua example |
| remove domain-specific blockwords with managed dictionaries | Dictionaries and blockwords | Tokenizer safety example |
| find many keywords in one pass | Text search | Text search example |
| build a custom tokenizer or request boundary | Tokenizer core | Input safety |
| align every Text artifact version | Text BOM | Getting started |
If you are not sure which path applies, use the capability selection guide. It compares detection, tokenization, filtering, and search as separate capabilities that can be composed when needed.
The shortest route to a working program is Getting started. It shows dependency management through bluetape4k-dependencies, the Text-only BOM alternative, and a small Korean tokenization example.
The repository contains six published artifacts. The BOM aligns five runtime libraries; it does not provide runtime classes itself. See the repository map before selecting dependencies for a larger service.
The learning path is more than a list of links. Each stage explains what to learn, which runnable example to execute, what result to inspect, and when to continue:
- build and call one processor;
- choose between script filtering and statistical language detection;
- understand Korean and Japanese processor boundaries;
- build an immutable Aho-Corasick automaton;
- add request, memory, and failure controls.
Detailed module pages include the smallest useful code, result interpretation, selection rules, constraints, and links to stable source. The three example pages explain how to modify the repository examples instead of merely pointing at their directories.
Operate
Section titled “Operate”Text processing is not free. Language models, tokenizer dictionaries, and search automatons have different startup and memory profiles. Read runtime boundaries, startup and memory, and failure contracts before placing them behind an HTTP endpoint.
The quality gates page separates deterministic repository evidence from claims the release does not make. The Aho-Corasick benchmark records the exact local run conditions and explains why those values are comparison snapshots, not production rankings.
Version and source
Section titled “Version and source”This manual covers minor line 0.2 and is pinned to stable release 0.2.1 at commit 2db7671afad20045afdcb5793c0113b8b23b972b. Source links point to that release, so future development does not silently change the contract described here.