Skip to content

Commit

Permalink
Update statistics generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomazErjavec committed Jan 17, 2024
1 parent ce1501b commit cb93f7e
Show file tree
Hide file tree
Showing 9 changed files with 145 additions and 141 deletions.
8 changes: 4 additions & 4 deletions Corpora/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ tables:
> Metadata/ParlaMint-speakers-$${CORPUS}.tsv ; \
done;
stats:
$s mode=tsv -xsl:../Scripts/parlamint2cnt-particDesc.xsl Master/ParlaMint.xml > Metadata/ParlaMint-participDesc-stats.tsv
$s mode=tex -xsl:../Scripts/parlamint2cnt-particDesc.xsl Master/ParlaMint.xml > Metadata/ParlaMint-participDesc-stats.tex
$s mode=tsv -xsl:../Scripts/parlamint2cnt-overview.xsl Master/ParlaMint.xml > Metadata/ParlaMint-overview-stats.tsv
$s mode=tex -xsl:../Scripts/parlamint2cnt-overview.xsl Master/ParlaMint.xml > Metadata/ParlaMint-overview-stats.tex
$s mode=tsv -xsl:../Scripts/parlamint2cnt-particDesc.xsl Master/ParlaMint.xml > Metadata/ParlaMint-participDesc-stats.tsv
$s mode=tex -xsl:../Scripts/parlamint2cnt-particDesc.xsl Master/ParlaMint.xml > Metadata/ParlaMint-participDesc-stats.tex
$s mode=tsv -xsl:../Scripts/parlamint2cnt-speeches.xsl Master/ParlaMint.xml > Metadata/ParlaMint-speeches-stats.tsv
$s mode=tex -xsl:../Scripts/parlamint2cnt-speeches.xsl Master/ParlaMint.xml > Metadata/ParlaMint-speeches-stats.tex
bla:
Expand Down Expand Up @@ -436,8 +436,8 @@ body:
done

###################### SCRIPT VARIABLES
#s = java -jar -Xmx240g /usr/share/java/saxon.jar
s = java -jar /usr/share/java/saxon.jar
s = java -jar -Xmx240g /usr/share/java/saxon.jar
#s = java -jar /usr/share/java/saxon.jar
j = java -jar /usr/share/java/jing.jar
P = parallel --gnu --halt 2

