ProbingLanguageDetectionResult (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.langdetect

## Class ProbingLanguageDetectionResult

- java.lang.Object
- - opennlp.tools.langdetect.ProbingLanguageDetectionResult

-     public class ProbingLanguageDetectionResult
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProbingLanguageDetectionResult(Language[] languages, int length)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Language[]` | `getLanguages()`
    `int` | `getLength()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProbingLanguageDetectionResult

          public ProbingLanguageDetectionResult(Language[] languages,
                                                int length)

  - ### Method Detail

    - #### getLanguages

          public Language[] getLanguages()

    - #### getLength

          public int getLength()

      Returns:
        length in codepoints of text processed

Copyright © 2026 The Apache Software Foundation. All rights reserved.