this.documents = new AssociativeList<String>();
this.lengthArray = new IntArray();
}
private TermDocumentMatrix(AssociativeList<String> terms, AssociativeList<String> documents, IntArray lengthArray) {
this.matrix = new SparseMatrix(terms.size(), documents.size());
this.terms = terms.clone();
this.documents = documents.clone();
this.lengthArray = lengthArray.clone();
}