Construction of the term x document matrix




Write a java program that reads a collection of documents, as it is the (ÌÅDLARS) collection and constructs the term x document matrix in sparse representation. The matrix should be saved into a .mat file. Your program would also save the matrix in its dense form in a .mat file.