def _ensure_correct_weights(self, *weights):
        for w in weights:
            if w < 0.0:
                raise ValueError("Negative wights are not allowed.")
dataset/ETHPy150Open miso-belica/sumy/sumy/summarizers/edmundson.py/EdmundsonSummarizer._ensure_correct_weights/original