AI & XML / LLM test suite / Results / Test cases / JATS_Person_Place-Multilingual_EN_FR

Test case description

Test for recognizing and semantically marking up people and places in English- and French-language text.

Source file

JATS_Person_Place_Multilingual_EN_FR.txt

Series

3

Categories

xml, jats, semantics, multilingual

Evaluation

LLM judge

Prompt SHA-256

a6a23baa0e2db1024d8a3aa463a45b5ac8fb60b368a6665e96d3d5257770ef77

LLM judge: The answer is evaluated with LLM support. A judge model compares the model’s answer with the domain expectation and decides whether its content meets it.

Expected result

SmithLaura[1]DuboisÉtienne[2] Paris [2] London [1]

Expectation in the catalog

Yes

Correct result in the catalog

Yes

Judge instruction

Check the four target entities, their original spelling, person or place typing and correct source references. Exclude the example entities.

Must be satisfied

  • The output consists solely of one well-formed XML document with a common root; Markdown code fences may be removed, but extra prose is not allowed.

  • Laura Smith is output as name name-type="person" with surname Smith, given-names Laura and xref ref-type="fundstelle" [1].

  • Étienne Dubois is output as name name-type="person" with surname Dubois, given-names Étienne and source reference [2]; É is preserved.

  • London is output as named-content content-type="place" with source reference [1].

  • Paris is output as named-content content-type="place" with source reference [2].

  • There are exactly two people and two places; each target entity appears exactly once and its xref is inside that entity.

  • The title Dr. is not part of given-names or surname.

  • John Miller, Boston and the example source reference [3] are not included.

Error criteria

  • The output cannot be parsed as one XML document or contains prose outside XML.

  • A target entity is missing, duplicated or misspelled, or an extra example or contextual entity is output.

  • People are not structured as name name-type="person" with surname and given-names, or places not as named-content content-type="place".

  • Étienne is replaced with an unaccented spelling, translation or transliteration.

  • A source reference is missing, has a different ref-type or is assigned to the wrong entity.

Judge note: Order of the four entities and neutral p containers are not decisive. Whitespace, attribute order and an optional consistent namespace are ignored. Evaluate the original spelling with Unicode precision, especially Étienne.

Prompt

Aufgabe
Erkenne ausschließlich Personen und Orte.
Zeichne sie semantisch in JATS XML aus.
Jede Entität benötigt eine Fundstelle in eckigen Klammern.

Beispiel
Text
[3] The experiment was conducted by John Miller in Boston.

Ausgabe
<name name-type="person">
  <surname>Miller</surname>
  <given-names>John</given-names>
  <xref ref-type="fundstelle">[3]</xref>
</name>

<named-content content-type="place">
  Boston
  <xref ref-type="fundstelle">[3]</xref>
</named-content>

Text
[1] Introduction
The study was coordinated by Dr. Laura Smith in London.

[2] Cadre théorique
Le projet a été soutenu par Étienne Dubois à Paris.

725 Runs 718 evaluated 45.5 % Score 19.2 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Model Category Access route

x

back to top