# Serialized Form

- ## Package opennlp.tools.chunker

  - ### Class opennlp.tools.chunker.ChunkerModel extends BaseModel implements Serializable

  - ### Class opennlp.tools.chunker.ChunkSample extends Object implements Serializable

    - ### Serialized Fields

      - #### sentence

            List<E> sentence

      - #### tags

            List<E> tags

      - #### preds

            List<E> preds

- ## Package opennlp.tools.doccat

  - ### Class opennlp.tools.doccat.DoccatModel extends BaseModel implements Serializable

  - ### Class opennlp.tools.doccat.DocumentSample extends Object implements Serializable

    - ### Serialized Fields

      - #### category

            String category

      - #### text

            List<E> text

      - #### extraInformation

            Map<K,V> extraInformation

- ## Package opennlp.tools.entitylinker

  - ### Class opennlp.tools.entitylinker.LinkedSpan extends Span implements Serializable

    - ### Serialized Fields

      - #### linkedEntries

            ArrayList<E> linkedEntries

      - #### sentenceid

            int sentenceid

      - #### searchTerm

            String searchTerm

- ## Package opennlp.tools.langdetect

  - ### Class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator extends Object implements Serializable

    - ### Serialized Fields

      - #### minLength

            int minLength

      - #### maxLength

            int maxLength

      - #### normalizer

            CharSequenceNormalizer normalizer

  - ### Class opennlp.tools.langdetect.Language extends Object implements Serializable

    - ### Serialized Fields

      - #### lang

            String lang

      - #### confidence

            double confidence

  - ### Class opennlp.tools.langdetect.LanguageDetectorME extends Object implements Serializable

    - ### Serialized Fields

      - #### model

            LanguageDetectorModel model

      - #### mContextGenerator

            LanguageDetectorContextGenerator mContextGenerator

  - ### Class opennlp.tools.langdetect.LanguageDetectorModel extends BaseModel implements Serializable

  - ### Class opennlp.tools.langdetect.LanguageSample extends Object implements Serializable

    - ### Serialized Fields

      - #### language

            Language language

      - #### context

            CharSequence context

- ## Package opennlp.tools.lemmatizer

  - ### Class opennlp.tools.lemmatizer.LemmaSample extends Object implements Serializable

    - ### Serialized Fields

      - #### tokens

            List<E> tokens

      - #### tags

            List<E> tags

      - #### lemmas

            List<E> lemmas

  - ### Class opennlp.tools.lemmatizer.LemmatizerModel extends BaseModel implements Serializable

- ## Package opennlp.tools.namefind

  - ### Class opennlp.tools.namefind.NameSample extends Object implements Serializable

    - ### Serialized Fields

      - #### id

            String id

      - #### sentence

            List<E> sentence

      - #### names

            List<E> names

      - #### additionalContext

            String[][] additionalContext

      - #### isClearAdaptiveData

            boolean isClearAdaptiveData

  - ### Class opennlp.tools.namefind.TokenNameFinderModel extends BaseModel implements Serializable

  - ### Class opennlp.tools.namefind.TokenNameFinderModel.FeatureGeneratorCreationError extends RuntimeException implements Serializable

- ## Package opennlp.tools.parser

  - ### Class opennlp.tools.parser.ParserModel extends BaseModel implements Serializable

- ## Package opennlp.tools.postag

  - ### Class opennlp.tools.postag.POSModel extends BaseModel implements Serializable

  - ### Class opennlp.tools.postag.POSSample extends Object implements Serializable

    - ### Serialized Fields

      - #### sentence

            List<E> sentence

      - #### tags

            List<E> tags

      - #### additionalContext

            String[][] additionalContext

- ## Package opennlp.tools.sentdetect

  - ### Class opennlp.tools.sentdetect.SentenceModel extends BaseModel implements Serializable

  - ### Class opennlp.tools.sentdetect.SentenceSample extends Object implements Serializable

    - ### Serialized Fields

      - #### document

            String document

      - #### sentences

            List<E> sentences

- ## Package opennlp.tools.tokenize

  - ### Class opennlp.tools.tokenize.TokenizerModel extends BaseModel implements Serializable

  - ### Class opennlp.tools.tokenize.TokenSample extends Object implements Serializable

    - ### Serialized Fields

      - #### text

            String text

      - #### tokenSpans

            List<E> tokenSpans

- ## Package opennlp.tools.util

  - ### Class opennlp.tools.util.Cache extends LinkedHashMap<K,V> implements Serializable

    - ### Serialized Fields

      - #### capacity

            int capacity

  - ### Class opennlp.tools.util.InsufficientTrainingDataException extends IOException implements Serializable

  - ### Class opennlp.tools.util.InvalidFormatException extends IOException implements Serializable

  - ### Class opennlp.tools.util.Span extends Object implements Serializable

    - ### Serialized Fields

      - #### start

            int start

      - #### end

            int end

      - #### prob

            double prob

      - #### type

            String type

- ## Package opennlp.tools.util.ext

  - ### Class opennlp.tools.util.ext.ExtensionNotLoadedException extends RuntimeException implements Serializable

    - ### Serialized Fields

      - #### isOSGiEnvironment

            boolean isOSGiEnvironment

- ## Package opennlp.tools.util.model

  - ### Class opennlp.tools.util.model.BaseModel extends Object implements Serializable

    - ### Serialization Methods

      - #### readObject

            private void readObject(ObjectInputStream in)
                             throws IOException

        Throws:
          `IOException`

      - #### writeObject

            private void writeObject(ObjectOutputStream out)
                              throws IOException

        Throws:
          `IOException`

    - ### Serialized Fields

      - #### artifactSerializers

            Map<K,V> artifactSerializers

      - #### artifactMap

            Map<K,V> artifactMap

      - #### toolFactory

            BaseToolFactory toolFactory

      - #### componentName

            String componentName

      - #### subclassSerializersInitiated

            boolean subclassSerializersInitiated

      - #### finishedLoadingArtifacts

            boolean finishedLoadingArtifacts

      - #### isLoadedFromSerialized

            boolean isLoadedFromSerialized

- ## Package opennlp.tools.util.normalizer

  - ### Class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer extends Object implements Serializable

    - ### Serialized Fields

      - #### normalizers

            CharSequenceNormalizer[] normalizers

  - ### Class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer extends Object implements Serializable

  - ### Class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer extends Object implements Serializable

  - ### Class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer extends Object implements Serializable

  - ### Class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer extends Object implements Serializable

  - ### Class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer extends Object implements Serializable

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