Expand Down
58 changes: 29 additions & 29 deletions Corpora/Metadata/ParlaMint-overview-stats.tex
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
\begin{tabular}{l|c|c|cllr|rr}
ID&Lang&Houses&Ts&From&To&Yrs&Mw/Yr&Mw\\
\hline
AT&de&lower&8&1996-01&2022-10&27.1&2.24&60.84\\
BA&bs&unica&7&1998-11&2022-07&24.0&0.76&18.31\\
BE&fr+nl&lower&2&2014-06&2022-07&8.2&5.42&44.37\\
BG&bg&unica&5&2014-10&2022-07&7.9&3.37&26.47\\
CZ&cs&lower&3&2013-11&2023-07&9.8&3.14&30.77\\
DK&da&unica&4&2014-10&2022-06&7.8&5.25&40.80\\
EE&et&unica&3&2011-04&2022-06&11.4&2.01&22.87\\
CT&es+ca&unica&4&2015-10&2022-07&6.8&2.33&15.95\\
GA&gl&unica&3&2015-01&2022-05&7.4&2.40&17.84\\
PV&eu+es&unica&3&2015-02&2022-07&7.5&1.80&13.54\\
ES&es&lower&5&2015-01&2023-02&8.2&2.39&19.65\\
FI&fi+sv&unica&2&2015-04&2022-01&6.9&1.98&13.54\\
FR&fr&lower&2&2017-06&2022-03&4.8&10.33&49.63\\
GB&en&lower+upper&4&2015-01&2022-07&7.6&16.56&126.71\\
GR&el&unica&3&2015-01&2022-02&7.2&6.91&49.70\\
HR&hr&unica&5&2003-12&2022-07&18.8&4.64&87.32\\
HU&hu&unica&3&2014-05&2022-06&8.2&3.75&30.85\\
IS&is&unica&4&2015-01&2022-07&7.6&4.10&31.19\\
IT&it&upper&2&2013-03&2022-09&9.7&3.31&31.97\\
LV&lv&unica&2&2014-11&2021-02&6.3&1.44&9.16\\
NL&nl+nl&lower+upper&5&2014-04&2022-09&8.5&7.86&66.85\\
NO&nb+nn&unica+lower+upper&7&1998-10&2022-09&24.3&3.63&88.45\\
PL&pl&lower+upper&4&2015-11&2022-06&6.7&5.35&36.06\\
PT&pt&unica&3&2015-01&2022-03&7.3&2.41&17.65\\
RS&sr&unica&9&1997-12&2022-07&25.0&3.38&84.57\\
SE&sv&unica&2&2015-09&2022-05&6.8&4.28&28.98\\
SI&sl&lower&6&2000-10&2022-05&21.9&3.20&69.92\\
TR&tr&unica&4&2011-06&2022-11&11.6&4.26&49.26\\
UA&uk+ru&unica&3&2012-12&2023-09&10.9&1.73&18.92\\
AT&de&low&8&1996-01&2022-10&27.1&2.24&60.84\\
BA&bs&uni&7&1998-11&2022-07&24.0&0.76&18.31\\
BE&fr+nl&low+com&2&2014-06&2022-07&8.2&5.42&44.37\\
BG&bg&uni&5&2014-10&2022-07&7.9&3.37&26.47\\
CZ&cs&low&3&2013-11&2023-07&9.8&3.14&30.77\\
DK&da&uni&4&2014-10&2022-06&7.8&5.25&40.80\\
EE&et&uni&3&2011-04&2022-06&11.4&2.01&22.87\\
ES-CT&es+ca&uni&4&2015-10&2022-07&6.8&2.33&15.95\\
ES-GA&gl&uni&3&2015-01&2022-05&7.4&2.40&17.84\\
ES-PV&eu+es&uni&3&2015-02&2022-07&7.5&1.80&13.54\\
ES&es&low&5&2015-01&2023-02&8.2&2.39&19.65\\
FI&fi+sv&uni&2&2015-04&2022-01&6.9&1.98&13.54\\
FR&fr&low&2&2017-06&2022-03&4.8&10.33&49.63\\
GB&en&low+upp&4&2015-01&2022-07&7.6&16.56&126.71\\
GR&el&uni&3&2015-01&2022-02&7.2&6.91&49.70\\
HR&hr&uni&5&2003-12&2022-07&18.8&4.64&87.32\\
HU&hu&uni&3&2014-05&2022-06&8.2&3.75&30.85\\
IS&is&uni&4&2015-01&2022-07&7.6&4.10&31.19\\
IT&it&upp&2&2013-03&2022-09&9.7&3.31&31.97\\
LV&lv&uni&2&2014-11&2021-02&6.3&1.44&9.16\\
NL&nl+nl&low+upp&5&2014-04&2022-09&8.5&7.86&66.85\\
NO&nb+nn&uni+low+upp&7&1998-10&2022-09&24.3&3.63&88.45\\
PL&pl&low+upp&4&2015-11&2022-06&6.7&5.35&36.06\\
PT&pt&uni&3&2015-01&2022-03&7.3&2.41&17.65\\
RS&sr&uni&9&1997-12&2022-07&25.0&3.38&84.57\\
SE&sv&uni&2&2015-09&2022-05&6.8&4.28&28.98\\
SI&sl&low&6&2000-10&2022-05&21.9&3.20&69.92\\
TR&tr&uni&4&2011-06&2022-11&11.6&4.26&49.26\\
UA&uk+ru&uni&3&2012-12&2023-09&10.9&1.73&18.92\\
\end{tabular}
58 changes: 29 additions & 29 deletions Corpora/Metadata/ParlaMint-overview-stats.tsv
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
ID Lang Houses Ts From To Yrs Mw/Yr Mw
AT de lower 8 1996-01 2022-10 27.1 2.24 60.84
BA bs unica 7 1998-11 2022-07 24.0 0.76 18.31
BE fr+nl lower 2 2014-06 2022-07 8.2 5.42 44.37
BG bg unica 5 2014-10 2022-07 7.9 3.37 26.47
CZ cs lower 3 2013-11 2023-07 9.8 3.14 30.77
DK da unica 4 2014-10 2022-06 7.8 5.25 40.80
EE et unica 3 2011-04 2022-06 11.4 2.01 22.87
CT es+ca unica 4 2015-10 2022-07 6.8 2.33 15.95
GA gl unica 3 2015-01 2022-05 7.4 2.40 17.84
PV eu+es unica 3 2015-02 2022-07 7.5 1.80 13.54
ES es lower 5 2015-01 2023-02 8.2 2.39 19.65
FI fi+sv unica 2 2015-04 2022-01 6.9 1.98 13.54
FR fr lower 2 2017-06 2022-03 4.8 10.33 49.63
GB en lower+upper 4 2015-01 2022-07 7.6 16.56 126.71
GR el unica 3 2015-01 2022-02 7.2 6.91 49.70
HR hr unica 5 2003-12 2022-07 18.8 4.64 87.32
HU hu unica 3 2014-05 2022-06 8.2 3.75 30.85
IS is unica 4 2015-01 2022-07 7.6 4.10 31.19
IT it upper 2 2013-03 2022-09 9.7 3.31 31.97
LV lv unica 2 2014-11 2021-02 6.3 1.44 9.16
NL nl+nl lower+upper 5 2014-04 2022-09 8.5 7.86 66.85
NO nb+nn unica+lower+upper 7 1998-10 2022-09 24.3 3.63 88.45
PL pl lower+upper 4 2015-11 2022-06 6.7 5.35 36.06
PT pt unica 3 2015-01 2022-03 7.3 2.41 17.65
RS sr unica 9 1997-12 2022-07 25.0 3.38 84.57
SE sv unica 2 2015-09 2022-05 6.8 4.28 28.98
SI sl lower 6 2000-10 2022-05 21.9 3.20 69.92
TR tr unica 4 2011-06 2022-11 11.6 4.26 49.26
UA uk+ru unica 3 2012-12 2023-09 10.9 1.73 18.92
AT de low 8 1996-01 2022-10 27.1 2.24 60.84
BA bs uni 7 1998-11 2022-07 24.0 0.76 18.31
BE fr+nl low+com 2 2014-06 2022-07 8.2 5.42 44.37
BG bg uni 5 2014-10 2022-07 7.9 3.37 26.47
CZ cs low 3 2013-11 2023-07 9.8 3.14 30.77
DK da uni 4 2014-10 2022-06 7.8 5.25 40.80
EE et uni 3 2011-04 2022-06 11.4 2.01 22.87
ES-CT es+ca uni 4 2015-10 2022-07 6.8 2.33 15.95
ES-GA gl uni 3 2015-01 2022-05 7.4 2.40 17.84
ES-PV eu+es uni 3 2015-02 2022-07 7.5 1.80 13.54
ES es low 5 2015-01 2023-02 8.2 2.39 19.65
FI fi+sv uni 2 2015-04 2022-01 6.9 1.98 13.54
FR fr low 2 2017-06 2022-03 4.8 10.33 49.63
GB en low+upp 4 2015-01 2022-07 7.6 16.56 126.71
GR el uni 3 2015-01 2022-02 7.2 6.91 49.70
HR hr uni 5 2003-12 2022-07 18.8 4.64 87.32
HU hu uni 3 2014-05 2022-06 8.2 3.75 30.85
IS is uni 4 2015-01 2022-07 7.6 4.10 31.19
IT it upp 2 2013-03 2022-09 9.7 3.31 31.97
LV lv uni 2 2014-11 2021-02 6.3 1.44 9.16
NL nl+nl low+upp 5 2014-04 2022-09 8.5 7.86 66.85
NO nb+nn uni+low+upp 7 1998-10 2022-09 24.3 3.63 88.45
PL pl low+upp 4 2015-11 2022-06 6.7 5.35 36.06
PT pt uni 3 2015-01 2022-03 7.3 2.41 17.65
RS sr uni 9 1997-12 2022-07 25.0 3.38 84.57
SE sv uni 2 2015-09 2022-05 6.8 4.28 28.98
SI sl low 6 2000-10 2022-05 21.9 3.20 69.92
TR tr uni 4 2011-06 2022-11 11.6 4.26 49.26
UA uk+ru uni 3 2012-12 2023-09 10.9 1.73 18.92
62 changes: 31 additions & 31 deletions Corpora/Metadata/ParlaMint-participDesc-stats.tex
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
\begin{tabular}{l|rrr|rrrrrrr}
ID&Orgs&Parties&C/O&Persons&Affils&Ministers&MPs&PartyM&Birth&URL&IMG\\
\begin{tabular}{l|rrr|rrrrrr}
ID&Org&Prt&C/O&Pers&Affil&Minis&MPs&PrtyM&Birth&URL\\
\hline
AT&37&18&38&854&3,456&122&776&795&848&854&0\\
BA&42&40&14&603&823&24&282&278&231&0&0\\
BE&68&66&19&786&2,174&35&551&551&569&0&553\\
BG&46&38&6&1,032&4,559&25&838&817&912&95&0\\
CZ&450&33&7&597&13,632&93&536&465&507&572&463\\
DK&21&19&8&383&1,025&73&383&383&383&0&0\\
EE&8&6&7&488&1,083&62&263&262&263&0&0\\
ES-CT&39&37&5&364&1,726&44&324&364&364&0&0\\
ES-GA&59&57&6&227&722&16&170&212&214&182&0\\
ES-PV&11&9&5&197&440&21&193&193&175&156&0\\
ES&52&50&10&941&1,849&65&843&826&884&0&0\\
FI&19&17&16&314&1,187&77&306&305&310&0&0\\
FR&185&26&5&908&2,622&18&846&814&902&0&0\\
GB&37&34&5&1,951&9,120&80&1,868&1,947&0&1,951&1,029\\
GR&16&14&5&635&2,562&91&532&532&0&0&0\\
HR&47&45&12&1,036&2,373&78&660&660&660&0&0\\
HU&94&38&6&492&3,420&25&279&343&488&0&0\\
IS&12&9&5&261&925&26&138&239&261&1&0\\
IT&47&45&23&771&3,249&82&706&597&771&771&0\\
LV&13&11&6&234&488&35&196&196&0&0&0\\
NL&50&35&14&586&1,140&49&244&549&542&557&0\\
NO&17&13&9&1,106&5,067&141&1,069&1,106&1,106&0&0\\
PL&12&9&4&1,223&2,180&53&753&645&753&753&0\\
PT&25&22&8&723&2,591&52&601&709&665&0&0\\
RS&73&71&18&1,724&4,992&57&1,472&1,472&1,472&0&0\\
SE&15&13&5&649&1,947&49&626&644&0&0&0\\
SI&32&29&30&973&1,646&59&415&410&466&330&0\\
TR&83&47&3&1,346&7,326&96&1,218&1,229&1,234&1,204&0\\
UA&151&148&31&2,252&10,424&221&1,828&1,825&2,230&506&1,817\\
AT&37&18&38&854&3,456&122&776&795&848&854\\
BA&42&40&14&603&823&24&282&278&231&0\\
BE&68&66&19&786&2,174&35&551&551&569&0\\
BG&46&38&6&1,032&4,559&25&838&817&912&95\\
CZ&450&33&7&597&13,632&93&536&465&507&572\\
DK&21&19&8&383&1,025&73&383&383&383&0\\
EE&8&6&7&488&1,083&62&263&262&263&0\\
ES-CT&39&37&5&364&1,726&44&324&364&364&0\\
ES-GA&59&57&6&227&722&16&170&212&214&182\\
ES-PV&11&9&5&197&440&21&193&193&175&156\\
ES&52&50&10&941&1,849&65&843&826&884&0\\
FI&19&17&16&314&1,187&77&306&305&310&0\\
FR&185&26&5&908&2,622&18&846&814&902&0\\
GB&37&34&5&1,951&9,120&80&1,868&1,947&0&1,951\\
GR&16&14&5&635&2,562&91&532&532&0&0\\
HR&47&45&12&1,036&2,373&78&660&660&660&0\\
HU&94&38&6&492&3,420&25&279&343&488&0\\
IS&12&9&5&261&925&26&138&239&261&1\\
IT&47&45&23&771&3,249&82&706&597&771&771\\
LV&13&11&6&234&488&35&196&196&0&0\\
NL&50&35&14&586&1,140&49&244&549&542&557\\
NO&17&13&9&1,106&5,067&141&1,069&1,106&1,106&0\\
PL&12&9&4&1,223&2,180&53&753&645&753&753\\
PT&25&22&8&723&2,591&52&601&709&665&0\\
RS&73&71&18&1,724&4,992&57&1,472&1,472&1,472&0\\
SE&15&13&5&649&1,947&49&626&644&0&0\\
SI&32&29&30&973&1,646&59&415&410&466&330\\
TR&83&47&3&1,346&7,326&96&1,218&1,229&1,234&1,204\\
UA&151&148&38&2,617&10,661&225&1,827&1,826&2,459&528\\
\end{tabular}
60 changes: 30 additions & 30 deletions Corpora/Metadata/ParlaMint-participDesc-stats.tsv
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
ID Orgs Parties C/O Persons Affils Ministers MPs PartyM Birth URL IMG
AT 37 18 38 854 3456 122 776 795 848 854 0
BA 42 40 14 603 823 24 282 278 231 0 0
BE 68 66 19 786 2174 35 551 551 569 0 553
BG 46 38 6 1032 4559 25 838 817 912 95 0
CZ 450 33 7 597 13632 93 536 465 507 572 463
DK 21 19 8 383 1025 73 383 383 383 0 0
EE 8 6 7 488 1083 62 263 262 263 0 0
ES-CT 39 37 5 364 1726 44 324 364 364 0 0
ES-GA 59 57 6 227 722 16 170 212 214 182 0
ES-PV 11 9 5 197 440 21 193 193 175 156 0
ES 52 50 10 941 1849 65 843 826 884 0 0
FI 19 17 16 314 1187 77 306 305 310 0 0
FR 185 26 5 908 2622 18 846 814 902 0 0
GB 37 34 5 1951 9120 80 1868 1947 0 1951 1029
GR 16 14 5 635 2562 91 532 532 0 0 0
HR 47 45 12 1036 2373 78 660 660 660 0 0
HU 94 38 6 492 3420 25 279 343 488 0 0
IS 12 9 5 261 925 26 138 239 261 1 0
IT 47 45 23 771 3249 82 706 597 771 771 0
LV 13 11 6 234 488 35 196 196 0 0 0
NL 50 35 14 586 1140 49 244 549 542 557 0
NO 17 13 9 1106 5067 141 1069 1106 1106 0 0
PL 12 9 4 1223 2180 53 753 645 753 753 0
PT 25 22 8 723 2591 52 601 709 665 0 0
RS 73 71 18 1724 4992 57 1472 1472 1472 0 0
SE 15 13 5 649 1947 49 626 644 0 0 0
SI 32 29 30 973 1646 59 415 410 466 330 0
TR 83 47 3 1346 7326 96 1218 1229 1234 1204 0
UA 151 148 31 2252 10424 221 1828 1825 2230 506 1817
ID Org Prt C/O Pers Affil Minis MPs PrtyM Birth URL
AT 37 18 38 854 3456 122 776 795 848 854
BA 42 40 14 603 823 24 282 278 231 0
BE 68 66 19 786 2174 35 551 551 569 0
BG 46 38 6 1032 4559 25 838 817 912 95
CZ 450 33 7 597 13632 93 536 465 507 572
DK 21 19 8 383 1025 73 383 383 383 0
EE 8 6 7 488 1083 62 263 262 263 0
ES-CT 39 37 5 364 1726 44 324 364 364 0
ES-GA 59 57 6 227 722 16 170 212 214 182
ES-PV 11 9 5 197 440 21 193 193 175 156
ES 52 50 10 941 1849 65 843 826 884 0
FI 19 17 16 314 1187 77 306 305 310 0
FR 185 26 5 908 2622 18 846 814 902 0
GB 37 34 5 1951 9120 80 1868 1947 0 1951
GR 16 14 5 635 2562 91 532 532 0 0
HR 47 45 12 1036 2373 78 660 660 660 0
HU 94 38 6 492 3420 25 279 343 488 0
IS 12 9 5 261 925 26 138 239 261 1
IT 47 45 23 771 3249 82 706 597 771 771
LV 13 11 6 234 488 35 196 196 0 0
NL 50 35 14 586 1140 49 244 549 542 557
NO 17 13 9 1106 5067 141 1069 1106 1106 0
PL 12 9 4 1223 2180 53 753 645 753 753
PT 25 22 8 723 2591 52 601 709 665 0
RS 73 71 18 1724 4992 57 1472 1472 1472 0
SE 15 13 5 649 1947 49 626 644 0 0
SI 32 29 30 973 1646 59 415 410 466 330
TR 83 47 3 1346 7326 96 1218 1229 1234 1204
UA 151 148 38 2617 10661 225 1827 1826 2459 528
2 changes: 1 addition & 1 deletion Corpora/Metadata/ParlaMint-speeches-stats.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RS 316069 315896 156156 0 318697 4203 1786
SE 84662 83436 84662 15819 370551 9656 0
SI 311354 311354 153770 4706 392734 3668 38654
TR 681052 681052 486410 0 109555 114378 0
UA 200849 200846 101702 0 345746 16550 597
UA 429437 429417 221701 0 730120 22819 1157
10 changes: 6 additions & 4 deletions Scripts/parlamint2cnt-overview.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@

