Skip to content

Interaction-Bot/opus-nlp-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opus-nlp-downloader

Download aligned text automatly.

Installation

  1. Download from github: git clone https://github.com/Interaction-Bot/opus-nlp-downloader.git
  2. Go to the directory with cd opus-nlp-downloader
  3. Install dependency with pip install -r requirements.txt

Usage

Cli

Get datasets: python main.py get src tgt (optional: --max_corpus).

Exemple: python main.py get en fr

Download datasets: python main.py download src tgt path (optional: --max_corpus) (optional: --max_sentences).

Exemple: python main.py download en fr data/

Python

from main import *

opus = Opus()
opus.get('en', 'ab')
opus.download('data')

About

Download aligned text automatly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages