Update open_subtitles.py

#4
Files changed (1) hide show
  1. open_subtitles.py +4 -2
open_subtitles.py CHANGED
@@ -36,9 +36,9 @@ _CITATION = """\
36
  P. Lison and J. Tiedemann, 2016, OpenSubtitles2016: Extracting Large Parallel Corpora from Movie and TV Subtitles. In Proceedings of the 10th International Conference on Language Resources and Evaluation (LREC 2016)
37
  """
38
 
39
- _VERSION = "2018.0.0"
40
  _BASE_NAME = "OpenSubtitles.{}.{}"
41
- _BASE_URL = "https://object.pouta.csc.fi/OPUS-OpenSubtitles/v2018/moses/{}-{}.txt.zip"
42
 
43
  # Please note that only few pairs are shown here. You can use config to generate data for all language pairs
44
  _LANGUAGE_PAIRS = [
@@ -47,6 +47,8 @@ _LANGUAGE_PAIRS = [
47
  ("da", "ru"),
48
  ("en", "hi"),
49
  ("bn", "is"),
 
 
50
  ]
51
 
52
 
 
36
  P. Lison and J. Tiedemann, 2016, OpenSubtitles2016: Extracting Large Parallel Corpora from Movie and TV Subtitles. In Proceedings of the 10th International Conference on Language Resources and Evaluation (LREC 2016)
37
  """
38
 
39
+ _VERSION = "2024.0.0"
40
  _BASE_NAME = "OpenSubtitles.{}.{}"
41
+ _BASE_URL = "https://object.pouta.csc.fi/OPUS-OpenSubtitles/v2024/moses/{}-{}.txt.zip"
42
 
43
  # Please note that only few pairs are shown here. You can use config to generate data for all language pairs
44
  _LANGUAGE_PAIRS = [
 
47
  ("da", "ru"),
48
  ("en", "hi"),
49
  ("bn", "is"),
50
+ ("fr", "sw"),
51
+ ("sw", "fr"),
52
  ]
53
 
54