Search and Learning for Unsupervised Text Generation