} else if (obj instanceof ContractionToken) {
ContractionToken cta = (ContractionToken) obj;
return new ContractionTokenAdapter(cta);
} else if (obj instanceof SymbolToken) {
SymbolToken sta = (SymbolToken) obj;
return new SymbolTokenAdapter(sta);
}
throw new Exception("No Context Dependent Tokenizer adapter for class: " + obj.getClass());
}