Uses of Class opennlp.tools.langdetect.LanguageDetectorModel (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

## Uses of Class
opennlp.tools.langdetect.LanguageDetectorModel

- Packages that use LanguageDetectorModel
  Package | Description
  --- | ---
  opennlp.tools.cmdline.langdetect |
  opennlp.tools.langdetect |

- - ### Uses of LanguageDetectorModel in opennlp.tools.cmdline.langdetect

    Methods in opennlp.tools.cmdline.langdetect that return LanguageDetectorModel
    Modifier and Type | Method and Description
    --- | ---
    `protected LanguageDetectorModel` | LanguageDetectorModelLoader.`loadModel(InputStream modelIn)`

  - ### Uses of LanguageDetectorModel in opennlp.tools.langdetect

    Fields in opennlp.tools.langdetect declared as LanguageDetectorModel
    Modifier and Type | Field and Description
    --- | ---
    `protected LanguageDetectorModel` | LanguageDetectorME.`model`

    Methods in opennlp.tools.langdetect that return LanguageDetectorModel
    Modifier and Type | Method and Description
    --- | ---
    `static LanguageDetectorModel` | LanguageDetectorME.`train(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory)`

    Constructors in opennlp.tools.langdetect with parameters of type LanguageDetectorModel
    Constructor and Description
    `LanguageDetectorME(LanguageDetectorModel model)` Initializes the current instance with a language detector model.

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