Neural attention for learning to rank questions in community question answering