From e38355a39586cd8f4ef04931a108c256a8cfca30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Kopp?= Date: Fri, 20 May 2022 12:36:01 +0200 Subject: [PATCH] add Bosnia and Herzegovina + Serbia into scripts #204 --- Makefile | 5 ++++- Scripts/parlamint2conllu.pl | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d753effb6..a64ceab16 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ ##$PARLIAMENTS##Space separated list of parliaments codes. PARLIAMENTS = AT BE BG CZ DK EE ES ES-CT ES-GA ES-PV FI FR GB GR HR HU IS IT LT LV NL NO PL PT RO SE SI TR -PARLIAMENTS-v2 = BE BG CZ DK ES FR GB GR HR HU IS IT LT LV NL PL SI TR +PARLIAMENTS-v2 = BE BG CZ DK ES FR GB GR HR HU IS IT LT LV NL PL SI TR BA RS ##$DATADIR## Folder with country corpus folders. Default value is 'Data'. DATADIR = Data ##$WORKINGDIR## In this folder will be stored temporary files. Default value is 'DataTMP'. @@ -56,6 +56,9 @@ setup-parliament-newInParlaMint2: make setup-parliament PARLIAMENT-NAME='Romania' PARLIAMENT-CODE='RO' LANG-LIST='ro (Romanian)' make setup-parliament PARLIAMENT-NAME='Sweden' PARLIAMENT-CODE='SE' LANG-LIST='sv (Swedish)' make setup-parliament PARLIAMENT-NAME='Galicia' PARLIAMENT-CODE='ES-GA' LANG-LIST='gl (Galician)' + make setup-parliament PARLIAMENT-NAME='Bosnia and Herzegovina' PARLIAMENT-CODE='BA' LANG-LIST='bs (Bosnian)' + make setup-parliament PARLIAMENT-NAME='Serbia' PARLIAMENT-CODE='RS' LANG-LIST='sr (Serbian)' + ###### Validate with Relax NG schema val-schema-XX = $(addprefix val-schema-, $(PARLIAMENTS)) diff --git a/Scripts/parlamint2conllu.pl b/Scripts/parlamint2conllu.pl index ee29f472d..d35d70ddc 100755 --- a/Scripts/parlamint2conllu.pl +++ b/Scripts/parlamint2conllu.pl @@ -30,6 +30,7 @@ sub usage $Valid = "$Bin/tools/validate.py"; $country2lang{'AT'} = 'de'; +$country2lang{'BA'} = 'bs'; $country2lang{'BE'} = 'fr, nl'; $country2lang{'BG'} = 'bg'; $country2lang{'CZ'} = 'cs'; @@ -55,6 +56,7 @@ sub usage $country2lang{'PT'} = 'pt'; $country2lang{'RO'} = 'ro'; $country2lang{'RO'} = 'ro'; +$country2lang{'RS'} = 'sr'; $country2lang{'SE'} = 'sv'; $country2lang{'SI'} = 'sl'; $country2lang{'TR'} = 'tr';