Skip to content
Snippets Groups Projects
Commit 51d01801 authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Remove test samples from removed tasks

parent 9400e92d
No related branches found
No related tags found
1 merge request!383Remove test samples from removed tasks
Pipeline #168131 passed
Showing
with 0 additions and 969 deletions
......@@ -38,7 +38,6 @@ repos:
hooks:
- id: codespell
args: ['--write-changes']
exclude: '^tests/samples/build_entities/(.*)$'
- repo: meta
hooks:
- id: check-useless-excludes
FROM python:3-alpine
RUN pip install requests
\ No newline at end of file
test
test
\ No newline at end of file
[
{
"xml_file": "create_blocks.xml",
"corpus_id": "corpus_id",
"page_id": "page_id",
"transcriptions": [
{
"transcription_id": "transcription_0",
"index_region": 0
},
{
"transcription_id": "transcription_1",
"index_region": 1
}
]
}
]
\ No newline at end of file
[
{
"xml_file": "create_entities.xml",
"corpus_id": "corpus_id",
"page_id": "page_id",
"transcriptions": [
{
"transcription_id": "transcription_0",
"index_region": 0
},
{
"transcription_id": "transcription_1",
"index_region": 1
}
]
}
]
\ No newline at end of file
[
{
"xml_file": "first_and_last_name.xml",
"corpus_id": "corpus_id",
"page_id": "page_id",
"transcriptions": [
{
"transcription_id": "transcription_0",
"index_region": 0
},
{
"transcription_id": "transcription_1",
"index_region": 1
},
{
"transcription_id": "transcription_2",
"index_region": 2
}
]
}
]
\ No newline at end of file
[
{
"xml_file": "merge.xml",
"corpus_id": "corpus_id",
"page_id": "page_id",
"transcriptions": [
{
"transcription_id": "transcription_0",
"index_region": 0
},
{
"transcription_id": "transcription_1",
"index_region": 1
}
]
}
]
[
{
"xml_file": "merge.xml",
"corpus_id": "corpus_id_1",
"page_id": "page_id",
"transcriptions": []
},
{
"xml_file": "merge.xml",
"corpus_id": "corpus_id_2",
"page_id": "page_id",
"transcriptions": []
}
]
[
{
"xml_file": "regroup.xml",
"corpus_id": "corpus_id",
"page_id": "page_id",
"transcriptions": [
{
"transcription_id": "transcription_0",
"index_region": 0
},
{
"transcription_id": "transcription_1",
"index_region": 1
}
]
}
]
\ No newline at end of file
File deleted
[
{
"reading_order": 0,
"lines": [
{
"reading_order": 0,
"tags": [
{
"name": "readingOrder",
"index": "0",
"reading_order": 0,
"transcription_id": "transcription_0",
"offset_in_region": 0
},
{
"name": "_date",
"offset": "3",
"length": "30",
"_enregistrement": "1",
"value": "onze janvier mil neuf centsept",
"reading_order": 0,
"transcription_id": "transcription_0",
"offset_in_region": 3
}
],
"length": 33
},
{
"reading_order": 1,
"tags": [
{
"name": "readingOrder",
"index": "1",
"reading_order": 1,
"transcription_id": "transcription_0",
"offset_in_region": 34
},
{
"name": "_prenom",
"offset": "36",
"length": "5",
"continued": "true",
"_role": "sujet",
"value": "Louis",
"reading_order": 1,
"transcription_id": "transcription_0",
"offset_in_region": 70
}
],
"length": 41
}
]
},
{
"reading_order": 1,
"lines": [
{
"reading_order": 0,
"tags": [
{
"name": "readingOrder",
"index": "0",
"reading_order": 0,
"transcription_id": "transcription_1",
"offset_in_region": 0
},
{
"name": "structure",
"type": "ref",
"reading_order": 0,
"transcription_id": "transcription_1",
"offset_in_region": 0
}
],
"length": 4
},
{
"reading_order": 1,
"tags": [
{
"name": "readingOrder",
"index": "1",
"reading_order": 1,
"transcription_id": "transcription_1",
"offset_in_region": 5
},
{
"name": "_prenom",
"offset": "0",
"length": "12",
"continued": "true",
"_role": "sujet",
"value": "Louis Joseph",
"reading_order": 1,
"transcription_id": "transcription_1",
"offset_in_region": 5
}
],
"length": 12
},
{
"reading_order": 2,
"tags": [
{
"name": "readingOrder",
"index": "2",
"reading_order": 2,
"transcription_id": "transcription_1",
"offset_in_region": 18
},
{
"name": "_prenom",
"offset": "0",
"length": "13",
"continued": "true",
"_role": "sujet",
"value": "Pierre Siméon",
"reading_order": 2,
"transcription_id": "transcription_1",
"offset_in_region": 18
}
],
"length": 13
},
{
"reading_order": 3,
"tags": [
{
"name": "readingOrder",
"index": "3",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 32
},
{
"name": "_nom",
"offset": "0",
"length": "7",
"value": "Lemieux",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 32
}
],
"length": 7
}
]
}
]
\ No newline at end of file
[
{
"name": "_prenom",
"offset": "4",
"length": 20,
"continued": "true",
"_role": "sujet",
"value": "Gérard Henri Chaloux",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 18,
"items": [
{
"name": "_prenom",
"offset": "4",
"length": "6",
"continued": "true",
"_role": "sujet",
"value": "Gérard",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 18
},
{
"name": "_prenom",
"offset": "0",
"length": "5",
"continued": "true",
"_role": "sujet",
"value": "Henri",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 25
},
{
"name": "_nom",
"offset": "0",
"length": "7",
"value": "Chaloux",
"reading_order": 1,
"transcription_id": "transcription_0",
"offset_in_region": 6
}
]
},
{
"name": "_lieu_residence",
"offset": "2",
"length": 4,
"value": "N.H.",
"reading_order": 5,
"transcription_id": "transcription_0",
"offset_in_region": 39,
"items": [
{
"name": "_lieu_residence",
"offset": "2",
"length": "4",
"value": "N.H.",
"reading_order": 5,
"transcription_id": "transcription_0",
"offset_in_region": 39
}
]
}
]
[
{
"name": "_prenom",
"offset": "14",
"length": 17,
"_role": "sujet",
"value": "garçon Dumoulin",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 32,
"items": [
{
"name": "_prenom",
"offset": "14",
"length": "6",
"_role": "sujet",
"value": "garçon",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 32
},
{
"name": "_nom",
"offset": "10",
"length": "3",
"continued": "true",
"value": "Du-",
"reading_order": 4,
"transcription_id": "transcription_1",
"offset_in_region": 54
},
{
"name": "_nom",
"offset": "0",
"length": "6",
"continued": "true",
"value": "moulin",
"reading_order": 5,
"transcription_id": "transcription_1",
"offset_in_region": 58
}
]
},
{
"name": "_prenom",
"offset": "3",
"length": 17,
"_role": "père",
"value": "Joseph Dumoulin",
"reading_order": 4,
"transcription_id": "transcription_1",
"offset_in_region": 47,
"items": [
{
"name": "_prenom",
"offset": "3",
"length": "6",
"_role": "père",
"value": "Joseph",
"reading_order": 4,
"transcription_id": "transcription_1",
"offset_in_region": 47
},
{
"name": "_nom",
"offset": "10",
"length": "3",
"continued": "true",
"value": "Du-",
"reading_order": 4,
"transcription_id": "transcription_1",
"offset_in_region": 54
},
{
"name": "_nom",
"offset": "0",
"length": "6",
"continued": "true",
"value": "moulin",
"reading_order": 5,
"transcription_id": "transcription_1",
"offset_in_region": 58
}
]
},
{
"name": "_prenom",
"offset": "3",
"length": 15,
"_role": "mère",
"value": "Valeda Paquette",
"reading_order": 6,
"transcription_id": "transcription_1",
"offset_in_region": 73,
"items": [
{
"name": "_prenom",
"offset": "3",
"length": "6",
"_role": "mère",
"value": "Valeda",
"reading_order": 6,
"transcription_id": "transcription_1",
"offset_in_region": 73
},
{
"name": "_nom",
"offset": "10",
"length": "8",
"value": "Paquette",
"reading_order": 6,
"transcription_id": "transcription_1",
"offset_in_region": 80
}
]
}
]
\ No newline at end of file
[
{
"name": "_prenom",
"offset": "0",
"length": 22,
"_role": "sujet",
"value": "Charles-Albert Lapalme",
"reading_order": 2,
"transcription_id": "transcription_2",
"offset_in_region": 14,
"items": [
{
"name": "_prenom",
"offset": "0",
"length": "14",
"_role": "sujet",
"value": "Charles-Albert",
"reading_order": 2,
"transcription_id": "transcription_2",
"offset_in_region": 14
},
{
"name": "_nom",
"offset": "0",
"length": "7",
"value": "Lapalme",
"reading_order": 1,
"transcription_id": "transcription_2",
"offset_in_region": 6
}
]
}
]
\ No newline at end of file
[
{
"name": "_prenom",
"offset": "0",
"length": 19,
"_role": "sujet",
"value": "Marie-Alice-Rosilda",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 42,
"items": [
{
"name": "_prenom",
"offset": "0",
"length": "19",
"_role": "sujet",
"value": "Marie-Alice-Rosilda",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 42
}
]
},
{
"name": "_prenom",
"offset": "3",
"length": 7,
"_role": "p\u00e8re",
"value": "Antoine",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 70,
"items": [
{
"name": "_prenom",
"offset": "3",
"length": "7",
"_role": "p\u00e8re",
"value": "Antoine",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 70
}
]
},
{
"name": "_nom",
"offset": "11",
"length": 6,
"value": "Landry",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 78,
"items": [
{
"name": "_nom",
"offset": "11",
"length": "6",
"value": "Landry",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 78
}
]
},
{
"name": "_prenom",
"offset": "6",
"length": 6,
"_role": "m\u00e8re",
"value": "Zelpha",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 91,
"items": [
{
"name": "_prenom",
"offset": "6",
"length": "6",
"_role": "m\u00e8re",
"value": "Zelpha",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 91
}
]
},
{
"name": "_nom",
"offset": "0",
"length": 10,
"value": "Beauchesne",
"reading_order": 5,
"transcription_id": "transcription_0",
"offset_in_region": 98,
"items": [
{
"name": "_nom",
"offset": "0",
"length": "10",
"value": "Beauchesne",
"reading_order": 5,
"transcription_id": "transcription_0",
"offset_in_region": 98
}
]
}
]
[
{
"name": "_nom",
"offset": "0",
"length": 6,
"value": "Landry",
"reading_order": 1,
"transcription_id": "transcription_1",
"offset_in_region": 6,
"items": [
{
"name": "_nom",
"offset": "0",
"length": "6",
"value": "Landry",
"reading_order": 1,
"transcription_id": "transcription_1",
"offset_in_region": 6
}
]
},
{
"name": "_prenom",
"offset": "0",
"length": 19,
"continued": "true",
"_role": "sujet",
"value": "Marie-Alice Rosilda",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 13,
"items": [
{
"name": "_prenom",
"offset": "0",
"length": "11",
"continued": "true",
"_role": "sujet",
"value": "Marie-Alice",
"reading_order": 2,
"transcription_id": "transcription_1",
"offset_in_region": 13
},
{
"name": "_prenom",
"offset": "0",
"length": "7",
"continued": "true",
"_role": "sujet",
"value": "Rosilda",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 25
}
]
}
]
[
{
"name": "_prenom",
"offset": "0",
"length": 26,
"_role": "sujet",
"value": "Marie-Alice-Rosilda Landry",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 42,
"items": [
{
"name": "_prenom",
"offset": "0",
"length": "19",
"_role": "sujet",
"value": "Marie-Alice-Rosilda",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 42
},
{
"name": "_nom",
"offset": "11",
"length": "6",
"value": "Landry",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 78
}
]
},
{
"name": "_prenom",
"offset": "3",
"length": 14,
"_role": "p\u00e8re",
"value": "Antoine Landry",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 70,
"items": [
{
"name": "_prenom",
"offset": "3",
"length": "7",
"_role": "p\u00e8re",
"value": "Antoine",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 70
},
{
"name": "_nom",
"offset": "11",
"length": "6",
"value": "Landry",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 78
}
]
},
{
"name": "_prenom",
"offset": "6",
"length": 17,
"_role": "m\u00e8re",
"value": "Zelpha Beauchesne",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 91,
"items": [
{
"name": "_prenom",
"offset": "6",
"length": "6",
"_role": "m\u00e8re",
"value": "Zelpha",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 91
},
{
"name": "_nom",
"offset": "0",
"length": "10",
"value": "Beauchesne",
"reading_order": 5,
"transcription_id": "transcription_0",
"offset_in_region": 98
}
]
}
]
[
{
"name": "_prenom",
"offset": "0",
"length": 26,
"continued": "true",
"_role": "sujet",
"value": "Marie-Alice Rosilda Landry",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 13,
"items": [
{
"name": "_prenom",
"offset": "0",
"length": "11",
"continued": "true",
"_role": "sujet",
"value": "Marie-Alice",
"reading_order": 2,
"transcription_id": "transcription_1",
"offset_in_region": 13
},
{
"name": "_prenom",
"offset": "0",
"length": "7",
"continued": "true",
"_role": "sujet",
"value": "Rosilda",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 25
},
{
"name": "_nom",
"offset": "0",
"length": "6",
"value": "Landry",
"reading_order": 1,
"transcription_id": "transcription_1",
"offset_in_region": 6
}
]
}
]
[
{
"name": "_prenom",
"offset": "5",
"length": 13,
"_role": "sujet",
"value": "Marie-Evilina",
"reading_order": 1,
"transcription_id": "transcription_0",
"offset_in_region": 21,
"items": [
{
"name": "_prenom",
"offset": "5",
"length": "13",
"_role": "sujet",
"value": "Marie-Evilina",
"reading_order": 1,
"transcription_id": "transcription_0",
"offset_in_region": 21
}
]
},
{
"name": "_prenom",
"offset": "0",
"length": 7,
"_role": "père",
"value": "Camille",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 45,
"items": [
{
"name": "_prenom",
"offset": "0",
"length": "7",
"_role": "père",
"value": "Camille",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 45
}
]
},
{
"name": "_nom",
"offset": "8",
"length": 9,
"value": "Thibeault",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 53,
"items": [
{
"name": "_nom",
"offset": "8",
"length": "9",
"value": "Thibeault",
"reading_order": 2,
"transcription_id": "transcription_0",
"offset_in_region": 53
}
]
},
{
"name": "_prenom",
"offset": "6",
"length": 10,
"continued": "true",
"_role": "mère",
"value": "Erminise",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 69,
"items": [
{
"name": "_prenom",
"offset": "6",
"length": "5",
"continued": "true",
"_role": "mère",
"value": "Ermi-",
"reading_order": 3,
"transcription_id": "transcription_0",
"offset_in_region": 69
},
{
"name": "_prenom",
"offset": "0",
"length": "4",
"continued": "true",
"_role": "mère",
"value": "nise",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 75
}
]
},
{
"name": "_nom",
"offset": "5",
"length": 8,
"value": "Champeau",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 80,
"items": [
{
"name": "_nom",
"offset": "5",
"length": "8",
"value": "Champeau",
"reading_order": 4,
"transcription_id": "transcription_0",
"offset_in_region": 80
}
]
}
]
\ No newline at end of file
[
{
"name": "_nom",
"offset": "0",
"length": 6,
"value": "Dragon",
"reading_order": 1,
"transcription_id": "transcription_1",
"offset_in_region": 6,
"items": [
{
"name": "_nom",
"offset": "0",
"length": "6",
"value": "Dragon",
"reading_order": 1,
"transcription_id": "transcription_1",
"offset_in_region": 6
}
]
},
{
"name": "_prenom",
"offset": "0",
"length": 20,
"continued": "true",
"_role": "sujet",
"value": "Marie Emillia Elmire",
"reading_order": 4,
"transcription_id": "transcription_1",
"offset_in_region": 13,
"items": [
{
"name": "_prenom",
"offset": "0",
"length": "5",
"continued": "true",
"_role": "sujet",
"value": "Marie",
"reading_order": 2,
"transcription_id": "transcription_1",
"offset_in_region": 13
},
{
"name": "_prenom",
"offset": "0",
"length": "7",
"continued": "true",
"_role": "sujet",
"value": "Emillia",
"reading_order": 3,
"transcription_id": "transcription_1",
"offset_in_region": 19
},
{
"name": "_prenom",
"offset": "0",
"length": "6",
"continued": "true",
"_role": "sujet",
"value": "Elmire",
"reading_order": 4,
"transcription_id": "transcription_1",
"offset_in_region": 27
}
]
}
]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment