The Analyzer class takes a new Entry, and two Indexes 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.

Last edited May 8, 2009 at 5:45 AM by joelmartinez, version 1


No comments yet.