code: public void senSegment(String text, List senList){
          senList.clear();
          String resultStr = senSegment(text);
      
          StringTokenizer senTknr = new StringTokenizer(resultStr, "\n");
          while(senTknr.hasMoreTokens()){
              senList.add(senTknr.nextToken());
          }        
      }
docs: Sen segment.
  
  @param text the text
  @param senList the sen list