Building compact MQDF classifier for large character set recognition by subspace distribution sharing