Do this by setting --language option default to "autodetect" with a default detection threshold of 80 percent.
It runs the language detection algorithm against the provided --prompt question.
If --language is set to a number, it's the required confidence threshold before choosing the detected language.
If an integer - represents whole number threshold (0-100).
If its a float - (0.0 to 1.00)
If it's a string, its the requested language or dialect (e.g. Spanish, French, German, Mandarin, Code Talker Navajo, Klingon, Valley Girl English, Taglish, Pig Latin, Shakespearean English, etc.) :)
Use the whatlang crate we already use for the apply command.
Do this by setting
--languageoption default to "autodetect" with a default detection threshold of 80 percent.It runs the language detection algorithm against the provided
--promptquestion.If
--languageis set to a number, it's the required confidence threshold before choosing the detected language.If an integer - represents whole number threshold (0-100).
If its a float - (0.0 to 1.00)
If it's a string, its the requested language or dialect (e.g. Spanish, French, German, Mandarin, Code Talker Navajo, Klingon, Valley Girl English, Taglish, Pig Latin, Shakespearean English, etc.) :)
Use the
whatlangcrate we already use for theapplycommand.