MCPcopy Create free account
hub / github.com/bab2min/tomotopy / getWidsByTopicSorted

Method getWidsByTopicSorted

src/TopicModel/TopicModel.hpp:782–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780 }
781
782 std::vector<std::pair<Vid, Float>> getWidsByTopicSorted(size_t tid, size_t topN) const
783 {
784 return extractTopN<Vid>(static_cast<const _Derived*>(this)->_getWidsByTopic(tid, true), topN);
785 }
786
787 std::vector<std::pair<std::string, Float>> vid2String(const std::vector<std::pair<Vid, Float>>& vids) const
788 {

Callers

nothing calls this directly

Calls 1

_getWidsByTopicMethod · 0.45

Tested by

no test coverage detected