A tool/algorithm to compress text document