clarin-eric / ParlaMint

ParlaMint: Comparable Parliamentary Corpora
https://clarin-eric.github.io/ParlaMint/
41 stars 52 forks source link

ES-CT: affiliation "to" less than "from" #740

Closed TomazErjavec closed 1 year ago

TomazErjavec commented 1 year ago

As noticed in https://github.com/clarin-eric/ParlaMint/issues/715, ES-CT has cases where the value of the to attribute has a older date than the value of from:

ERROR : attribute to=2021-05-16 is before from=2021-09-08

This mistake appears twice in your listPerson, here:

   <person xml:id="PonsaÀngels">
      <persName>
         <surname>Ponsa</surname>
         <nameLink>i</nameLink>
         <surname>Roca</surname>
         <forename>Àngels</forename>
      </persName>
      <sex value="F"/>
      <birth when="1960"/>
      <affiliation ref="#party.JxCAT" role="member"/>
      <affiliation role="member" ref="#PG.JxSi-XI" from="2015-10-26" to="2017-10-27"/>
      <affiliation ref="#PC" role="member" from="2015-10-26" to="2017-11-27"/>
      <affiliation ref="#GOV" role="minister" from="2021-09-08" to="2021-05-16">
         <roleName xml:lang="ca">Conseller de Cultura</roleName>
      </affiliation>
      <affiliation ref="#GOV" role="member" from="2021-09-08" to="2021-05-16"/>
   </person>

It would be great if you could fix these and re-send the listPerson. However, it needs to be done soon, so we can wrap up the corpora.

TomazErjavec commented 1 year ago

Fixed, closing.