Uses of Class
com.gengoai.hermes.ml.feature.ValueCalculator
-
Packages that use ValueCalculator Package Description com.gengoai.hermes.extraction com.gengoai.hermes.extraction.lyre com.gengoai.hermes.ml.feature -
-
Uses of ValueCalculator in com.gengoai.hermes.extraction
Fields in com.gengoai.hermes.extraction declared as ValueCalculator Modifier and Type Field Description protected @NonNull ValueCalculator
MultiPhaseExtractor.MultiPhaseExtractorBuilder. valueCalculator
Methods in com.gengoai.hermes.extraction with parameters of type ValueCalculator Modifier and Type Method Description static Extraction
Extraction. fromHStringList(@NonNull List<HString> list, @NonNull SerializableFunction<HString,String> toString, ValueCalculator calculator)
Generates an HString-backed extraction with a provided function for converting the HString into string representations.static Extraction
Extraction. fromStringList(@NonNull List<String> list, ValueCalculator calculator)
Generates an String-backed extraction.V
MultiPhaseExtractor.MultiPhaseExtractorBuilder. valueCalculator(ValueCalculator valueCalculator)
Sets the method for calculating the final values in counter-based extraction -
Uses of ValueCalculator in com.gengoai.hermes.extraction.lyre
Methods in com.gengoai.hermes.extraction.lyre with parameters of type ValueCalculator Modifier and Type Method Description static LyreExpression
LyreDSL. count(@NonNull LyreExpression expression, @NonNull ValueCalculator valueCalculator)
Counts the items resulting from the given expression (treated as a list) and applies the given ValueCalculator to the result.static LyreExpression
LyreDSL. feature(@NonNull ValueCalculator calculator)
Converts a list of values into features.static LyreExpression
LyreDSL. feature(@NonNull ValueCalculator calculator, @NonNull LyreExpression expression)
Converts a list of values into features.static LyreExpression
LyreDSL. feature(String prefix, @NonNull ValueCalculator calculator)
Converts a list of values into features.static LyreExpression
LyreDSL. feature(String prefix, @NonNull ValueCalculator calculator, @NonNull LyreExpression expression)
Converts a list of values into features. -
Uses of ValueCalculator in com.gengoai.hermes.ml.feature
Methods in com.gengoai.hermes.ml.feature that return ValueCalculator Modifier and Type Method Description static ValueCalculator
ValueCalculator. valueOf(String name)
Returns the enum constant of this type with the specified name.static ValueCalculator[]
ValueCalculator. values()
Returns an array containing the constants of this enum type, in the order they are declared.
-