MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / build_idf

Function build_idf

experiments/baselines/scholar_inbox/runner.py:184–185  ·  view source on GitHub ↗
(rows: Sequence[Dict[str, Any]])

Source from the content-addressed store, hash-verified

182
183
184def build_idf(rows: Sequence[Dict[str, Any]]) -> Dict[str, float]:
185 return build_idf_from_texts([paper_text(row) for row in rows])
186
187
188def build_idf_from_texts(texts: Sequence[Any]) -> Dict[str, float]:

Callers

nothing calls this directly

Calls 2

build_idf_from_textsFunction · 0.70
paper_textFunction · 0.70

Tested by

no test coverage detected