Word Counter (Modelmetry)

This evaluator counts the number of words in the input text and evaluates it based on a configured threshold.

Configuration

OptionDescriptionTypeDefaultRequiredConstraints

Cutset

Characters to split on

[]string

[" "]

true

MinItems: 1

Operator

Comparison operator for count

string

"<"

true

Enum: <,<=,>,>=,=,!=

Value

Value to compare against

int

3

true

Min: 0

Metrics

This evaluator reports the following metric based on the text analysis:

NameKeyDescriptionMinMax

Word Count

wordcount

The number of words in the input

0

Last updated