Class Language

    • Constructor Detail

      • Language

        public Language​(String lang)
        Parameters:
        lang - The language identifier.
      • Language

        public Language​(String lang,
                        double confidence)
        Parameters:
        lang - The language identifier.
        confidence - The confidence computed during language detection.
    • Method Detail

      • getLang

        public String getLang()
      • getConfidence

        public double getConfidence()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object