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

Method getAllWords

src/python/handler/py_utils.cpp:879–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877}
878
879py::UniqueObj DocumentObject::getAllWords() const
880{
881 if (corpus->isIndependent()) return py::buildPyValue(getRawDoc()->words);
882 else return buildPyValueReorder(getBoundDoc()->words, getBoundDoc()->wOrder);
883}
884
885const tomoto::SharedString& DocumentObject::getRaw() const
886{

Callers

nothing calls this directly

Calls 3

buildPyValueReorderFunction · 0.85
isIndependentMethod · 0.80
buildPyValueFunction · 0.70

Tested by

no test coverage detected