ptrblck:

Since the sentence lengths are most likely different, we can’t just multiply the word weights, as this would penalize long sentences.


Couldn’t understand this line. Any simpler example to understand this? May be that will help me understand the application of class weights better.
Regards