For example see "A preprocessing scheme for high-cardinality categorical attributes in classification and prediction problems" (https://dl.acm.org/doi/10.1145/507533.507538)