public static void main(String[] args) throws Exception {
    NERLingpipe test = new NERLingpipe();
    String text = "p53 regulates human insulin-like growth factor II gene expression through active P4 promoter in rhabdomyosarcoma cells.";
    Map<Integer,Integer>r = test.getGeneSpans(text);
    Iterator<Entry<Integer, Integer>>  iter = r.entrySet().iterator();
    while(iter.hasNext()){
      Entry<Integer, Integer> entry = (Entry<Integer, Integer>)(iter.next());
      System.out.println(test.getSpaceNum(entry.getKey())+":"+text.substring(entry.getKey(),entry.getValue()));
    }
  }