Expand description
§Lindera Node.js Bindings
Node.js bindings for Lindera, a morphological analysis library for CJK text.
Built with NAPI-RS for high-performance native Node.js addon support.
§Features
- Dictionary management: Build, load, and use custom dictionaries
- Tokenization: Multiple tokenization modes (normal, decompose)
- Filters: Character and token filtering pipeline
- Training: Train custom morphological models (with
trainfeature) - User dictionaries: Support for custom user dictionaries
- TypeScript: Full type definitions generated automatically
Modules§
- dictionary
- Dictionary management for morphological analysis.
- error
- Error handling utilities for Lindera Node.js bindings.
- metadata
- Dictionary metadata configuration.
- mode
- Tokenization modes and penalty configurations.
- schema
- Dictionary schema definitions.
- token
- Token representation for morphological analysis results.
- tokenizer
- Tokenizer implementation for morphological analysis.
- trainer
- Training functionality for custom morphological models.
- util
- Utility functions for data conversion.
Functions§
- version
- Returns the version of the lindera-nodejs package.