Function marian::bergamot::app::native

Function Documentation

void marian::bergamot::app::native(Ptr<Options> options)

Command line interface to the test the features being developed as part of bergamot C++ library on native platform.

Usage example: brt/tests/basic/test_service-cli_intgemm_8bit.cpu-threads.4.sh

  • Input: reads from stdin, blob of text, read as a whole ; sentence-splitting etc handled internally.

  • Output: to stdout, translation of the source text and additional information like sentences, alignments between source and target tokens and quality scores.

Parameters
  • [in] options: options to build translator