Skip to content

Commit

Permalink
add Bosnia and Herzegovina + Serbia into scripts #204
Browse files Browse the repository at this point in the history
  • Loading branch information
matyaskopp committed May 20, 2022
1 parent 26a991b commit e38355a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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))
Expand Down
2 changes: 2 additions & 0 deletions Scripts/parlamint2conllu.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down

0 comments on commit e38355a

Please sign in to comment.