Cargo Features

[dependencies]
lingua = { version = "1.6.2", default-features = false, features = ["accuracy-reports", "python", "afrikaans", "albanian", "arabic", "armenian", "azerbaijani", "basque", "belarusian", "bengali", "bokmal", "bosnian", "bulgarian", "catalan", "chinese", "croatian", "czech", "danish", "dutch", "english", "esperanto", "estonian", "finnish", "french", "ganda", "georgian", "german", "greek", "gujarati", "hebrew", "hindi", "hungarian", "icelandic", "indonesian", "irish", "italian", "japanese", "kazakh", "korean", "latin", "latvian", "lithuanian", "macedonian", "malay", "maori", "marathi", "mongolian", "nynorsk", "persian", "polish", "portuguese", "punjabi", "romanian", "russian", "serbian", "shona", "slovak", "slovene", "somali", "sotho", "spanish", "swahili", "swedish", "tagalog", "tamil", "telugu", "thai", "tsonga", "tswana", "turkish", "ukrainian", "urdu", "vietnamese", "welsh", "xhosa", "yoruba", "zulu", "benchmark"] }
default = afrikaans, albanian, arabic, armenian, azerbaijani, basque, belarusian, bengali, bokmal, bosnian, bulgarian, catalan, chinese, croatian, czech, danish, dutch, english, esperanto, estonian, finnish, french, ganda, georgian, german, greek, gujarati, hebrew, hindi, hungarian, icelandic, indonesian, irish, italian, japanese, kazakh, korean, latin, latvian, lithuanian, macedonian, malay, maori, marathi, mongolian, nynorsk, persian, polish, portuguese, punjabi, romanian, russian, serbian, shona, slovak, slovene, somali, sotho, spanish, swahili, swedish, tagalog, tamil, telugu, thai, tsonga, tswana, turkish, ukrainian, urdu, vietnamese, welsh, xhosa, yoruba, zulu

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

accuracy-reports = cld2, indoc, titlecase, whatlang, whichlang

Required by the accuracy_reports binary

python = pyo3
afrikaans default = lingua-afrikaans-language-model
albanian default = lingua-albanian-language-model
arabic default = lingua-arabic-language-model
armenian default = lingua-armenian-language-model
azerbaijani default = lingua-azerbaijani-language-model
basque default = lingua-basque-language-model
belarusian default = lingua-belarusian-language-model
bengali default = lingua-bengali-language-model
bokmal default = lingua-bokmal-language-model
bosnian default = lingua-bosnian-language-model
bulgarian default = lingua-bulgarian-language-model
catalan default = lingua-catalan-language-model
chinese default = lingua-chinese-language-model
croatian default = lingua-croatian-language-model
czech default = lingua-czech-language-model
danish default = lingua-danish-language-model
dutch default = lingua-dutch-language-model
english default = lingua-english-language-model
esperanto default = lingua-esperanto-language-model
estonian default = lingua-estonian-language-model
finnish default = lingua-finnish-language-model
french default = lingua-french-language-model
ganda default = lingua-ganda-language-model
georgian default = lingua-georgian-language-model
german default = lingua-german-language-model
greek default = lingua-greek-language-model
gujarati default = lingua-gujarati-language-model
hebrew default = lingua-hebrew-language-model
hindi default = lingua-hindi-language-model
hungarian default = lingua-hungarian-language-model
icelandic default = lingua-icelandic-language-model
indonesian default = lingua-indonesian-language-model
irish default = lingua-irish-language-model
italian default = lingua-italian-language-model
japanese default = lingua-japanese-language-model
kazakh default = lingua-kazakh-language-model
korean default = lingua-korean-language-model
latin default = lingua-latin-language-model
latvian default = lingua-latvian-language-model
lithuanian default = lingua-lithuanian-language-model
macedonian default = lingua-macedonian-language-model
malay default = lingua-malay-language-model
maori default = lingua-maori-language-model
marathi default = lingua-marathi-language-model
mongolian default = lingua-mongolian-language-model
nynorsk default = lingua-nynorsk-language-model
persian default = lingua-persian-language-model
polish default = lingua-polish-language-model
portuguese default = lingua-portuguese-language-model
punjabi default = lingua-punjabi-language-model
romanian default = lingua-romanian-language-model
russian default = lingua-russian-language-model
serbian default = lingua-serbian-language-model
shona default = lingua-shona-language-model
slovak default = lingua-slovak-language-model
slovene default = lingua-slovene-language-model
somali default = lingua-somali-language-model
sotho default = lingua-sotho-language-model
spanish default = lingua-spanish-language-model
swahili default = lingua-swahili-language-model
swedish default = lingua-swedish-language-model
tagalog default = lingua-tagalog-language-model
tamil default = lingua-tamil-language-model
telugu default = lingua-telugu-language-model
thai default = lingua-thai-language-model
tsonga default = lingua-tsonga-language-model
tswana default = lingua-tswana-language-model
turkish default = lingua-turkish-language-model
ukrainian default = lingua-ukrainian-language-model
urdu default = lingua-urdu-language-model
vietnamese default = lingua-vietnamese-language-model
welsh default = lingua-welsh-language-model
xhosa default = lingua-xhosa-language-model
yoruba default = lingua-yoruba-language-model
zulu default = lingua-zulu-language-model
benchmark = cld2, whatlang, whichlang

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.

