clarin-eric / ParlaMint

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

fix `to < from` error in parlamint2distro script #715

Closed matyaskopp closed 1 year ago

matyaskopp commented 1 year ago

Corpora (tested only on samples) suffering with //*[@to < @from] error:

ParlaMint-EE
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-09-12
ERROR : attribute to=2022-06-17 is before from=2022-07-19
ERROR : attribute to=2022-06-17 is before from=2022-07-19
ERROR : attribute to=2022-06-17 is before from=2022-07-19

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

ParlaMint-GR
ERROR : attribute to=2019-07-15 is before from=2019-07-17
ERROR : attribute to=2019-07-15 is before from=2019-07-17
ERROR : attribute to=2019-07-15 is before from=2019-07-17
ERROR : attribute to=2019-07-15 is before from=2019-07-17

ParlaMint-HU
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2018-05-11 is before from=2018-05-18
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-01 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2018-05-11 is before from=2018-05-18
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-01 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06

ParlaMint-SE
ERROR : attribute to=2019-01-19 is before from=2019-01-21
ERROR : attribute to=2019-01-19 is before from=2019-01-21

ParlaMint-SI
ERROR : attribute to=2018-03-13 is before from=2018-09-13
ERROR : attribute to=2018-03-13 is before from=2018-09-13

ParlaMint-TR
ERROR : attribute to=2008-05-02 is before from=2014-07-11
ERROR : attribute to=2008-05-02 is before from=2014-07-11

ParlaMint-UA
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2014-07-31 is before from=2016-04-27
ERROR : attribute to=2014-07-31 is before from=2016-04-27
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2014-07-31 is before from=2016-04-27
ERROR : attribute to=2014-07-31 is before from=2016-04-27

Originally posted by @matyaskopp in https://github.com/clarin-eric/ParlaMint/issues/714#issuecomment-1645192752

TomazErjavec commented 1 year ago

And I won't be posting a separate issue for UA, as, @matyaskopp, I'm sure you are aware of it!

TomazErjavec commented 1 year ago

This has been fixed for all corpora except EE (which has a separate issue on this), so, closing.