Category preprocessor