Klasse TokenizerModel

java.lang.Object
opennlp.tools.util.model.BaseModel
opennlp.tools.tokenize.TokenizerModel
Alle implementierten Schnittstellen:
Serializable, ArtifactProvider

public final class TokenizerModel extends BaseModel
The TokenizerModel is the model used by a learnable Tokenizer.
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getFactory

      public TokenizerFactory getFactory()
      Gibt zurück:
      Retrieves the active TokenizerFactory.
    • getMaxentModel

      public MaxentModel getMaxentModel()
      Gibt zurück:
      Retrieves the model as MaxentModel instance.
    • getAbbreviations

      public Dictionary getAbbreviations()
      Gibt zurück:
      Retrieves the active abbreviation Dictionary.
    • useAlphaNumericOptimization

      public boolean useAlphaNumericOptimization()
      Gibt zurück:
      true if alphanumeric optimization is active, false otherwise.
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object