import java.util.Set;
import java.util.HashSet;

/**
 * Simple class for testing the KeywordIndex class.
 *   @author Dave Reed
 *   @version 9/24/06
 */
public class IndexTester {
    public static void main(String[] args) {
        Set<String> ignore = new HashSet<String>();
        ignore.add("of");
        ignore.add("the");
        ignore.add("and");
        ignore.add("on");
        ignore.add("over");
        ignore.add("to");
        ignore.add("with");
        
        
        KeywordIndex index = new KeywordIndex(ignore);
        index.add("Man on the Moon");
        index.add("Moon over Miami");
        index.add("Sad Sad Situation");
        index.add("Love Love Me Do");
        index.add("Hounds of Love");
        index.add("What's Love Got to Do with It");
        index.show();
    }
    
}
