| 1004 | } |
| 1005 | |
| 1006 | double 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 | |
| 1013 | PhraserObject::PhraserObject() |
| 1014 | : trie_nodes{ 1 } // root node |
nothing calls this directly
no test coverage detected