<xsl:template match="tei:teiHeader">
<xsl:param name="corpus"/>
<!--xsl:message select="concat('INFO: Corpus ', $corpus)"/-->
<!-- Corpus -->
<xsl:value-of select="replace($corpus, '.+-', '')"/>
<xsl:value-of select="replace($corpus, '^.+?-', '')"/>
<xsl:value-of select="$col-sep"/>
<!-- Languages -->
<xsl:variable name="languages">
Expand Down Expand Up @@ -137,9 +138,10 @@
][@corresp=$corpus]
/tokenize(@target, ' ')">
<xsl:choose>
<xsl:when test=". = '#parla.uni'">unica+</xsl:when>
<xsl:when test=". = '#parla.lower'">lower+</xsl:when>
<xsl:when test=". = '#parla.upper'">upper+</xsl:when>
<xsl:when test=". = '#parla.uni'">uni+</xsl:when>
<xsl:when test=". = '#parla.lower'">low+</xsl:when>
<xsl:when test=". = '#parla.upper'">upp+</xsl:when>
<xsl:when test=". = '#parla.committee'">com+</xsl:when>
</xsl:choose>
</xsl:for-each>
</xsl:variable>
Expand Down
26 changes: 14 additions & 12 deletions Scripts/parlamint2cnt-particDesc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,34 @@
</xsl:variable>

