/**
* {@inheritDoc}
*/
protected DependencyContextGenerator getContextGenerator() {
if (argOptions.hasOption('H'))
return new PartOfSpeechDependencyContextGenerator(
basis, windowSize());
if (argOptions.hasOption('O'))
return new OrderingDependencyContextGenerator(
basis, windowSize());
return new OccurrenceDependencyContextGenerator(basis, windowSize());