Cargo Features

[dependencies]
lindera-cli = { version = "2.0.1", default-features = false, features = ["embed-ipadic", "embed-ipadic-neologd", "embed-unidic", "embed-ko-dic", "embed-cc-cedict", "embed-cjk", "embed-cjk2", "embed-cjk3", "compress", "mmap", "train"] }
embed-ipadic

Embed IPADIC dictionary in the binary

Enables embed-ipadic of lindera

embed-ipadic-neologd

Embed IPADIC-NEologd dictionary in the binary

Enables embed-ipadic-neologd of lindera

embed-unidic

Embed UniDic dictionary in the binary

Enables embed-unidic of lindera

embed-ko-dic

Embed ko-dic dictionary in the binary

Enables embed-ko-dic of lindera

embed-cc-cedict

Embed CC-CEDICT dictionary in the binary

Enables embed-cc-cedict of lindera

embed-cjk

Embed CJK dictionaries (IPADIC, ko-dic, CC-CEDICT) in the binary

Enables embed-cjk of lindera

embed-cjk2

Embed CJK dictionaries (UniDic, ko-dic, CC-CEDICT) in the binary

Enables embed-cjk2 of lindera

embed-cjk3

Embed CJK dictionaries (IPADIC NEologd, ko-dic, CC-CEDICT) in the binary

Enables embed-cjk3 of lindera

compress default

Compress dictionaries

Enables compress of lindera

mmap default

Use memory-mapped file

Enables mmap of lindera

train default

Enable training functionality

Enables train of lindera

default = compress, mmap, train

These default features are set whenever lindera-cli is added without default-features = false somewhere in the dependency tree.