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

Method getLL

src/python/handler/py_utils.cpp:1006–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004}
1005
1006double DocumentObject::getLL() const
1007{
1008 if (corpus->isIndependent()) throw py::RuntimeError{ "This method can only be called by documents bound to the topic model." };
1009 if (!corpus->tm->inst) throw py::RuntimeError{ "inst is null" };
1010 return corpus->tm->inst->getDocLL(getBoundDoc());
1011}
1012
1013PhraserObject::PhraserObject()
1014 : trie_nodes{ 1 } // root node

Callers

nothing calls this directly

Calls 2

isIndependentMethod · 0.80
getDocLLMethod · 0.80

Tested by

no test coverage detected