(self, docs: list[Document])
| 83 | super().__init__(rater_name=rater_name, normalizer=normalizer) |
| 84 | |
| 85 | def __call__(self, docs: list[Document]) -> list[Document]: |
| 86 | length_scores = [len(doc.text) for doc in docs] |
| 87 | return [self._annotate_doc(doc, score) for doc, score in zip(docs, length_scores)] |
| 88 | |
| 89 | |
| 90 | class InlinkCountRater(DocumentRater): |
nothing calls this directly
no test coverage detected