Rosan Shanmuganathan
Rosan Shanmuganathan
This code by default loads `LaBSE` when `bertalign` is imported. I think it would be more convennient to load the encoder when the `align_sents` method is called and give the...
Instead of relying on `googletrans`, it would be convennient if I could do: ``` aligner = Bertalign( src=en, tgt=de, src_lang='en', tgt_lang='de', ``` Language only matters for Sentence Splitting and it...
Currently, `translate_document` has the following type annotation for `input_document` ```py input_document: Union[TextIO, BinaryIO, Any], ``` However, `translate_document` essentially just calls `translate_document_uploud`, which has: ```py input_document: Union[TextIO, BinaryIO, str, bytes, Any]...