| 57 | } |
| 58 | |
| 59 | py::UniqueObj VocabObject::getstate() const |
| 60 | { |
| 61 | static const char* keys[] = { "id2word" }; |
| 62 | return py::buildPyDict(keys, vocabs->getRaw()); |
| 63 | } |
| 64 | |
| 65 | void VocabObject::setstate(PyObject* dict) |
| 66 | { |
nothing calls this directly
no test coverage detected