lingua-afrikaans-language-model afrikaans
lingua-albanian-language-model albanian
lingua-arabic-language-model arabic
lingua-armenian-language-model armenian
lingua-azerbaijani-language-model azerbaijani
lingua-basque-language-model basque
lingua-belarusian-language-model belarusian
lingua-bengali-language-model bengali
lingua-bokmal-language-model bokmal
lingua-bosnian-language-model bosnian
lingua-bulgarian-language-model bulgarian
lingua-catalan-language-model catalan
lingua-chinese-language-model chinese
lingua-croatian-language-model croatian
lingua-czech-language-model czech
lingua-danish-language-model danish
lingua-dutch-language-model dutch
lingua-english-language-model english
lingua-esperanto-language-model esperanto
lingua-estonian-language-model estonian
lingua-finnish-language-model finnish
lingua-french-language-model french
lingua-ganda-language-model ganda
lingua-georgian-language-model georgian
lingua-german-language-model german
lingua-greek-language-model greek
lingua-gujarati-language-model gujarati
lingua-hebrew-language-model hebrew
lingua-hindi-language-model hindi
lingua-hungarian-language-model hungarian
lingua-icelandic-language-model icelandic
lingua-indonesian-language-model indonesian
lingua-irish-language-model irish
lingua-italian-language-model italian
lingua-japanese-language-model japanese
lingua-kazakh-language-model kazakh
lingua-korean-language-model korean
lingua-latin-language-model latin
lingua-latvian-language-model latvian
lingua-lithuanian-language-model lithuanian
lingua-macedonian-language-model macedonian
lingua-malay-language-model malay
lingua-maori-language-model maori
lingua-marathi-language-model marathi
lingua-mongolian-language-model mongolian
lingua-nynorsk-language-model nynorsk
lingua-persian-language-model persian
lingua-polish-language-model polish
lingua-portuguese-language-model portuguese
lingua-punjabi-language-model punjabi
lingua-romanian-language-model romanian
lingua-russian-language-model russian
lingua-serbian-language-model serbian
lingua-shona-language-model shona
lingua-slovak-language-model slovak
lingua-slovene-language-model slovene
lingua-somali-language-model somali
lingua-sotho-language-model sotho
lingua-spanish-language-model spanish
lingua-swahili-language-model swahili
lingua-swedish-language-model swedish
lingua-tagalog-language-model tagalog
lingua-tamil-language-model tamil
lingua-telugu-language-model telugu
lingua-thai-language-model thai
lingua-tsonga-language-model tsonga
lingua-tswana-language-model tswana
lingua-turkish-language-model turkish
lingua-ukrainian-language-model ukrainian
lingua-urdu-language-model urdu
lingua-vietnamese-language-model vietnamese
lingua-welsh-language-model welsh
lingua-xhosa-language-model xhosa
lingua-yoruba-language-model yoruba
lingua-zulu-language-model zulu
indoc not wasm accuracy-reports?
pyo3 not wasm python?

Enables pyo3 ^0.20.0

titlecase not wasm accuracy-reports?

Enables titlecase ^2.2.0

cld2 not wasm accuracy-reports? benchmark?
whatlang not wasm accuracy-reports? benchmark?
whichlang not wasm accuracy-reports? benchmark?