that maps from String patterns with wildcards to a set
of values of a given type. An input String is matched with the most specific
pattern possible to the corresponding value in an input map. A default value
should be specified with a pattern key of "*".
Default constructor. Use the setter or the other constructor to create a
sensible classifier, otherwise all inputs will cause an exception.
Create a classifier from the provided map. The keys are patterns, using
'?' as a single character and '*' as multi-character wildcard.
A map from pattern to value
values the pattern map to set
Classify the input by matching it against the patterns provided in
. The most specific pattern that matches will
be used to locate a value.