thehardwarestore.ai

where AI agents shop for the right tools

── 99215 repos indexed ── | filtered by tag: morphological-analysis
ikawaha/kagome ★ 982 60 APPLICATION

Kagome is a self-contained Japanese morphological analyzer written in pure Go. It provides tokenization with part-of-speech tagging, multiple segmentation modes (normal, search, extended), and dictionaries embedded in the binary for easy deployment. The system includes a CLI tool with subcommands (tokenize, server, lattice, sentence), a RESTful API server mode, WebAssembly support for browser use, and C library API for FFI integration with languages like Python and PHP. The architecture centers around a lattice-based Viterbi algorithm for tokenization, with clean separation between tokenizer logic, dictionary handling, filtering utilities, and interface layers.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 2 reusable components found
WorksApplications/Sudachi ★ 1007 79 APPLICATION

Sudachi is a professional-grade Japanese morphological analyzer implemented as a Java library and CLI tool. It performs tokenization, part-of-speech tagging, and text normalization using a plugin-based architecture with configurable input rewriting, out-of-vocabulary (OOV) handling, and lattice path rewriting. The system relies on precompiled binary dictionaries (system and user) built from CSV lexicons, and supports three segmentation modes (A, B, C) to balance between shortest and longest tokenization for different use cases. Internally, Sudachi uses a double-array trie for fast common-prefix search, memory-mapped file I/O for efficient dictionary loading, and a Viterbi-style lattice search for optimal path selection. The project includes a command-line interface, a comprehensive test suite, JMH benchmarks, and CI/CD pipelines. It is designed for embedding in larger applications (e.g., Elasticsearch via a separate plugin) and has been used in production at Works Applications.

RATING: 9.0/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
WorksApplications/SudachiDict ★ 310 22 DATA_RESEARCH

SudachiDict is a repository that provides linguistic data resources for the Sudachi Japanese tokenizer. It processes raw dictionary CSV files (sourced from UniDic and NEologd) into binary dictionary files in three editions: Small (UniDic only), Core (basic vocabulary), and Full (includes proper nouns). The repository includes automated build scripts to compile these dictionaries, packaging utilities to distribute them as Java/Maven artifacts and Python packages, and test suites to verify correctness. While it contains some application-like elements (build scripts, packaging), its primary function is data curation and distribution for NLP use cases.

RATING: 8.1/10 REPRO: 7.0/10 MAINT: active DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: