Skip to content

Commit

Permalink
fixing based on htrvx
Browse files Browse the repository at this point in the history
  • Loading branch information
alix-tz committed Nov 18, 2023
1 parent d680af2 commit 59946db
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 43 deletions.
24 changes: 12 additions & 12 deletions data/batch-1/TestamentsDePoilus_will_AN_0008-3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
WIDTH="2488"
HEIGHT="3879">

<TextBlock HPOS="64"
<TextBlock HPOS="57"
VPOS="208"
WIDTH="493"
WIDTH="509"
HEIGHT="3500"
ID="eSc_textblock_4be64fad"
TAGREFS="BT4217">
<Shape><Polygon POINTS="452 3707 253 3702 217 3635 164 3253 128 3209 80 3041 103 2560 168 2078 168 568 64 410 97 208 523 231 557 3196 510 3614 510 3708"/></Shape>
<Shape><Polygon POINTS="452 3707 253 3702 217 3635 164 3253 128 3209 80 3041 59 2527 124 1500 57 913 64 410 97 208 527 208 557 3196 566 3614 510 3708"/></Shape>


<TextLine ID="eSc_line_031a0b18"
Expand Down Expand Up @@ -120,7 +120,7 @@


<TextLine ID="eSc_line_fd52d810"

TAGREFS="LT1381"
BASELINE="136 2598 183 2926 183 2926 152 3122"
HPOS="110"
VPOS="2589"
Expand All @@ -137,13 +137,13 @@

</TextBlock>

<TextBlock HPOS="515"
<TextBlock HPOS="511"
VPOS="129"
WIDTH="1882"
HEIGHT="3604"
WIDTH="1886"
HEIGHT="3621"
ID="block_2"
TAGREFS="BT4215">
<Shape><Polygon POINTS="2190 181 2282 301 2358 374 2397 478 2345 659 2397 1163 2397 3125 2332 3591 2280 3655 1892 3733 559 3709 559 3614 584 3614 515 208 609 159 946 161 1006 168 2086 129"/></Shape>
<Shape><Polygon POINTS="2190 181 2282 301 2358 374 2397 478 2345 659 2397 1163 2397 3125 2332 3591 2280 3655 1892 3733 648 3750 511 3681 528 3547 515 208 609 159 946 161 1006 168 2086 129"/></Shape>


<TextLine ID="line_4"
Expand Down Expand Up @@ -658,12 +658,12 @@
</TextBlock>

<TextBlock HPOS="116"
VPOS="90"
WIDTH="718"
HEIGHT="118"
VPOS="79"
WIDTH="744"
HEIGHT="129"
ID="eSc_textblock_f7604b48"
TAGREFS="BT4216">
<Shape><Polygon POINTS="116 90 834 90 800 154 127 208"/></Shape>
<Shape><Polygon POINTS="116 90 860 79 848 169 127 208"/></Shape>

</TextBlock>

Expand Down
58 changes: 27 additions & 31 deletions data/batch-1/TestamentsDePoilus_will_AN_0327-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,39 +25,13 @@
WIDTH="2472"
HEIGHT="1823">

<TextBlock HPOS="968"
VPOS="1558"
WIDTH="536"
HEIGHT="264"
ID="eSc_textblock_2853dc58"
TAGREFS="BT4550">
<Shape><Polygon POINTS="968 1608 968 1822 1504 1822 1433 1558"/></Shape>

</TextBlock>

<TextBlock HPOS="59"
VPOS="193"
WIDTH="2352"
HEIGHT="1629"
ID="eSc_textblock_026bad3b"
TAGREFS="BT4215">
<Shape><Polygon POINTS="562 242 576 434 1209 451 1091 633 1385 908 221 1014 59 1119 359 1372 1496 1349 1508 1822 2077 1815 2266 1557 2411 1279 2269 1072 1612 1091 1552 889 1730 791 2310 683 2384 446 2407 300 2188 193"/></Shape>

</TextBlock>

<TextBlock HPOS="1639"
VPOS="797"
WIDTH="282"
HEIGHT="224"
ID="eSc_textblock_f1e0ed7b"
TAGREFS="BT4550">
<Shape><Polygon POINTS="1921 985 1878 797 1639 826 1639 1021"/></Shape>

</TextBlock>



<TextBlock ID="eSc_dummyblock_">
<Shape><Polygon POINTS="503 216 484 471 1021 466 1084 673 1197 934 221 1014 59 1119 171 1365 1496 1349 1508 1822 2077 1815 2266 1557 2411 1279 2269 1072 1612 1091 1600 812 1730 791 2310 683 2410 450 2405 287 2403 230 2188 193"/></Shape>


<TextLine ID="line_0"
Expand All @@ -67,7 +41,7 @@
VPOS="256"
WIDTH="1792"
HEIGHT="107">
<Shape><Polygon POINTS="559 335 556 308 618 293 618 293 618 293 619 293 619 293 621 293 654 302 739 300 790 281 790 281 791 281 791 281 859 278 861 278 917 278 917 278 917 278 919 278 976 297 1004 285 1004 285 1005 285 1005 285 1005 285 1007 285 1007 285 1007 285 1055 297 1156 297 1213 282 1215 282 1215 282 1217 282 1496 291 1660 265 1660 265 1662 265 1727 265 1727 265 1727 265 1729 265 1788 285 1926 285 1969 270 1969 270 1970 270 1970 270 1972 270 1972 270 1972 270 2028 279 2089 259 2090 259 2090 259 2090 259 2266 256 2268 256 2268 256 2269 256 2269 256 2269 256 2317 281 2348 281 2348 331 2348 337 2218 337 2216 335 2216 335 2215 335 2215 335 2177 322 2111 338 2110 338 2110 338 2034 340 2032 340 2032 340 2031 340 2031 340 1984 323 1862 323 1662 346 1660 346 1660 346 1659 346 1659 346 1492 332 1416 341 1416 341 1414 341 1414 341 1364 334 1289 341 1289 341 1288 341 1186 335 1162 343 1160 343 1160 343 1160 343 1159 343 1159 343 1106 337 1048 347 1048 347 1046 347 1046 347 961 338 870 357 870 357 870 357 869 357 869 357 869 357 806 343 749 360 747 360 747 360 747 360 746 360 746 360 644 344 604 361 604 361 603 361 603 361 603 361 559 363"/></Shape>
<Shape><Polygon POINTS="559 335 556 308 618 293 619 293 621 293 654 302 739 300 790 281 791 281 859 278 861 278 917 278 919 278 976 297 1004 285 1005 285 1007 285 1055 297 1156 297 1213 282 1215 282 1217 282 1496 291 1660 265 1662 265 1727 265 1729 265 1788 285 1926 285 1969 270 1970 270 1972 270 2028 279 2089 259 2090 259 2266 256 2268 256 2269 256 2317 281 2348 281 2348 331 2348 337 2218 337 2216 335 2215 335 2177 322 2111 338 2110 338 2034 340 2032 340 2031 340 1984 323 1862 323 1662 346 1660 346 1659 346 1492 332 1416 341 1414 341 1364 334 1289 341 1288 341 1186 335 1162 343 1160 343 1159 343 1106 337 1048 347 1046 347 961 338 870 357 869 357 806 343 749 360 747 360 746 360 644 344 604 361 603 361 559 363"/></Shape>
<String CONTENT="en garder un souvenir indulgent et affectueux."
HPOS="556"
VPOS="256"
Expand All @@ -84,7 +58,7 @@
VPOS="470"
WIDTH="606"
HEIGHT="151">
<Shape><Polygon POINTS="1344 603 1346 621 1388 619 1390 619 1391 619 1393 618 1413 603 1438 613 1444 615 1446 615 1447 615 1560 604 1561 604 1563 604 1563 603 1564 603 1567 600 1571 595 1593 597 1630 598 1631 598 1633 598 1669 587 1710 577 1729 581 1745 586 1747 586 1748 586 1750 586 1785 575 1820 563 1946 557 1946 543 1940 484 1912 486 1862 470 1861 470 1859 470 1732 481 1730 481 1659 521 1625 516 1624 516 1622 516 1621 516 1621 518 1610 528 1596 543 1528 546 1516 542 1499 533 1498 533 1496 533 1495 533 1493 533 1478 546 1472 552 1446 554 1440 551 1408 537 1406 537 1405 537 1403 537 1402 537 1402 539 1379 560 1376 563 1340 565 1344 603"/></Shape>
<Shape><Polygon POINTS="1346 621 1388 619 1390 619 1391 619 1393 618 1413 603 1438 613 1444 615 1446 615 1447 615 1560 604 1561 604 1563 604 1563 603 1564 603 1567 600 1571 595 1593 597 1630 598 1631 598 1633 598 1669 587 1710 577 1729 581 1745 586 1747 586 1748 586 1750 586 1785 575 1820 563 1946 557 1946 543 1940 484 1912 486 1862 470 1861 470 1859 470 1732 481 1730 481 1659 521 1625 516 1624 516 1622 516 1621 516 1621 518 1610 528 1596 543 1528 546 1516 542 1499 533 1498 533 1496 533 1495 533 1493 533 1478 546 1472 552 1446 554 1440 551 1408 537 1406 537 1405 537 1403 537 1402 537 1402 539 1379 560 1376 563 1340 565 1344 603"/></Shape>
<String CONTENT="Paul Viven"
HPOS="1340"
VPOS="470"
Expand All @@ -101,7 +75,7 @@
VPOS="1124"
WIDTH="2124"
HEIGHT="135">
<Shape><Polygon POINTS="203 1184 202 1195 381 1200 382 1201 405 1210 407 1210 408 1210 469 1204 484 1203 508 1206 656 1224 657 1224 659 1224 697 1215 773 1227 774 1227 776 1227 809 1215 814 1213 825 1215 858 1219 859 1219 881 1216 910 1212 957 1218 1054 1233 1055 1233 1133 1224 1162 1221 1175 1225 1206 1236 1207 1236 1379 1239 1381 1239 1422 1233 1476 1224 1628 1229 1665 1239 1691 1247 1692 1247 1694 1247 1721 1242 1744 1238 1827 1245 1856 1247 1858 1247 1868 1245 1943 1236 2072 1253 2095 1254 2323 1259 2326 1250 2326 1192 2239 1175 2238 1175 2186 1187 2166 1191 2137 1186 2114 1181 2113 1181 2111 1181 2101 1184 2070 1192 2031 1181 1981 1169 1979 1169 1978 1169 1976 1169 1946 1178 1909 1191 1583 1180 1545 1166 1539 1165 1537 1165 1536 1165 1534 1165 1531 1166 1485 1181 1432 1163 1396 1150 1394 1150 1393 1150 1391 1150 1359 1160 1314 1177 1233 1177 1153 1154 1115 1143 1113 1143 1112 1143 1065 1151 951 1169 809 1150 808 1150 666 1163 577 1134 565 1131 563 1131 562 1131 536 1134 487 1139 203 1124 203 1184"/></Shape>
<Shape><Polygon POINTS="202 1195 381 1200 382 1201 405 1210 407 1210 408 1210 469 1204 484 1203 508 1206 656 1224 657 1224 659 1224 697 1215 773 1227 774 1227 776 1227 809 1215 814 1213 825 1215 858 1219 859 1219 881 1216 910 1212 957 1218 1054 1233 1055 1233 1133 1224 1162 1221 1175 1225 1206 1236 1207 1236 1379 1239 1381 1239 1422 1233 1476 1224 1628 1229 1665 1239 1691 1247 1692 1247 1694 1247 1721 1242 1744 1238 1827 1245 1856 1247 1858 1247 1868 1245 1943 1236 2072 1253 2095 1254 2323 1259 2326 1250 2326 1192 2239 1175 2238 1175 2186 1187 2166 1191 2137 1186 2114 1181 2113 1181 2111 1181 2101 1184 2070 1192 2031 1181 1981 1169 1979 1169 1978 1169 1976 1169 1946 1178 1909 1191 1583 1180 1545 1166 1539 1165 1537 1165 1536 1165 1534 1165 1531 1166 1485 1181 1432 1163 1396 1150 1394 1150 1393 1150 1391 1150 1359 1160 1314 1177 1233 1177 1153 1154 1115 1143 1113 1143 1112 1143 1065 1151 951 1169 809 1150 808 1150 666 1163 577 1134 565 1131 563 1131 562 1131 536 1134 487 1139 203 1124 203 1184"/></Shape>
<String CONTENT="Fait à Paris, avant mon départ pour l’armée, ce 6 Août 1914"
HPOS="202"
VPOS="1124"
Expand All @@ -118,7 +92,7 @@
VPOS="1441"
WIDTH="503"
HEIGHT="99">
<Shape><Polygon POINTS="1697 1517 1697 1540 1788 1538 1789 1538 1791 1538 1794 1537 1823 1517 1873 1532 1882 1535 1884 1535 1885 1535 1887 1535 1900 1531 1955 1516 2025 1516 2045 1525 2052 1528 2054 1528 2055 1528 2196 1517 2198 1514 2195 1478 2114 1478 2111 1478 2075 1455 2073 1455 2072 1455 2070 1455 2010 1464 1991 1449 1990 1449 1988 1449 1987 1449 1985 1449 1984 1449 1955 1469 1897 1441 1896 1441 1795 1441 1794 1441 1792 1441 1791 1441 1751 1475 1695 1479 1697 1517"/></Shape>
<Shape><Polygon POINTS="1697 1540 1788 1538 1789 1538 1791 1538 1794 1537 1823 1517 1873 1532 1882 1535 1884 1535 1885 1535 1887 1535 1900 1531 1955 1516 2025 1516 2045 1525 2052 1528 2054 1528 2055 1528 2196 1517 2198 1514 2195 1478 2114 1478 2111 1478 2075 1455 2073 1455 2072 1455 2070 1455 2010 1464 1991 1449 1990 1449 1988 1449 1987 1449 1985 1449 1984 1449 1955 1469 1897 1441 1896 1441 1795 1441 1794 1441 1792 1441 1791 1441 1751 1475 1695 1479 1697 1517"/></Shape>
<String CONTENT="Viven"
HPOS="1695"
VPOS="1441"
Expand All @@ -129,6 +103,28 @@

</TextBlock>

<TextBlock HPOS="968"
VPOS="1558"
WIDTH="536"
HEIGHT="264"
ID="eSc_textblock_2853dc58"
TAGREFS="BT4550">
<Shape><Polygon POINTS="968 1608 968 1822 1504 1822 1433 1558"/></Shape>

</TextBlock>

<TextBlock HPOS="1639"
VPOS="797"
WIDTH="282"
HEIGHT="224"
ID="eSc_textblock_f1e0ed7b"
TAGREFS="BT4550">
<Shape><Polygon POINTS="1921 985 1878 797 1639 826 1639 1021"/></Shape>

</TextBlock>



</PrintSpace>
</Page>
</Layout>
Expand Down

0 comments on commit 59946db

Please sign in to comment.