Skip to content

Commit 068d7f2

Browse files
committed
Merge branch 'main' of https://github.com/DH-RSE/software-citation.git into main
2 parents 8ce0549 + 9253d82 commit 068d7f2

19 files changed

+416
-280
lines changed

data/JTEI/12_2019-20/jtei-cc-ra-flanders-176-source.xml

Lines changed: 142 additions & 115 deletions
Large diffs are not rendered by default.

data/JTEI/13_2020-22/jtei-cc-pn-kuhry-188-source.xml

Lines changed: 95 additions & 60 deletions
Large diffs are not rendered by default.

data/JTEI/13_2020-22/jtei-cc-ra-parisse-182-source.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@
15961596
target="https://www.fon.hum.uva.nl/paul/papers/speakUnspeakPraat_glot2001.pdf"
15971597
/>.</bibl>
15981598
</rs>
1599-
<ptr type="software" xml:id="R226" target="#teimata"/>
1599+
<ptr type="software" xml:id="R226" target="#teimeta"/>
16001600
<rs type="soft.bib.ref" ref="#R226">
16011601
<bibl xml:id="etienne"><rs type="soft.agent" ref="#R226"><author>Etienne,
16021602
Carole</author></rs>, <rs type="soft.agent" ref="#R226"><author>Loïc