<!-- If LaTeX -->
<xsl:variable name="preamble">\begin{tabular}{l|rrr|rrrrrrr}&#10;</xsl:variable>
<xsl:variable name="preamble">\begin{tabular}{l|rrr|rrrrrr}&#10;</xsl:variable>
<xsl:variable name="header-row">
<xsl:text>ID</xsl:text> <!-- ISO country code -->
<xsl:value-of select="$col-sep"/>
<xsl:text>Orgs</xsl:text> <!-- Number of organistations -->
<xsl:text>Org</xsl:text> <!-- Number of organistations -->
<xsl:value-of select="$col-sep"/>
<xsl:text>Parties</xsl:text> <!-- Number of political parties -->
<xsl:text>Prt</xsl:text> <!-- Number of political parties -->
<xsl:value-of select="$col-sep"/>
<xsl:text>C/O</xsl:text> <!-- Number of coalitions + oppositions -->
<xsl:value-of select="$col-sep"/>
<xsl:text>Persons</xsl:text> <!-- Number of "speakers" -->
<xsl:text>Pers</xsl:text> <!-- Number of "speakers" -->
<xsl:value-of select="$col-sep"/>
<!-- Number of elements inside person/persName" -->
<!--xsl:text>Name parts</xsl:text>
<xsl:value-of select="$col-sep"/-->
<xsl:text>Affils</xsl:text> <!-- Number of all (timestamped) affiliations -->
<xsl:text>Affil</xsl:text> <!-- Number of all (timestamped) affiliations -->
<xsl:value-of select="$col-sep"/>
<xsl:text>Ministers</xsl:text> <!-- Number of speakers with gender -->
<xsl:text>Minis</xsl:text> <!-- Number of speakers with gender -->
<xsl:value-of select="$col-sep"/>
<xsl:text>MPs</xsl:text> <!-- Number of MPs -->
<xsl:value-of select="$col-sep"/>
<xsl:text>PartyM</xsl:text> <!-- Number of speakers affiliated with political parties -->
<xsl:text>PrtyM</xsl:text> <!-- Number of speakers affiliated with political parties -->
<xsl:value-of select="$col-sep"/>
<xsl:text>Birth</xsl:text> <!-- Speakers with birth dates -->
<xsl:value-of select="$col-sep"/>
<xsl:text>URL</xsl:text> <!-- Speakers with one or more URLs (contact, twitter, facebook) -->
<!-- Speakers with images not included, as too little space on page -->
<!--
<xsl:value-of select="$col-sep"/>
<xsl:text>IMG</xsl:text> <!-- Speakers with images -->
<xsl:text>IMG</xsl:text>
-->
<xsl:value-of select="$line-sep"/>
<xsl:if test="matches($mode, 'tex', 'i')">\hline&#10;</xsl:if>
</xsl:variable>
Expand Down Expand Up @@ -143,11 +143,13 @@
<xsl:value-of select="et:cnt($particDesc//tei:person
[tei:idno[@type='URI']]
)"/>
<!-- Picture, not included -->
<!--
<xsl:value-of select="$col-sep"/>
<!-- Picture -->
<xsl:value-of select="et:cnt($particDesc//tei:person
[tei:figure]
)"/>
-->
<xsl:value-of select="$line-sep"/>
</xsl:template>

Expand Down
2 changes: 1 addition & 1 deletion Scripts/parlamint2cnt-speeches.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

<xsl:template match="tei:teiHeader">
<xsl:variable name="head" select="."/>
<xsl:value-of select="ancestor::tei:teiCorpus/replace(@xml:id, '.+-', '')"/>
<xsl:value-of select="ancestor::tei:teiCorpus/replace(@xml:id, '.+?-', '')"/>

<xsl:value-of select="$col-sep"/>
<xsl:variable name="utterances">
Expand Down

0 comments on commit cb93f7e

Please sign in to comment.