Example #1
0
  @Override
  public void onStatus(Status status) {
    c++;
    VectorSpace vsm = new VectorSpace(Long.toString(status.getId()), status.getText());
    vocabulary.update(vsm.tokens());
    hashTables.add(vsm);

    if (c > 10000) {
      VectorSpace[] nn = hashTables.get(vsm);
      System.out.println(nn.length);
    }
  }