Fork me on GitHub

Command-line options for marian-vocab

Last updated: 22 March 2021

marian-vocab

Create a vocabulary from text corpora given on STDIN

Version: v1.12.0 65bf82f 2023-02-21 09:56:29 -0800

Usage: ./marian-vocab [OPTIONS]

Allowed options

-h,--help                             Print this help message and exit
--version                             Print the version number and exit
-m,--max-size UINT=0                  Generate only UINT most common vocabulary items

Examples

./marian-vocab < text.src > vocab.yml
cat text.src text.trg | ./marian-vocab > vocab.yml