The Analyzer class takes a new
, and two
es and determines whether the entry likely belongs in one index or the other. It gives you the result using an enum with the following values:
public enum CategorizationResult
First = -1,
Undetermined = 0,
Second = 1
It does not automatically add the entry into one index or the other, that is left up to the caller.
An analyzer should only be used to categorize once ... after that, you should create a new instance if you wish to categorize another entry.