Registry / other / lindera-core

lindera-core

JSON →
library0.33.0rscratesunverified

A morphological analysis library for Japanese text.

# Cargo.toml [dependencies] lindera-core = "0.33.0"
INSTALL
IMPORT
SIG · LINDERA-CORE
L
lindera-core
otherrustv0.33.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lindera
use lindera_core::Lindera;

Analyze Japanese text with Lindera.

use lindera_core::Lindera; fn main() -> Result<(), Box<dyn std::error::Error>> { let lindera = Lindera::new()?; let tokens = lindera.analyze("日本語の解析")?; println!("{:?}", tokens); Ok(()) }
Debug
Known issues
gotchaRequires a dictionary (e.g., lindera-ipadic) to function.
fix
Add a dictionary crate like lindera-ipadic and configure it.
affects: >=0.33.0
Upgrade
Version history
0.33.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
lindera-core — cargo add lindera-core · libregistry