Uses of Class
opennlp.dl.InferenceOptions
Packages that use InferenceOptions
-
Uses of InferenceOptions in opennlp.dl
Methods in opennlp.dl with parameters of type InferenceOptionsModifier and TypeMethodDescriptionprotected static booleanAbstractDL.resolveLowerCase(InferenceOptions options, boolean componentDefault) Resolves the effective lower casing behavior from the givenInferenceOptions.protected static ai.onnxruntime.OrtSession.SessionOptionsAbstractDL.sessionOptions(InferenceOptions inferenceOptions) Builds ONNX session options from the givenInferenceOptions, enabling the CUDA execution provider on the configured device when GPU inference is requested.protected static voidAbstractDL.validateSplitOptions(InferenceOptions options) Validates the document splitting options used by tokenizers that split long inputs. -
Uses of InferenceOptions in opennlp.dl.doccat
Constructors in opennlp.dl.doccat with parameters of type InferenceOptionsModifierConstructorDescriptionDocumentCategorizerDL(File model, File vocabulary, File config, ClassificationScoringStrategy classificationScoringStrategy, InferenceOptions inferenceOptions) Instantiates adocument categorizerusing ONNX models.DocumentCategorizerDL(File model, File vocabulary, Map<Integer, String> categories, ClassificationScoringStrategy classificationScoringStrategy, InferenceOptions inferenceOptions) Instantiates adocument categorizerusing ONNX models. -
Uses of InferenceOptions in opennlp.dl.namefinder
Constructors in opennlp.dl.namefinder with parameters of type InferenceOptionsModifierConstructorDescriptionNameFinderDL(File model, File vocabulary, Map<Integer, String> ids2Labels, InferenceOptions inferenceOptions, opennlp.tools.sentdetect.SentenceDetector sentenceDetector) Instantiates aname finderusing ONNX models.