First implement func in ranker

Option TFIDF and Cosine Similarity