From 57f9a4c900207378043717d80ec7a5da8e87d0f0 Mon Sep 17 00:00:00 2001 From: cboulanger <info@bibliograph.org> Date: Sat, 5 Oct 2024 20:54:59 +0200 Subject: [PATCH] Gold fixes, gold schema proposal --- .../schema/gold_standard.xml | 100 ++++++++++++++++++ .../10.1111_1467-6478.00080.xml | 16 +-- .../10.1111_1467-6478.00080.xml | 8 +- 3 files changed, 111 insertions(+), 13 deletions(-) create mode 100644 convert-anystyle-data/schema/gold_standard.xml diff --git a/convert-anystyle-data/schema/gold_standard.xml b/convert-anystyle-data/schema/gold_standard.xml new file mode 100644 index 0000000..1e7f369 --- /dev/null +++ b/convert-anystyle-data/schema/gold_standard.xml @@ -0,0 +1,100 @@ +<dataset> + <!-- alternative tag names: <feature>, <predictor> --> + <instance source="doi:10.1111/1467-6478.00080"> + <input type="raw"> + 3 R. Goff, ‘The Search for Principle’ (1983) Proceeedings of the British Academy 169, at 171. This is an + amplification of Dicey’s remark that ‘[b]y adequate study and careful thought whole departments of law can . + . . be reduced to order and exhibited under the form of a few principles which sum up the effect of a + hundred cases . . .’. A. Dicey, Can English Law be taught at the Universities? (1883) 20. + </input> + <input type="segmented"> + <!-- Alternative: Use TEI: <p><bibl>...</bibl><seg>...</seg><bibl>...</bibl>? --> + <!-- Alternative with less semantics: use only separators between bibl/non-bibl sections, this would + require output with non-bibl result --> + <bibl>3 R. Goff, ‘The Search for Principle’ (1983) Proceeedings of the British Academy 169, + at 171. + </bibl> + <nobibl>This is an amplification of Dicey’s remark that ‘[b]y adequate study and careful + thought whole departments of law can . . . be reduced to order and exhibited under the form of a + few principles which sum up the effect of a hundred cases . . .’. + </nobibl> + <bibl>A. Dicey, Can English Law be taught at the Universities? (1883) 20.</bibl> + </input> + <!-- alternative tag names: <target> <label> --> + <output type="bibl"> + <bibl xmlns="http://www.tei-c.org/ns/1.0"> + <author> + <persName> + <forename>R.</forename> + <surname>Goff</surname> + </persName> + </author> + , ‘ + <title level="a">The Search for Principle</title> + ’ ( + <date>1983</date> + ) + <title level="j">Proceeedings of the British Academy</title> + <biblScope unit="volume" from="169" to="169">169</biblScope> + , + <biblScope unit="page" from="at">at 171</biblScope> + . + </bibl> + <seg type="comment">This is an amplification of Dicey’s remark that ‘[b]y adequate study and careful + thought whole departments of law can . . . be reduced to order and exhibited under the form of a + few principles which sum up the effect of a hundred cases . . .’. + </seg> + <bibl xmlns="http://www.tei-c.org/ns/1.0"> + <author> + <persName> + <forename>A.</forename> + <surname>Dicey</surname> + </persName> + </author> + , + <title level="m">Can English Law be taught at the Universities?</title> + ( + <date>1883</date> + ) + <biblScope unit="page" from="20">20</biblScope> + . + </bibl> + </output> + <output type="biblStruct"> + <biblStruct xmlns="http://www.tei-c.org/ns/1.0" n="2"> + <analytic> + <title level="a">The Search for Principle</title> + <author> + <persName> + <forename>R.</forename> + <surname>Goff</surname> + </persName> + </author> + </analytic> + <monogr> + <title level="j">Proceeedings of the British Academy</title> + <imprint> + <date>1983</date> + </imprint> + <biblScope unit="volume" from="169" to="169">169</biblScope> + <biblScope unit="page" from="at">at 171</biblScope> + </monogr> + </biblStruct> + <biblStruct xmlns="http://www.tei-c.org/ns/1.0" n="3"> + <monogr> + <author> + <persName> + <forename>A.</forename> + <surname>Dicey</surname> + </persName> + </author> + <title level="m">Can English Law be taught at the Universities?</title> + <imprint> + <date>1883</date> + </imprint> + <biblScope unit="page" from="20">20</biblScope> + </monogr> + </biblStruct> + </output> + </instance> +</dataset> diff --git a/convert-anystyle-data/tei-bibl-corrected/10.1111_1467-6478.00080.xml b/convert-anystyle-data/tei-bibl-corrected/10.1111_1467-6478.00080.xml index 3b8a0b6..ce1e2ef 100644 --- a/convert-anystyle-data/tei-bibl-corrected/10.1111_1467-6478.00080.xml +++ b/convert-anystyle-data/tei-bibl-corrected/10.1111_1467-6478.00080.xml @@ -60,12 +60,12 @@ , <biblScope unit="page" from="at">at 171</biblScope> . + </bibl> + <bibl n="3"> <seg type="comment">This is an amplification of Dicey’s remark that ‘[b]y adequate study and careful thought whole departments of law can . . . be reduced to order and exhibited under the form of a few principles which sum up the effect of a hundred cases . . .’. </seg> - </bibl> - <bibl n="3"> <author> <persName> <forename>A.</forename> @@ -73,7 +73,7 @@ </persName> </author> , - <title level="a">Can English Law be taught at the Universities?</title> + <title level="m">Can English Law be taught at the Universities?</title> ( <date>1883</date> ) @@ -90,7 +90,7 @@ </persName> </author> , - <title level="a">The Law of Contract</title> + <title level="m">The Law of Contract</title> ( <date>1989</date> ) @@ -171,7 +171,7 @@ </persName> </author> , - <title level="a">Law’s Community</title> + <title level="m">Law’s Community</title> ( <date>1995</date> ) @@ -218,7 +218,7 @@ </persName> </author> <seg type="documentType">report</seg> - <title level="a">A Time for Change</title> + <title level="m">A Time for Change</title> ( <date>1988</date> ). @@ -240,7 +240,7 @@ colleges of higher education did not take sole responsibility for vocational legal training </seg> ( - <title level="a">Report of the Committee on Legal Education</title> + <title level="m">Report of the Committee on Legal Education</title> ( <date>1971</date> ; @@ -255,7 +255,7 @@ </bibl> <bibl n="13"> <seg type="comment">There were also other recommendations that were not implemented.</seg> - <title level="a">The Robbins report on higher education, Higher Education</title> + <title level="m">The Robbins report on higher education, Higher Education</title> ( <date>1963</date> ; diff --git a/convert-anystyle-data/tei-biblStruct-gold/10.1111_1467-6478.00080.xml b/convert-anystyle-data/tei-biblStruct-gold/10.1111_1467-6478.00080.xml index 43a9be3..30f454d 100644 --- a/convert-anystyle-data/tei-biblStruct-gold/10.1111_1467-6478.00080.xml +++ b/convert-anystyle-data/tei-biblStruct-gold/10.1111_1467-6478.00080.xml @@ -87,16 +87,14 @@ </monogr> </biblStruct> <biblStruct xmlns="http://www.tei-c.org/ns/1.0" n="3"> - <analytic> - <title level="a">Can English Law be taught at the Universities?</title> + <monogr> + <title level="m">Can English Law be taught at the Universities?</title> <author> <persName> <forename>A.</forename> <surname>Dicey</surname> </persName> </author> - </analytic> - <monogr> <imprint> <date>1883</date> </imprint> @@ -111,7 +109,7 @@ </desc> <biblStruct xmlns="http://www.tei-c.org/ns/1.0" n="4"> <analytic> - <title level="a">The Law of Contract</title> + <title level="m">The Law of Contract</title> <author> <persName> <forename>J.</forename> -- GitLab