Class LanguageDetectorEvaluator

    • Method Detail

      • getAccuracy

        public double getAccuracy()
        Retrieves the accuracy of provided DocumentCategorizer. accuracy = correctly categorized documents / total documents
        Returns:
        the accuracy
      • getDocumentCount

        public long getDocumentCount()