Text this: Kernel distribution density estimation based on cross-validation