data/JTEI/13_2020-22/jtei-cc-ra-winslow-186-source.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@
530530
favoring one period or type of document over another, a generic element seems both
531531
desirable and advisable. The proposed element, as implemented in the TEI_CEI
532532
ODD,<note>See the <ref xml:id="ref13" type="bibl" target="#winslowetal2019"
533-
>CEI2TEI <ptr type="software" xml:id="GitHub" target="#GitHub"/><rs
534-
type="soft.name" ref="#GitHub">GitHub</rs> repository, accessed June 25,
533+
>CEI2TEI <ptr type="software" xml:id="R1" target="#github"/><rs
534+
type="soft.name" ref="#R1">GitHub</rs> repository, accessed June 25,
535535
2021</ref>, <ptr
536536
target="https://github.com/GVogeler/CEI2TEI/blob/master/tei_cei.odd"/>.</note>
537537
is simple (<ident>attList</ident> items suppressed for brevity: they follow the
@@ -576,8 +576,8 @@
576576
proposed vocabulary, provided in SKOS (Simple Knowledge Organization System) format
577577
(as part of the project’s <ref
578578
target="https://github.com/GVogeler/CEI2TEI/blob/master/Authentication/authen.skos.ttl">
579-
<ptr type="software" xml:id="GitHub" target="#GitHub"/><rs type="soft.name"
580-
ref="#GitHub">GitHub</rs> repository</ref>,<note>Accessed July 13, 2021, <ptr
579+
<ptr type="software" xml:id="R2" target="#github"/><rs type="soft.name"
580+
ref="#R2">GitHub</rs> repository</ref>,<note>Accessed July 13, 2021, <ptr
581581
target="https://github.com/GVogeler/CEI2TEI/blob/master/Authentication/authen.skos.ttl"
582582
/>.</note> at <ptr
583583
target="https://github.com/GVogeler/CEI2TEI/blob/master/Authentication/authen.skos.ttl"

data/JTEI/14_2021-23/jtei-barabuccietal-196-source.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@
261261
text are presented in such a way that the reader is granted more informed access
262262
to them.</p>
263263
<p>The edition will be published online using a specifically tailored version of <ptr
264-
type="software" xml:id="R29" target="#evt"/><rs type="soft.name" ref="R29"
264+
type="software" xml:id="R29" target="#evt"/><rs type="soft.name" ref="#R29"
265265
>EVT</rs> (Edition Visualization Technology<note><quote source="#quote1">A
266266
light-weight, open source tool specifically designed to create digital
267267
editions from XML-encoded texts</quote>
268-
<rs type="soft.bib" ref="R20">(<ref type="bibl" target="#delturco2013"
268+
<rs type="soft.bib" ref="#R20">(<ref type="bibl" target="#delturco2013"
269269
xml:id="quote1">Rosselli Del Turco et al. 2013</ref>)</rs>.</note>) and
270270
will present, on the one hand, each witness in its continuum from facsimile to
271271
multiple levels of normalization and, on the other hand, the three main witnesses
@@ -790,7 +790,7 @@
790790
with no manual intervention on the resulting files.</item>
791791
<item>The generated editions files will conform to the TEI subset understood by
792792
<ptr type="software" xml:id="R30" target="#evt"/><rs type="soft.name"
793-
ref="R30">EVT</rs>.</item>
793+
ref="#R30">EVT</rs>.</item>
794794
</list>
795795
<p>Some of these desiderata clash with each other. For instance, the desire to
796796
directly edit the XML file makes it hard and error-prone to keep in a single
@@ -855,7 +855,7 @@
855855
target="#delturcond">Roberto Rosselli Del Turco (n.d.)</ref>: here two
856856
levels of edition are offered, a diplomatic and a more interpretative one. The
857857
user can compare the two editions visualizing them synoptically in the <ptr
858-
type="software" xml:id="R31" target="#evt"/><rs type="soft.name" ref="R31"
858+
type="software" xml:id="R31" target="#evt"/><rs type="soft.name" ref="#R31"
859859
>EVT</rs> software used for the edition.</p>
860860
</div>
861861
</div>
@@ -1474,10 +1474,10 @@
14741474
version</biblScope>. Accessed <date>October 22, 2021</date>. <ptr
14751475
target="http://vbd.humnet.unipi.it/beta2/"/>.</bibl>
14761476
<bibl xml:id="delturco2013"><ptr type="software" xml:id="R28" target="#evt"
1477-
/><author><rs type="soft.agent" ref="R28">Rosselli Del Turco,
1478-
Roberto</rs></author>, et al. <rs type="soft.bib" ref="R28">
1477+
/><author><rs type="soft.agent" ref="#R28">Rosselli Del Turco,
1478+
Roberto</rs></author>, et al. <rs type="soft.bib" ref="#R28">
14791479
<date>2013</date>. <title level="m">Edition Visualization Technology</title>.
1480-
</rs> Accessed <date>April 19, 2021</date>.<rs type="soft.url" ref="R28"><ptr
1480+
</rs> Accessed <date>April 19, 2021</date>.<rs type="soft.url" ref="#R28"><ptr
14811481
target="http://evt.labcd.unipi.it/"/></rs>.</bibl>
14821482
<bibl xml:id="stella2020"><editor>Stella, Francesco</editor>, ed. <date>2020</date>.
14831483
<title level="m">Corpus Rhythmorum Musicum.</title> Last modified <date>July

data/JTEI/14_2021-23/jtei-cc-pn-erjavec-195-source.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@
326326
<head>Presentation of Parla-CLARIN</head>
327327
<p>Like the TEI Guidelines, the Parla-CLARIN recommendations are available on <ref
328328
target="https://github.com/clarin-eric/parla-clarin/"><ptr type="software" xml:id="R1"
329-
target="#GitHub"/><rs type="soft.name" ref="#R1">GitHub</rs></ref>, as a
329+
target="#github"/><rs type="soft.name" ref="#R1">GitHub</rs></ref>, as a
330330
project<note>Tomaž Erjavec and Andrej Pančur, Parla-CLARIN project <ptr
331-
type="software" xml:id="R2" target="#GitHub"/><rs type="soft.name" ref="#R2"
331+
type="software" xml:id="R2" target="#github"/><rs type="soft.name" ref="#R2"
332332
>GitHub</rs> site, last updated March 17, 2021, <ptr type="software" xml:id="R9"
333333
target="#parlaclarinscripts"/><rs type="soft.url" ref="#R9"><ptr
334334
target="https://github.com/clarin-eric/parla-clarin/"/></rs>.</note> of the CLARIN
@@ -581,7 +581,7 @@
581581
and into developing the <ptr type="software" xml:id="R12" target="#parlaclarinscripts"
582582
/><rs type="soft.name" ref="#R12">conversion from Akoma Ntoso to Parla-CLARIN</rs>. We
583583
have not included examples of the encoding, as these are readily available on the <ptr
584-
type="software" xml:id="R3" target="#GitHub"/><rs type="soft.name" ref="#R3">GitHub</rs>
584+
type="software" xml:id="R3" target="#github"/><rs type="soft.name" ref="#R3">GitHub</rs>
585585
documentation page of the project, and large Parla-CLARIN encoded corpora are openly
586586
available.</p>
587587
<p>Apart from the siParl 2.0 corpus mentioned above (<ptr type="crossref"
@@ -632,7 +632,7 @@
632632
specification from the default ones in the TEI Guidelines to ones taken or adapted from
633633
the collected parliamentary corpora.</p>
634634
<p>Second, as we have already done for ParlaMint, we plan to add to the <ptr type="software"
635-
xml:id="R4" target="#GitHub"/><rs type="soft.name" ref="#R4">GitHub</rs> Parla-CLARIN
635+
xml:id="R4" target="#github"/><rs type="soft.name" ref="#R4">GitHub</rs> Parla-CLARIN
636636
project more down-conversion scripts with which we would increase the usability of the
637637
Parla-CLARIN corpora. As mentioned, work also needs to be done to develop a conversion to
638638
RDF.</p>
@@ -803,7 +803,8 @@
803803
<bibl xml:id="kilgarriff14"><author>Kilgarriff, Adam</author>, <author>Vít Baisa</author>,
804804
<author>Jan Bušta</author>, <author>Miloš Jakubíček</author>, <author>Vojtěch
805805
Kovář</author>, <author>Jan Michelfeit</author>, <author>Pavel Rychlý</author>, and
806-
<author>Vít Suchomel</author>. <rs type="soft.bib.ref" ref="ewfew"><date>2014</date>.
806+
<author>Vít Suchomel</author>. <ptr type="software" xml:id="R30"
807+
target="#sketchengine"/><rs type="soft.name soft.bib.ref" ref="#R30"><date>2014</date>.
807808
<title level="a">The Sketch Engine: Ten Years On.</title></rs>
808809
<title level="j">Lexicography: Journal of ASIALEX</title>
809810
<biblScope unit="volume">1</biblScope> (<biblScope unit="issue">1</biblScope>):

data/JTEI/8_2014-15/jtei-8-boschetti-source.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
</list>. The continuous integration and release are supported by open source Integrated
241241
Development Environments (IDEs) like <ptr type="software" xml:id="R10" target="#eclipse"/>
242242
<rs type="soft.name" ref="#R10">Eclipse</rs> or <ptr type="software" xml:id="R11"
243-
target="netbeans"/><rs type="soft.name" ref="#R11"> NetBeans</rs> and by a software
243+
target="#netbeans"/> <rs type="soft.name" ref="#R11">NetBeans</rs> and by a software
244244
configuration management tool such as <ptr type="software" xml:id="R13" target="#svn"/>
245245
<rs type="soft.name" ref="#R13">SVN</rs> or <ptr type="software" xml:id="R12"
246246
target="#git"/>
@@ -722,7 +722,7 @@
722722
Environment: Metadata, Vocabularies and Techniques in the Digital Humanities</title>,
723723
article no. 11. <pubPlace>New York</pubPlace>: <publisher>ACM</publisher>. doi:<idno
724724
type="doi">10.1145/2517978.2517990</idno>.</bibl>
725-
<ptr type="software" xml:id="R39" target="g2a"/>
725+
<ptr type="software" xml:id="R39" target="#g2a"/>
726726
<rs type="soft.ref.bib" ref="#R39">
727727
<bibl xml:id="bozzi13"><author><rs type="soft.agent" ref="#R39">Bozzi,
728728
Andrea</rs></author>. <date>2013</date>. <title level="a">G2A: A Web Application to

data/JTEI/8_2014-15/jtei-8-iglesia-source.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
type="bibl" xml:id="quoteref1" target="#bingenheimer11">p. 271</ref>) consisting of
482482
biographic data. The interface is realized with a proprietary plug-in built upon the
483483
<ref target="http://prefuse.org/"><ptr type="software" xml:id="R20" target="#prefuse"
484-
/><rs type="soft.name" ref="#R20">Prefus</rs>e</ref><note>UC Berkeley Visualization
484+
/><rs type="soft.name" ref="#R20">Prefuse</rs></ref><note>UC Berkeley Visualization
485485
Lab, <rs type="soft.url" ref="#R20"><ptr target="http://prefuse.org/"/></rs>.</note>
486486
software library. One of our goals is to implement the aggregations within the digital
487487
edition, and for this we would like to use web technologies only. The <ref
@@ -675,9 +675,7 @@
675675
type="doi">10.1093/llc/fqr020</idno>.</bibl>
676676
<bibl xml:id="leboeuf13"><author>Le Boeuf, Patrick</author>, <author>Martin
677677
Doerr</author>, <author>Christian Emil Ore</author>, and <author>Stephen Stead</author>.
678-
<date>2013</date>. <title level="m">Definition of the CIDOC Conceptual <ptr
679-
type="software" xml:id="Reference" target="#Reference"/><rs type="soft.name"
680-
ref="#Reference">Reference</rs> Model</title>, version 5.1.2 (October). <ptr
678+
<date>2013</date>. <title level="m">Definition of the CIDOC Conceptual Reference Model</title>, version 5.1.2 (October). <ptr
681679
target="http://www.cidoc-crm.org/docs/cidoc_crm_version_5.1.2.pdf"/>.</bibl>
682680
<bibl xml:id="myers10"><editor>Myers, Victoria</editor>, <editor>David
683681
O’Shaughnessy</editor>, and <editor>Mark Philp</editor>, eds. <date>2010</date>.

data/JTEI/8_2014-15/jtei-8-intro-source.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
Similarly, Boschetti and Del Grosso describe the design and development of <title
191191
level="m"><ptr type="software" xml:id="R3" target="#teicophilib"/><rs type="soft.name"
192192
ref="#R3">TeiCoPhiLib</rs></title>, a library of <ptr type="software" xml:id="R4"
193-
target="R4"/><rs type="soft.name" ref="#Java">Java</rs> software components devoted
193+
target="#java"/><rs type="soft.name" ref="#R4">Java</rs> software components devoted
194194
to editing, processing, and visualising TEI documents in the domain of philological
195195
studies. This tool is particularly suited to fostering collaborative philological work.
196196
This cluster is closed by Dalmau and Hawkins’s article, the focus of which is not on

data/JTEI/8_2014-15/jtei-8-rosselli-source.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
starting point means that the editor can focus on his work, marking up the transcription
247247
text, with very little configuration needed to create the edition. This approach also
248248
allowed us to quickly test XML files belonging to other edition projects, to check if
249-
<ptr type="software" xml:id="R108" target="#EVT"/><rs type="soft.name" ref="R108"
249+
<ptr type="software" xml:id="R108" target="#evt"/><rs type="soft.name" ref="#R108"
250250
>EVT</rs> could go beyond being a project-specific tool. The inspiration for these
251251
changes came from work done in similar projects developed within the TEI community,
252252
namely <ptr type="software" xml:id="R10" target="#teiboilerplate"/>

data/JTEI/rolling_2022/jtei-teilex-207-source.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@
183183
2018</ref>), an initiative launched in 2016 under the auspices of the DARIAH
184184
Working Group on Lexical Resources, which aims to define a pivot format for the
185185
integration and querying of heterogeneous TEI-based lexical resources.<note>See the
186-
project’s <ptr type="software" xml:id="GitHub" target="#GitHub"/><rs
187-
type="soft.name" ref="#GitHub">GitHub</rs> repository, accessed June 17, 2022,
186+
project’s <ptr type="software" xml:id="R1" target="#github"/><rs
187+
type="soft.name" ref="#R1">GitHub</rs> repository, accessed June 17, 2022,
188188
<ptr target="https://github.com/DARIAH-ERIC/lexicalresources"/>.</note>
189189
</p>
190190
<p>The scope of our proposal covers the usage of the following concepts central to
@@ -1179,8 +1179,8 @@
11791179
<p>In the following examples, we have tried to illustrate interesting cases of
11801180
etymological processes that show how TEI Lex-0 Etym can seamlessly take into account
11811181
a variety of situations. All examples have been validated and included in the TEI
1182-
Lex-0 <ptr type="software" xml:id="GitHub" target="#GitHub"/><rs type="soft.name"
1183-
ref="#GitHub">GitHub</rs> environment.</p>
1182+
Lex-0 <ptr type="software" xml:id="R2" target="#github"/><rs type="soft.name"
1183+
ref="#R2">GitHub</rs> environment.</p>
11841184

11851185
<div xml:id="embeddedsenses">
11861186
<head>Embedded Senses, Metaphor, and Compounding</head>
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Citation type, abs. frequency (n=119), rel. frequency (in %),ALL / abs. frequency (n=119),ALL / rel. frequency (in %)
2-
Soft.Bib,1,.84,1,.84
3-
Soft.Bib.Ref,0,.0,0,.0
4-
Soft.Name,119,100.0,119,100.0
5-
Soft.Agent,0,.0,0,.0
6-
Soft.URL,9,7.56,9,7.56
7-
Soft.PID,0,.0,0,.0
8-
Soft.Ver,0,.0,0,.0
1+
Citation type, abs. frequency (n=234), rel. frequency (in %),ALL / abs. frequency (n=234),ALL / rel. frequency (in %)
2+
soft.bib,3,1.28,3,1.28
3+
soft.bib.ref,27,11.54,27,11.54
4+
soft.name,231,98.72,231,98.72
5+
soft.agent,35,14.96,35,14.96
6+
soft.url,86,36.75,86,36.75
7+
soft.pid,0,.0,0,.0
8+
soft.ver,4,1.71,4,1.71

evaluation/xsl/citation-types-frequencies.xsl

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,55 +12,33 @@
1212
<xsl:output method="text" omit-xml-declaration="yes"/>
1313

1414

15+
<xsl:include href="global-parameters.xsl"/>
16+
17+
1518
<!-- Keys -->
1619
<xsl:key name="rs-by-ref" match="*:rs" use="@ref"/>
1720
<xsl:key name="ptr-by-target" match="*:ptr" use="@target"/>
1821

19-
<!-- Global variables -->
20-
21-
<!-- directories with TEI files -->
22-
<xsl:variable name="collection-dirs" as="xs:string+" select="(
23-
'../../data/JTEI/10_2016-19',
24-
'../../data/JTEI/13_2020-22',
25-
'../../data/JTEI/7_2014',
26-
'../../data/JTEI/rolling_2019',
27-
'../../data/JTEI/rolling_2023',
28-
'../../data/JTEI/11_2019-20',
29-
'../../data/JTEI/12_2019-20',
30-
'../../data/JTEI/14_2021-23',
31-
'../../data/JTEI/8_2014-15',
32-
'../../data/JTEI/rolling_2021',
33-
'../../data/JTEI/16_2023_spa',
34-
'../../data/JTEI/9_2016-17',
35-
'../../data/JTEI/rolling_2022'
36-
)"/>
37-
38-
<!-- software types -->
39-
<xsl:variable name="types" select="document('../../taxonomy/citation-taxonomy.xml')//*:taxonomy/*:category/@xml:id" as="xs:string+"/>
22+
<!-- Global variables -->
23+
4024

4125
<!-- additional columns for predefined filters (applied to file path, compare directory list above for examples) -->
4226
<!-- could also be ('/deu/', '/eng/', ...) for instance -->
4327
<!-- could also be ('/2015/', '/2016/', '/2017/', '/2018/', '/2019/', '/2020/') for instance -->
4428
<xsl:variable name="path-filters" select="''" as="xs:string+"/>
4529

46-
<!-- character to be used as CSV separator -->
47-
<xsl:variable name="csv-separator" select="','" as="xs:string"/>
48-
49-
<!-- newline character -->
50-
<xsl:variable name="NEWLINE"><xsl:text>
51-
</xsl:text></xsl:variable>
5230

5331
<!-- instances of one specific software in one text -->
5432
<xsl:variable name="instances">
55-
<xsl:for-each select="$collection-dirs">
33+
<xsl:for-each select="$COLLECTION-DIRS">
5634
<xsl:for-each select="collection(concat(., '?select=*.xml;recurse=yes;on-error=warning'))">
5735
<xsl:variable name="path" select="base-uri()" as="xs:string"/>
5836
<xsl:variable name="doc" select="/"/>
5937
<xsl:for-each select="distinct-values($doc//*:ptr[@type='software']/@target)">
6038
<xsl:variable name="current-software-target" select="." as="xs:string"/>
6139
<xsl:variable name="rs-for-this-software" select="key('rs-by-ref', key('ptr-by-target', $current-software-target, $doc)/concat('#', @xml:id), $doc)"/>
6240
<instance text="{$path}" software="{$current-software-target}">
63-
<xsl:for-each select="$types">
41+
<xsl:for-each select="$SOFTWARE-MENTION-TYPES">
6442
<!-- counting frequencies -->
6543
<!--<xsl:attribute name="{.}" select="count($rs-with-this-key[contains(lower-case(@ana), lower-case(concat('#',current())))])"/>-->
6644
<!-- determining presence -->
@@ -91,7 +69,7 @@
9169
<xsl:value-of select="$NEWLINE"/>
9270

9371

94-
<xsl:for-each select="$types">
72+
<xsl:for-each select="$SOFTWARE-MENTION-TYPES">
9573
<xsl:variable name="citation-type" select="." as="xs:string"/>
9674

9775
<xsl:value-of select="concat($citation-type, ',')"/>

0 commit comments

Comments
 (0)