Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataArcTech/ToG
/ if_all_zero
Function
if_all_zero
ToG/freebase_func.py:83–84 ·
view source on GitHub ↗
(topn_scores)
Source
from the content-addressed store, hash-verified
81
82
83
def
if_all_zero(topn_scores):
84
return
all(score == 0
for
score in topn_scores)
85
86
87
def
clean_relations_bm25_sent(topn_relations, topn_scores, entity_id, head_relations):
Callers
2
clean_relations_bm25_sent
Function · 0.70
entity_score
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected