Expand description
FFI-independent helpers shared by the Lindera language bindings
(lindera-python, lindera-php, lindera-ruby, lindera-nodejs,
lindera-wasm).
Each binding wraps the core lindera crate for its own FFI layer (PyO3,
ext-php-rs, magnus, napi, wasm-bindgen) and historically reimplemented the
same pure-Rust conversion logic. This crate holds that shared logic as
plain Rust so it can be unit-tested without any FFI toolchain.
Re-exports§
pub use error::CoreError;pub use error::CoreResult;pub use error::ErrorKind;pub use metadata::CoreMetadata;pub use schema::CoreFieldDefinition;pub use schema::CoreFieldType;pub use schema::CoreSchema;pub use token::TokenView;pub use tokenizer::CoreTokenizer;pub use tokenizer::CoreTokenizerBuilder;
Modules§
- argument
- Nesting limit for argument values that the bindings convert to JSON.
- error
- Shared, FFI-independent error type for the language bindings.
- metadata
- Shared dictionary-metadata defaults and schema wiring for the bindings.
- schema
- Shared dictionary-schema helpers for the language bindings.
- token
- tokenizer
- Shared tokenizer build-flow orchestration for the bindings.