System.err.println("Loading basis mapping and extractor.");
BasisMapping<String, String> basis =
SerializableUtil.load(new File(args[2]));
basis.setReadOnly(true);
ContextGenerator generator =
new WordOccrrenceContextGenerator(basis, new LinearWeighting(), 25);
ContextExtractor extractor =
new SemEvalContextExtractor(generator, 25);
System.out.println("Processing contexts");