Since target phrases are usually in very high dimensional space, traditional linear classification model is not suitable for our problem.
we treat our problem as a ranking problem that can handle large number of classes and optimize the objectives with scalable optimizer stochastic gradient descent.