Skip to content

Commit

Permalink
Export alignments from python
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerin Philip committed Feb 15, 2022
1 parent 46a160b commit 21f4c50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bindings/python/bergamot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ PYBIND11_MODULE(_bergamot, m) {
py::bind_vector<std::vector<std::string>>(m, "VectorString");
py::bind_vector<std::vector<Response>>(m, "VectorResponse");

py::bind_vector<std::vector<float>>(m, "VectorFloat");
py::bind_vector<Alignment>(m, "Alignment");
py::bind_vector<Alignments>(m, "Alignments");

py::enum_<ConcatStrategy>(m, "ConcatStrategy")
.value("FAITHFUL", ConcatStrategy::FAITHFUL)
.value("SPACE", ConcatStrategy::SPACE)
Expand Down

0 comments on commit 21f4c50

Please sign in to comment.