public void printTopTerms(int n) {
          List<String> seen = new ArrayList<String>();
          for (int i=0; i<n; i++) {
            double highest = 0;
            String base = "";
            for (Map.Entry<String, Double> e :  termScore.entrySet()) {
               if (!seen.contains(e.getKey()) && e.getValue() > highest) {
                 highest = e.getValue();
                 base = e.getKey();
               }
            }
            seen.add(base);
          }
          for (String term: seen) {
            System.out.println(term);
          }
        }