Lingua.init
You're seeing just the function
init
, go back to Lingua module for more information.
Link to this function
init()
Initialize the detector. Calling this is optional but it may come in handy in cases where you want lingua-rs to load
the language corpora so that subsequent calls to detect
are fast. The first time the detector is run it can take some time to load (~12 seconds on my Macbook Pro). See
also the preload_language_models
option below.
Example
iex> Lingua.init()
:ok