Interface LangDetector

  • All Known Implementing Classes:
    LangDetectorImpl

    public interface LangDetector
    This class is used to determine the language in which the user is communicating. The language will be used for determining the language of the bot response.
    • Method Detail

      • detectLang

        String detectLang​(String input)
        detects the language of the message and prints into the logs the value and the precision of the detection.
        Parameters:
        input - a String value representing the input of the user
        Returns:
        String value of the language detected.