Cmd line learner to ranker