A flexible, efficient and accurate framework for community question answering pipelines