1) implement RankerPhrase
2) move runQuery to Ranker.java and add sorting according to ranking socre
    Every ranker share the same function
    public Vector<ScoredDocument> runQuery(String query)
    in Ranker.java

    You only need to implement
    ScoredDocument runquery(String query, int did)

3) Let ScoredDocument becomes Comparable