Method
__init__
(
self, rater_name: str | None = None, normalizer: ScoreNormalizer | None = None
)
Source from the content-addressed store, hash-verified
| 78 | _require_doc_text = True |
| 79 | |
| 80 | def __init__( |
| 81 | self, rater_name: str | None = None, normalizer: ScoreNormalizer | None = None |
| 82 | ) -> None: |
| 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] |
Callers
nothing calls this directly
Tested by
no test coverage detected