Importscript BUG alignments
Pendant l'import il y a souvent l'erreur qui dit qu'il ne trouve pas un texte relatif à un alignement et que donc il "skip" l'alignement. Par exemple:
Il ne trouve pas le texte 634 de l'entity 210 (http://anthologia.ecrituresnumeriques.ca/api/v1/entities/210).
En effet, le texte est là. Mais, va savoir pourquoi, il a un autre id : 1620
Il s'agit de l'épigramme 7.105
http://antholont.ecrituresnumeriques.ca/passages/urn:cts:greekLit:tlg7000.tlg001.ag:7.105/
Ici ma visualisation avec les 2 alignements: https://anthologiagraeca.org/passages/urn:cts:greekLit:tlg7000.tlg001.ag:7.105
Le texte 634 est le français - et il est bien importé (Sur toi aussi, Lakydès, la renommée m'a appris...)
Le problème vient d'un bug de la vieille api. On peut le corriger cependant, je crois, en comparant le texte dans le json de l'allignement avec les textes liés au passage.
J'explique la procédure:
Voici le json des versions de l'entity 210:
versions": [
{
"id_entity_version": 631,
"id_entity": 210,
"id_user": 45,
"id_group": null,
"id_language": 8,
"text_translated": "\n καί σέο, Λακύδη, φάτιν ἔκλυον, ὡς ἄρα καί σε\n Βάκχος ἑλὼν ἀίδην ποσσὶν ἔσυρεν ἄκροις.\nἦ σαφὲς ἦν Διόνυσος ὅτ᾽ ἀν πολὺς ἐς δέμας ἔλθῃ,\n λῦσε μέλη: διὸ δὴ μήτι Λυαῖος ἔφυ;\n",
"edition": null,
"createdAt": "2018-01-26T12:38:25.000Z",
"updatedAt": "2018-01-26T12:38:25.000Z"
},
{
"id_entity_version": 632,
"id_entity": 210,
"id_user": 45,
"id_group": null,
"id_language": 3,
"text_translated": "And about you too, Lacydes, I heard that Bacchus\ntook hold of you by the toes and dragged you to\nHades. It is clear ; when Bacchus enters the body\nin force he paralyses the limbs. Is that not why he is\ncalled Lyaeus ?",
"edition": "W. R. Paton",
"createdAt": "2018-01-26T12:45:08.000Z",
"updatedAt": "2018-01-26T12:45:08.000Z"
},
{
"id_entity_version": 1620,
"id_entity": 210,
"id_user": 81,
"id_group": null,
"id_language": 2,
"text_translated": "Sur toi aussi, Lakydès, la renommée m'a appris\nqu'Hadès, après avoir pris la robe de Bacchus, vint le\ntirer par le bout des pieds. L'affaire était claire : quand\nBacchus entre en abondance dans un corps, il en délie les\nmembres : n'est-ce pas pour cela qu'il est le Délieur ?",
"edition": "P. Waltz",
"createdAt": "2020-06-09T20:29:28.000Z",
"updatedAt": "2020-06-09T20:29:28.000Z"
}
et voici les infos des allignements:
alignements": [
{
"id_align": 346,
"id_entity": 210,
"source": 631,
"source_lang": 8,
"target": 632,
"target_lang": 3,
"json": [
[
[ ],
[
{
"t": "καί",
"h": [
[
1
],
[
1
]
],
"pos": "[1][1]",
"parent": 0,
"children": 1
},
{
"t": "σέο",
"h": [
[
2
],
[
2,
3
]
],
"pos": "[1][2]",
"parent": 0,
"children": 2
},
{
"p": ","
},
{
"t": "Λακύδη",
"h": [
[
3
],
[
5
]
],
"pos": "[1][3]",
"parent": 0,
"children": 3
},
{
"p": ","
},
{
"t": "φάτιν",
"h": [
[
4
],
[ ]
],
"pos": "[1][4]",
"parent": 0,
"children": 4
},
{
"t": "ἔκλυον",
"h": [
[
5
],
[
6,
7
]
],
"pos": "[1][5]",
"parent": 0,
"children": 5
},
{
"p": ","
},
{
"t": "ὡς",
"h": [
[
6
],
[
8
]
],
"pos": "[1][6]",
"parent": 0,
"children": 6
},
{
"t": "ἄρα",
"h": [
[
7
],
[ ]
],
"pos": "[1][7]",
"parent": 0,
"children": 7
},
{
"t": "καί",
"h": [
[
8
],
[ ]
],
"pos": "[1][8]",
"parent": 0,
"children": 8
},
{
"t": "σε",
"h": [
[
9
],
[
12,
13
]
],
"pos": "[1][9]",
"parent": 0,
"children": 9
}
],
[
{
"t": "Βάκχος",
"h": [
[
10
],
[
9
]
],
"pos": "[1][10]",
"parent": 0,
"children": 10
},
{
"t": "ἑλὼν",
"h": [
[
11
],
[
10,
11
]
],
"pos": "[1][11]",
"parent": 0,
"children": 11
},
{
"t": "ἀίδην",
"h": [
[
12
],
[
20,
21
]
],
"pos": "[1][12]",
"parent": 0,
"children": 12
},
{
"t": "ποσσὶν",
"h": [
[
13
],
[
16,
15,
14
]
],
"pos": "[1][13]",
"parent": 0,
"children": 13
},
{
"t": "ἔσυρεν",
"h": [
[
14
],
[
18
]
],
"pos": "[1][14]",
"parent": 0,
"children": 14
},
{
"t": "ἄκροις",
"h": [
[
15
],
[
14,
15,
16
]
],
"pos": "[1][15]",
"parent": 0,
"children": 15
},
{
"p": "."
}
],
[
{
"t": "ἦ",
"h": [
[
16
],
[ ]
],
"pos": "[1][16]",
"parent": 0,
"children": 16
},
{
"t": "σαφὲς",
"h": [
[
17
],
[
24
]
],
"pos": "[1][17]",
"parent": 0,
"children": 17
},
{
"t": "ἦν",
"h": [
[
18
],
[
23,
22
]
],
"pos": "[1][18]",
"parent": 0,
"children": 18
},
{
"t": "Διόνυσος",
"h": [
[
19
],
[
26
]
],
"pos": "[1][19]",
"parent": 0,
"children": 19
},
{
"t": "ὅτ",
"h": [
[
20
],
[
25
]
],
"pos": "[1][20]",
"parent": 0,
"children": 20
},
{
"t": "ἀν",
"h": [
[
21,
25
],
[
27
]
],
"pos": "[1][21]",
"parent": 0,
"children": 21
},
{
"t": "πολὺς",
"h": [
[
22
],
[
30,
31
]
],
"pos": "[1][22]",
"parent": 0,
"children": 22
},
{
"t": "ἐς",
"h": [
[
23,
25
],
[
27
]
],
"pos": "[1][23]",
"parent": 0,
"children": 23
},
{
"t": "δέμας",
"h": [
[
24
],
[
28,
29
]
],
"pos": "[1][24]",
"parent": 0,
"children": 24
},
{
"t": "ἔλθῃ",
"h": [
[
25
],
[
27
]
],
"pos": "[1][25]",
"parent": 0,
"children": 25
},
{
"p": ","
}
],
[
{
"t": "λῦσε",
"h": [
[
26
],
[
32,
33
]
],
"pos": "[1][26]",
"parent": 0,
"children": 26
},
{
"t": "μέλη",
"h": [
[
27
],
[
34,
35
]
],
"pos": "[1][27]",
"parent": 0,
"children": 27
},
{
"p": ":"
},
{
"t": "διὸ",
"h": [
[
28
],
[ ]
],
"pos": "[1][28]",
"parent": 0,
"children": 28
},
{
"t": "δὴ",
"h": [
[
29
],
[ ]
],
"pos": "[1][29]",
"parent": 0,
"children": 29
},
{
"t": "μήτι",
"h": [
[
30
],
[
38,
39
]
],
"pos": "[1][30]",
"parent": 0,
"children": 30
},
{
"t": "Λυαῖος",
"h": [
[
31
],
[
43
]
],
"pos": "[1][31]",
"parent": 0,
"children": 31
},
{
"t": "ἔφυ",
"h": [
[
32
],
[
40,
41,
42
]
],
"pos": "[1][32]",
"parent": 0,
"children": 32
},
{
"p": ";"
}
],
[ ]
],
[
[
{
"t": "And",
"h": [
[
1
],
[
1
]
],
"pos": "[2][1]",
"parent": 1,
"children": 1
},
{
"t": "about",
"h": [
[
2
],
[
2,
3
]
],
"pos": "[2][2]",
"parent": 1,
"children": 2
},
{
"t": "you",
"h": [
[
2
],
[
2,
3
]
],
"pos": "[2][3]",
"parent": 1,
"children": 3
},
{
"t": "too",
"h": [
[ ],
[
4
]
],
"pos": "[2][4]",
"parent": 1,
"children": 4
},
{
"p": ","
},
{
"t": "Lacydes",
"h": [
[
3
],
[
5
]
],
"pos": "[2][5]",
"parent": 1,
"children": 5
},
{
"p": ","
},
{
"t": "I",
"h": [
[
5
],
[
6,
7
]
],
"pos": "[2][6]",
"parent": 1,
"children": 6
},
{
"t": "heard",
"h": [
[
5
],
[
6,
7
]
],
"pos": "[2][7]",
"parent": 1,
"children": 7
},
{
"t": "that",
"h": [
[
6
],
[
8
]
],
"pos": "[2][8]",
"parent": 1,
"children": 8
},
{
"t": "Bacchus",
"h": [
[
10
],
[
9
]
],
"pos": "[2][9]",
"parent": 1,
"children": 9
}
],
[
{
"t": "took",
"h": [
[
11
],
[
10,
11
]
],
"pos": "[2][10]",
"parent": 1,
"children": 10
},
{
"t": "hold",
"h": [
[
11
],
[
10,
11
]
],
"pos": "[2][11]",
"parent": 1,
"children": 11
},
{
"t": "of",
"h": [
[
9
],
[
12,
13
]
],
"pos": "[2][12]",
"parent": 1,
"children": 12
},
{
"t": "you",
"h": [
[
9
],
[
12,
13
]
],
"pos": "[2][13]",
"parent": 1,
"children": 13
},
{
"t": "by",
"h": [
[
13
],
[
16,
15,
14
]
],
"pos": "[2][14]",
"parent": 1,
"children": 14
},
{
"t": "the",
"h": [
[
13
],
[
16,
15,
14
]
],
"pos": "[2][15]",
"parent": 1,
"children": 15
},
{
"t": "toes",
"h": [
[
13
],
[
16,
15,
14
]
],
"pos": "[2][16]",
"parent": 1,
"children": 16
},
{
"t": "and",
"h": [
[ ],
[
17
]
],
"pos": "[2][17]",
"parent": 1,
"children": 17
},
{
"t": "dragged",
"h": [
[
14
],
[
18
]
],
"pos": "[2][18]",
"parent": 1,
"children": 18
},
{
"t": "you",
"h": [
[ ],
[
19
]
],
"pos": "[2][19]",
"parent": 1,
"children": 19
},
{
"t": "to",
"h": [
[
12
],
[
20,
21
]
],
"pos": "[2][20]",
"parent": 1,
"children": 20
}
],
[
{
"t": "Hades",
"h": [
[
12
],
[
20,
21
]
],
"pos": "[2][21]",
"parent": 1,
"children": 21
},
{
"p": "."
},
{
"t": "It",
"h": [
[
18
],
[
23,
22
]
],
"pos": "[2][22]",
"parent": 1,
"children": 22
},
{
"t": "is",
"h": [
[
18
],
[
23,
22
]
],
"pos": "[2][23]",
"parent": 1,
"children": 23
},
{
"t": "clear",
"h": [
[
17
],
[
24
]
],
"pos": "[2][24]",
"parent": 1,
"children": 24
},
{
"p": ";"
},
{
"t": "when",
"h": [
[
20
],
[
25
]
],
"pos": "[2][25]",
"parent": 1,
"children": 25
},
{
"t": "Bacchus",
"h": [
[
19
],
[
26
]
],
"pos": "[2][26]",
"parent": 1,
"children": 26
},
{
"t": "enters",
"h": [
[
25
],
[
27
]
],
"pos": "[2][27]",
"parent": 1,
"children": 27
},
{
"t": "the",
"h": [
[
24
],
[
28,
29
]
],
"pos": "[2][28]",
"parent": 1,
"children": 28
},
{
"t": "body",
"h": [
[
24
],
[
28,
29
]
],
"pos": "[2][29]",
"parent": 1,
"children": 29
}
],
[
{
"t": "in",
"h": [
[
22
],
[
30,
31
]
],
"pos": "[2][30]",
"parent": 1,
"children": 30
},
{
"t": "force",
"h": [
[
22
],
[
30,
31
]
],
"pos": "[2][31]",
"parent": 1,
"children": 31
},
{
"t": "he",
"h": [
[
26
],
[
32,
33
]
],
"pos": "[2][32]",
"parent": 1,
"children": 32
},
{
"t": "paralyses",
"h": [
[
26
],
[
32,
33
]
],
"pos": "[2][33]",
"parent": 1,
"children": 33
},
{
"t": "the",
"h": [
[
27
],
[
34,
35
]
],
"pos": "[2][34]",
"parent": 1,
"children": 34
},
{
"t": "limbs",
"h": [
[
27
],
[
34,
35
]
],
"pos": "[2][35]",
"parent": 1,
"children": 35
},
{
"p": "."
},
{
"t": "Is",
"h": [
[ ],
[
36
]
],
"pos": "[2][36]",
"parent": 1,
"children": 36
},
{
"t": "that",
"h": [
[ ],
[
37
]
],
"pos": "[2][37]",
"parent": 1,
"children": 37
},
{
"t": "not",
"h": [
[
30
],
[
38,
39
]
],
"pos": "[2][38]",
"parent": 1,
"children": 38
},
{
"t": "why",
"h": [
[
30
],
[
38,
39
]
],
"pos": "[2][39]",
"parent": 1,
"children": 39
},
{
"t": "he",
"h": [
[
32
],
[
40,
41,
42
]
],
"pos": "[2][40]",
"parent": 1,
"children": 40
},
{
"t": "is",
"h": [
[
32
],
[
40,
41,
42
]
],
"pos": "[2][41]",
"parent": 1,
"children": 41
}
],
[
{
"t": "called",
"h": [
[
32
],
[
40,
41,
42
]
],
"pos": "[2][42]",
"parent": 1,
"children": 42
},
{
"t": "Lyaeus",
"h": [
[
31
],
[
43
]
],
"pos": "[2][43]",
"parent": 1,
"children": 43
},
{
"p": "?"
}
]
]
],
"id_user": 45,
"id_group": null,
"createdAt": "2018-01-26T12:54:41.000Z",
"updatedAt": "2018-01-26T13:01:48.000Z"
},
{
"id_align": 347,
"id_entity": 210,
"source": 631,
"source_lang": 8,
"target": 634,
"target_lang": 2,
"json": [
[
[ ],
[
{
"t": "καί",
"h": [
[
1
],
[
3
]
],
"pos": "[1][1]",
"parent": 0,
"children": 1
},
{
"t": "σέο",
"h": [
[
2
],
[
1,
2
]
],
"pos": "[1][2]",
"parent": 0,
"children": 2
},
{
"p": ","
},
{
"t": "Λακύδη",
"h": [
[
3
],
[
4
]
],
"pos": "[1][3]",
"parent": 0,
"children": 3
},
{
"p": ","
},
{
"t": "φάτιν",
"h": [
[
4
],
[
5,
6
]
],
"pos": "[1][4]",
"parent": 0,
"children": 4
},
{
"t": "ἔκλυον",
"h": [
[
5
],
[
7,
8,
9
]
],
"pos": "[1][5]",
"parent": 0,
"children": 5
},
{
"p": ","
},
{
"t": "ὡς",
"h": [
[
6
],
[
10
]
],
"pos": "[1][6]",
"parent": 0,
"children": 6
},
{
"t": "ἄρα",
"h": [
[
7
],
[
16,
15
]
],
"pos": "[1][7]",
"parent": 0,
"children": 7
},
{
"t": "καί",
"h": [
[
8
],
[ ]
],
"pos": "[1][8]",
"parent": 0,
"children": 8
},
{
"t": "σε",
"h": [
[
9
],
[ ]
],
"pos": "[1][9]",
"parent": 0,
"children": 9
}
],
[
{
"t": "Βάκχος",
"h": [
[
10
],
[
18,
17
]
],
"pos": "[1][10]",
"parent": 0,
"children": 10
},
{
"t": "ἑλὼν",
"h": [
[
11
],
[
12,
13,
14
]
],
"pos": "[1][11]",
"parent": 0,
"children": 11
},
{
"t": "ἀίδην",
"h": [
[
12
],
[
11
]
],
"pos": "[1][12]",
"parent": 0,
"children": 12
},
{
"t": "ποσσὶν",
"h": [
[
13
],
[
25,
26
]
],
"pos": "[1][13]",
"parent": 0,
"children": 13
},
{
"t": "ἔσυρεν",
"h": [
[
14
],
[
19,
20,
21
]
],
"pos": "[1][14]",
"parent": 0,
"children": 14
},
{
"t": "ἄκροις",
"h": [
[
15
],
[
22,
23,
24
]
],
"pos": "[1][15]",
"parent": 0,
"children": 15
},
{
"p": "."
}
],
[
{
"t": "ἦ",
"h": [
[
16
],
[
27,
28
]
],
"pos": "[1][16]",
"parent": 0,
"children": 16
},
{
"t": "σαφὲς",
"h": [
[
17
],
[
30
]
],
"pos": "[1][17]",
"parent": 0,
"children": 17
},
{
"t": "ἦν",
"h": [
[
18
],
[
29
]
],
"pos": "[1][18]",
"parent": 0,
"children": 18
},
{
"t": "Διόνυσος",
"h": [
[
19
],
[
32
]
],
"pos": "[1][19]",
"parent": 0,
"children": 19
},
{
"t": "ὅτ",
"h": [
[
20
],
[
31
]
],
"pos": "[1][20]",
"parent": 0,
"children": 20
},
{
"t": "ἀν",
"h": [
[
21,
25
],
[
33
]
],
"pos": "[1][21]",
"parent": 0,
"children": 21
},
{
"t": "πολὺς",
"h": [
[
22
],
[
34,
35
]
],
"pos": "[1][22]",
"parent": 0,
"children": 22
},
{
"t": "ἐς",
"h": [
[
23
],
[
36
]
],
"pos": "[1][23]",
"parent": 0,
"children": 23
},
{
"t": "δέμας",
"h": [
[
24
],
[
37,
38
]
],
"pos": "[1][24]",
"parent": 0,
"children": 24
},
{
"t": "ἔλθῃ",
"h": [
[
21,
25
],
[
33
]
],
"pos": "[1][25]",
"parent": 0,
"children": 25
},
{
"p": ","
}
],
[
{
"t": "λῦσε",
"h": [
[
26
],
[
39,
40,
41
]
],
"pos": "[1][26]",
"parent": 0,
"children": 26
},
{
"t": "μέλη",
"h": [
[
27
],
[
42,
43
]
],
"pos": "[1][27]",
"parent": 0,
"children": 27
},
{
"p": ":"
},
{
"t": "διὸ",
"h": [
[
28
],
[ ]
],
"pos": "[1][28]",
"parent": 0,
"children": 28
},
{
"t": "δὴ",
"h": [
[
29
],
[ ]
],
"pos": "[1][29]",
"parent": 0,
"children": 29
},
{
"t": "μήτι",
"h": [
[
30
],
[
44,
45,
46,
47
]
],
"pos": "[1][30]",
"parent": 0,
"children": 30
},
{
"t": "Λυαῖος",
"h": [
[
31
],
[
53,
54
]
],
"pos": "[1][31]",
"parent": 0,
"children": 31
},
{
"t": "ἔφυ",
"h": [
[
32
],
[
51,
52
]
],
"pos": "[1][32]",
"parent": 0,
"children": 32
},
{
"p": ";"
}
],
[ ]
],
[
[
{
"t": "Sur",
"h": [
[
2
],
[
1,
2
]
],
"pos": "[2][1]",
"parent": 1,
"children": 1
},
{
"t": "toi",
"h": [
[
2
],
[
1,
2
]
],
"pos": "[2][2]",
"parent": 1,
"children": 2
},
{
"t": "aussi",
"h": [
[
1
],
[
3
]
],
"pos": "[2][3]",
"parent": 1,
"children": 3
},
{
"p": ","
},
{
"t": "Lakydès",
"h": [
[
3
],
[
4
]
],
"pos": "[2][4]",
"parent": 1,
"children": 4
},
{
"p": ","
},
{
"t": "la",
"h": [
[
4
],
[
5,
6
]
],
"pos": "[2][5]",
"parent": 1,
"children": 5
},
{
"t": "renommée",
"h": [
[
4
],
[
5,
6
]
],
"pos": "[2][6]",
"parent": 1,
"children": 6
},
{
"t": "m",
"h": [
[
5
],
[
7,
8,
9
]
],
"pos": "[2][7]",
"parent": 1,
"children": 7
},
{
"p": "'"
},
{
"t": "a",
"h": [
[
5
],
[
7,
8,
9
]
],
"pos": "[2][8]",
"parent": 1,
"children": 8
},
{
"t": "appris",
"h": [
[
5
],
[
7,
8,
9
]
],
"pos": "[2][9]",
"parent": 1,
"children": 9
}
],
[
{
"t": "qu",
"h": [
[
6
],
[
10
]
],
"pos": "[2][10]",
"parent": 1,
"children": 10
},
{
"p": "'"
},
{
"t": "Hadès",
"h": [
[
12
],
[
11
]
],
"pos": "[2][11]",
"parent": 1,
"children": 11
},
{
"p": ","
},
{
"t": "après",
"h": [
[
11
],
[
12,
13,
14
]
],
"pos": "[2][12]",
"parent": 1,
"children": 12
},
{
"t": "avoir",
"h": [
[
11
],
[
12,
13,
14
]
],
"pos": "[2][13]",
"parent": 1,
"children": 13
},
{
"t": "pris",
"h": [
[
11
],
[
12,
13,
14
]
],
"pos": "[2][14]",
"parent": 1,
"children": 14
},
{
"t": "la",
"h": [
[
7
],
[
16,
15
]
],
"pos": "[2][15]",
"parent": 1,
"children": 15
},
{
"t": "robe",
"h": [
[
7
],
[
16,
15
]
],
"pos": "[2][16]",
"parent": 1,
"children": 16
},
{
"t": "de",
"h": [
[
10
],
[
18,
17
]
],
"pos": "[2][17]",
"parent": 1,
"children": 17
},
{
"t": "Bacchus",
"h": [
[
10
],
[
18,
17
]
],
"pos": "[2][18]",
"parent": 1,
"children": 18
},
{
"p": ","
},
{
"t": "vint",
"h": [
[
14
],
[
19,
20,
21
]
],
"pos": "[2][19]",
"parent": 1,
"children": 19
},
{
"t": "le",
"h": [
[
14
],
[
19,
20,
21
]
],
"pos": "[2][20]",
"parent": 1,
"children": 20
}
],
[
{
"t": "tirer",
"h": [
[
14
],
[
19,
20,
21
]
],
"pos": "[2][21]",
"parent": 1,
"children": 21
},
{
"t": "par",
"h": [
[
15
],
[
22,
23,
24
]
],
"pos": "[2][22]",
"parent": 1,
"children": 22
},
{
"t": "le",
"h": [
[
15
],
[
22,
23,
24
]
],
"pos": "[2][23]",
"parent": 1,
"children": 23
},
{
"t": "bout",
"h": [
[
15
],
[
22,
23,
24
]
],
"pos": "[2][24]",
"parent": 1,
"children": 24
},
{
"t": "des",
"h": [
[
13
],
[
25,
26
]
],
"pos": "[2][25]",
"parent": 1,
"children": 25
},
{
"t": "pieds",
"h": [
[
13
],
[
25,
26
]
],
"pos": "[2][26]",
"parent": 1,
"children": 26
},
{
"p": "."
},
{
"t": "L",
"h": [
[
16
],
[
27,
28
]
],
"pos": "[2][27]",
"parent": 1,
"children": 27
},
{
"p": "'"
},
{
"t": "affaire",
"h": [
[
16
],
[
27,
28
]
],
"pos": "[2][28]",
"parent": 1,
"children": 28
},
{
"t": "était",
"h": [
[
18
],
[
29
]
],
"pos": "[2][29]",
"parent": 1,
"children": 29
},
{
"t": "claire",
"h": [
[
17
],
[
30
]
],
"pos": "[2][30]",
"parent": 1,
"children": 30
},
{
"p": ":"
},
{
"t": "quand",
"h": [
[
20
],
[
31
]
],
"pos": "[2][31]",
"parent": 1,
"children": 31
}
],
[
{
"t": "Bacchus",
"h": [
[
25
],
[
32
]
],
"pos": "[2][32]",
"parent": 1,
"children": 32
},
{
"t": "entre",
"h": [
[
21,
25
],
[
33
]
],
"pos": "[2][33]",
"parent": 1,
"children": 33
},
{
"t": "en",
"h": [
[
22
],
[
34,
35
]
],
"pos": "[2][34]",
"parent": 1,
"children": 34
},
{
"t": "abondance",
"h": [
[
22
],
[
34,
35
]
],
"pos": "[2][35]",
"parent": 1,
"children": 35
},
{
"t": "dans",
"h": [
[
23
],
[
36
]
],
"pos": "[2][36]",
"parent": 1,
"children": 36
},
{
"t": "un",
"h": [
[
24
],
[
37,
38
]
],
"pos": "[2][37]",
"parent": 1,
"children": 37
},
{
"t": "corps",
"h": [
[
24
],
[
37,
38
]
],
"pos": "[2][38]",
"parent": 1,
"children": 38
},
{
"p": ","
},
{
"t": "il",
"h": [
[
26
],
[
39,
40,
41
]
],
"pos": "[2][39]",
"parent": 1,
"children": 39
},
{
"t": "en",
"h": [
[
26
],
[
39,
40,
41
]
],
"pos": "[2][40]",
"parent": 1,
"children": 40
},
{
"t": "délie",
"h": [
[
26
],
[
39,
40,
41
]
],
"pos": "[2][41]",
"parent": 1,
"children": 41
},
{
"t": "les",
"h": [
[
27
],
[
42,
43
]
],
"pos": "[2][42]",
"parent": 1,
"children": 42
}
],
[
{
"t": "membres",
"h": [
[
27
],
[
42,
43
]
],
"pos": "[2][43]",
"parent": 1,
"children": 43
},
{
"p": ":"
},
{
"t": "n",
"h": [
[
30
],
[
44,
45,
46,
47
]
],
"pos": "[2][44]",
"parent": 1,
"children": 44
},
{
"p": "'"
},
{
"t": "est",
"h": [
[
30
],
[
44,
45,
46,
47
]
],
"pos": "[2][45]",
"parent": 1,
"children": 45
},
{
"p": "-"
},
{
"t": "ce",
"h": [
[
30
],
[
44,
45,
46,
47
]
],
"pos": "[2][46]",
"parent": 1,
"children": 46
},
{
"t": "pas",
"h": [
[
30
],
[
44,
45,
46,
47
]
],
"pos": "[2][47]",
"parent": 1,
"children": 47
},
{
"t": "pour",
"h": [
[ ],
[
48
]
],
"pos": "[2][48]",
"parent": 1,
"children": 48
},
{
"t": "cela",
"h": [
[ ],
[
49
]
],
"pos": "[2][49]",
"parent": 1,
"children": 49
},
{
"t": "qu",
"h": [
[ ],
[
50
]
],
"pos": "[2][50]",
"parent": 1,
"children": 50
},
{
"p": "'"
},
{
"t": "il",
"h": [
[
32
],
[
51,
52
]
],
"pos": "[2][51]",
"parent": 1,
"children": 51
},
{
"t": "est",
"h": [
[
32
],
[
51,
52
]
],
"pos": "[2][52]",
"parent": 1,
"children": 52
},
{
"t": "le",
"h": [
[
31
],
[
53,
54
]
],
"pos": "[2][53]",
"parent": 1,
"children": 53
},
{
"t": "Déleur",
"h": [
[
31
],
[
53,
54
]
],
"pos": "[2][54]",
"parent": 1,
"children": 54
},
{
"p": "?"
}
]
]
],
"id_user": 45,
"id_group": null,
"createdAt": "2018-01-26T13:01:21.000Z",
"updatedAt": "2018-01-26T13:01:21.000Z"
}
Le premier aligne 631 avec 632 et fonctionne donc. Le deuxième aligne 631 avec 634 qui n'existe pas. Cepandand dans le json il y a le texte mot par mot ( dans le second élement de la liste, 1.t). On peut donc voir que 1620 est :
{
"t": "Sur",
"h": [
[
2
],
[
1,
2
]
],
"pos": "[2][1]",
"parent": 1,
"children": 1
},
{
"t": "toi",
"h": [
[
2
],
[
1,
2
]
],
"pos": "[2][2]",
"parent": 1,
"children": 2
},
{
"t": "aussi",
"h": [
[
1
],
[
3
]
],
"pos": "[2][3]",
"parent": 1,
"children": 3
},
etc....
Cela permet de l'associer au texte 1620.
Si trop compliqué, on en rediscute.