MCPcopy Create free account
hub / github.com/comaps/comaps / GetPrefixTokenWeight

Method GetPrefixTokenWeight

libs/search/doc_vec.cpp:230–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230double QueryVec::GetPrefixTokenWeight()
231{
232 ASSERT(m_prefix, ());
233 return GetWeightImpl(*m_idfs, TokenFrequencyPair(*m_prefix, 1 /* frequency */), true /* isPrefix */);
234}
235} // namespace search

Callers

nothing calls this directly

Calls 3

ASSERTFunction · 0.85
GetWeightImplFunction · 0.85
TokenFrequencyPairClass · 0.85

Tested by

no test coverage detected