Update open_subtitles.py
#5
by
Samy-chenyange - opened
- open_subtitles.py +2 -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 = "
|
| 40 |
_BASE_NAME = "OpenSubtitles.{}.{}"
|
| 41 |
-
_BASE_URL = "https://object.pouta.csc.fi/OPUS-OpenSubtitles/
|
| 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 = [
|
|
|
|
| 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 = [
|