Cargo Features

Lindera has no features set by default.

[dependencies]
lindera = { version = "0.39.0", features = ["ipadic", "ipadic-neologd", "unidic", "ko-dic", "cc-cedict", "cjk", "cjk2", "cjk3", "compress", "memmap"] }
default

No directories included

ipadic cjk?

Include IPADIC dictionary (Japanese)

Enables ipadic of lindera-ipadic

ipadic-neologd cjk3?

Include IPADIC NEologd dictionary (Japanese)

Enables ipadic-neologd of lindera-ipadic-neologd

unidic cjk2?

Include UniDic dictionary (Japanese)

Enables unidic of lindera-unidic

ko-dic cjk? cjk2? cjk3?

Include ko-dic dictionary (Korean)

Enables ko-dic of lindera-ko-dic

cc-cedict cjk? cjk2? cjk3?

Include CC-CEDICT dictionary (Chinese)

Enables cc-cedict of lindera-cc-cedict

cjk = cc-cedict, ipadic, ko-dic

Include CJK dictionaries

cjk2 = cc-cedict, ko-dic, unidic

Include CJK dictionaries

cjk3 = cc-cedict, ipadic-neologd, ko-dic

Include CJK dictionaries

compress

Compress dictionaries

Enables compress of lindera-cc-cedict, lindera-dictionary, lindera-ipadic, lindera-ipadic-neologd, lindera-ko-dic, and lindera-unidic

memmap

Enables memmap of lindera-dictionary

Affects dictionary::load_dictionary_from_path_memmap

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

lindera-cc-cedict cc-cedict? compress?
lindera-ipadic compress? ipadic?
lindera-ipadic-neologd compress? ipadic-neologd?
lindera-ko-dic compress? ko-dic?
lindera-unidic compress? unidic?