opus_raw / README.md
badranx's picture
Update README.md
73941b5

Load mono corpora from OPUS

This enables you to load any raw mono corpus from opus.nlpl.eu. Please check opus.nlpl.eu for the available corpora and licenses. The targeted corpus is called raw corpus on OPUS.

To use it, you need the name of the corpus, the version, and the target language code. The corpus name and version are provided in one string seperated by space (e.g. 'News-Commentary v16'). All of these can be found on opus.nlpl.eu.

Example:

dataset = load_dataset('badranx/opus_raw', corpus="News-Commentary v16", lang="de")