We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c609da3 commit 9c89be6Copy full SHA for 9c89be6
1 file changed
pipeline/data/hplt.py
@@ -191,7 +191,8 @@ def _run_download(self):
191
read_lines(shuffled_shard_urls, on_enter_location=self.stats.count_shards_visited)
192
)
193
# Fix for Bosnian which has "hbs" in the seg_langs
194
- if self.hplt_locale == "bos_Latn":
+ # TODO remove this in v4
195
+ if self.hplt_locale in ("bos_Latn", "hrv_Latn"):
196
self.hplt_locale = "hbs_Latn"
197
logger.warn(f"Changed HPLT locale to {self.hplt_locale} for bos_Latn")
198
0 commit comments