Skip to content

Commit 64b7343

Browse files
committed
move todo
1 parent d19f3d6 commit 64b7343

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

python-pybind/src/dictionary/py_dictionary.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ void init_keyvi_dictionary(const py::module_ &m) {
4040
4141
)pbdoc";
4242

43+
// TODO(hendrik): 'items', 'keys', 'manifest', 'match_fuzzy', 'match_near',
44+
// 'search_tokenized', 'statistics', 'values'
4345
py::class_<kd::Dictionary>(m, "Dictionary")
4446
.def(py::init<const std::string &>())
4547
.def(
@@ -117,13 +119,10 @@ void init_keyvi_dictionary(const py::module_ &m) {
117119
.def("get", &kd::Dictionary::operator[], R"pbdoc(
118120
Get an entry from the dictionary.
119121
)pbdoc")
120-
// 'items', 'keys', 'manifest', 'match_fuzzy', 'match_near',
121122
.def("match",
122123
[](const kd::Dictionary &d, const std::string &key) {
123124
auto m = d.Get(key);
124125
return kpy::make_match_iterator(m.begin(), m.end());
125126
})
126-
.def("search", &kd::Dictionary::Lookup)
127-
// 'search_tokenized', 'statistics', 'values'
128-
;
127+
.def("search", &kd::Dictionary::Lookup);
129128
}

0 commit comments

Comments
 (0)