Recursive deep learning for natural language processing and computer vision