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.11.3 b8bf086 2022-02-11 06:04:38 -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