Skip to content
Text docs0.2

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.

Repository learning map

I need to…Start withLearn by running
normalize, tokenize, stem, or extract phrases from KoreanKorean tokenizerTokenizer safety example
tokenize Japanese and inspect parts of speechJapanese tokenizerTokenizer safety example
detect one or several languages in a textLinguaLingua example
remove domain-specific blockwords with managed dictionariesDictionaries and blockwordsTokenizer safety example
find many keywords in one passText searchText search example
build a custom tokenizer or request boundaryTokenizer coreInput safety
align every Text artifact versionText BOMGetting 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:

  1. build and call one processor;
  2. choose between script filtering and statistical language detection;
  3. understand Korean and Japanese processor boundaries;
  4. build an immutable Aho-Corasick automaton;
  5. 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.

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.

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.