The Similarities of Text Documents