Skip to content

Serializer Separation

Niclas Linus Bodenmann requested to merge serializer-separation into development

Changed serializer classes, namely VRTSerializer and GensimSerializer.

Add a function _serialize_document(). write_docs() behaves like before, but calls _serialize_document() instead of serializing the documents itself. That way, the serializing can be tested (with _serialize_document()) without having to write and read files during testing.

Edited by Niclas Linus Bodenmann

Merge request reports