Verified Owner
Top Constructors Methods
org.jabref.logic.ai.tokenization.util

public final Class TokenEstimatorFactory

extends Object
Class Inheritance
Imports
org.jabref.logic.ai.preferences.AiPreferences, org.jabref.logic.ai.tokenization.logic.AverageTokenEstimator, .ByCharacterTokenEstimator, .ByWordsTokenEstimator, .MaximumTokenEstimator, .MinimumTokenEstimator, .TokenEstimator, org.jabref.model.ai.tokenization.TokenEstimatorKind

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static TokenEstimator
public static TokenEstimator
create(AiPreferences aiPreferences)

Convenience overload that reads the kind from AiPreferences.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TokenEstimatorFactoryback to summary
private TokenEstimatorFactory()

Method Detail

createback to summary
public static TokenEstimator create(TokenEstimatorKind kind)
createback to summary
public static TokenEstimator create(AiPreferences aiPreferences)

Convenience overload that reads the kind from AiPreferences.