For IDF the highest weight means that the term occurs only in one document from the training sample, for NTW it means that the term occurs only in documents of one class.
for these two methods we used different constraints for the value of weights.