code: private void scaleHyponymCountMap() throws WikiApiException {
          for (int key : getHyponymCountMap().keySet()) {
              if (getHyponymCountMap().get(key) > graph.vertexSet().size()) {
  // TODO scaling function is not optimal (to say the least :)
                  getHyponymCountMap().put(key, (graph.vertexSet().size()-1));
              }
          }
      }
docs: As the categoryGraph is a graph rather than a tree, the hyponymCount for top nodes can be greater than the number of nodes in the graph.
  This is due to the multiple counting of nodes having more than one parent.
  Thus, we have to scale hyponym counts to fall in [0,NumberOfNodes].
  @throws WikiApiException Thrown if errors occurred.