| ... | ... | @@ -22,63 +22,66 @@ Une entrée lexicale est constituée de : |
|
|
|
## Structure des entrées lexicales
|
|
|
|
|
|
|
|
```json
|
|
|
|
// O : obligatoire
|
|
|
|
"lemme" O
|
|
|
|
"catégorie" O :
|
|
|
|
{
|
|
|
|
"sens" O :
|
|
|
|
{
|
|
|
|
"phonétique" :
|
|
|
|
{
|
|
|
|
"api" O
|
|
|
|
"autres transcriptions phonétiques" : [pinyin, bopomofo, hiragana....]
|
|
|
|
"prononciation" (audio)
|
|
|
|
"Lemma" : "sleep",
|
|
|
|
"Character" : { "graphical etymology" : "愛",
|
|
|
|
"in composition" : "blabla",
|
|
|
|
"classification" : "blabla",
|
|
|
|
"dictionnary ref" : ["RDO153", "blabla", "blabla"...]
|
|
|
|
} // Only for chinese and japanese
|
|
|
|
["PartOfSpeech1" : { "Title" : "verb",
|
|
|
|
"Sense1" : { "Etymology" : "blabla",
|
|
|
|
"Translations" : ["translation1", ..., "translationn"],
|
|
|
|
"Pronunciation" : [{ "api1" : "\ˈsliːp\ ",
|
|
|
|
"accent1" : "RP",
|
|
|
|
"other transcriptions1" : "", //pinyin, bopomofo, hiragana....
|
|
|
|
"url1": "https://upload.wikimedia.org/wikipedia/commons/1/19/LL-Q1860_%28eng%29-Back_ache-water.wav"},
|
|
|
|
...
|
|
|
|
{"apik" : "\ˈsliːp\ ",
|
|
|
|
"accentk" : "RP",
|
|
|
|
"other transcriptionsk" : "", //pinyin, bopomofo, hiragana....
|
|
|
|
"urlk": "https://upload.wikimedia.org/wikipedia/commons/1/19/LL-Q1860_%28eng%29-Back_ache-water.wav"}]
|
|
|
|
|
|
|
|
["Definition1" : { "Image" : "Stilles Mineralwasser.jpg"
|
|
|
|
"Def" : "blabla",
|
|
|
|
"Examples" : ["ex1":"blabla", "ex2":"blabla", ... "exn":"blabla"],
|
|
|
|
"sub" : [{ "subdef1" : "blabla",
|
|
|
|
"subex1" : [ "subexa", "subexb", ..., "subexz"],
|
|
|
|
....
|
|
|
|
"subdefn" : "blabla",
|
|
|
|
"subexn" : [ "subexa", "subexb", ..., "subexz"],
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
...
|
|
|
|
"Definitionn" : { "Image" : "Stilles Mineralwasser.jpg"
|
|
|
|
"Def" : "blabla",
|
|
|
|
"Examples" : ["ex1":"blabla", "ex2":"blabla", ... "exn":"blabla"],
|
|
|
|
"sub" : [{ "subdef1" : "blabla",
|
|
|
|
"subex1" : [ "subexa", "subexb", ..., "subexz"],
|
|
|
|
....
|
|
|
|
"subdefn" : "blabla",
|
|
|
|
"subexn" : [ "subexa", "subexb", ..., "subexz"],
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
"étymologie"
|
|
|
|
|
|
|
|
("définition" OU "traduction") O
|
|
|
|
"exemple" []
|
|
|
|
"déclinaisons" [] (formes plurielles, conjuguées, etc...)
|
|
|
|
"image" (https://path.to/truc.jpeg)
|
|
|
|
]}
|
|
|
|
...
|
|
|
|
"Sensen" : {"repeat"}
|
|
|
|
}
|
|
|
|
|
|
|
|
Spécifique aux sinnogrammes
|
|
|
|
"caractère" :
|
|
|
|
{
|
|
|
|
"étymologie graphique"
|
|
|
|
"en composition"
|
|
|
|
"classification"
|
|
|
|
"Référence dans les dictionnaires"
|
|
|
|
}
|
|
|
|
|
|
|
|
AUTRES
|
|
|
|
"variantes orthographiques"
|
|
|
|
"variantes"
|
|
|
|
"transcriptions"
|
|
|
|
"abréviations"
|
|
|
|
"augmentatifs"
|
|
|
|
"diminutifs"
|
|
|
|
"synonymes"
|
|
|
|
"quasi-synonymes"
|
|
|
|
"antonymes"
|
|
|
|
"gentilés"
|
|
|
|
"composés"
|
|
|
|
"dérivés"
|
|
|
|
"apparentés"
|
|
|
|
"vocabulaire"
|
|
|
|
"phrases"
|
|
|
|
"variantes dialectales"
|
|
|
|
"hyperonymes"
|
|
|
|
"hyponymes"
|
|
|
|
"holonymes"
|
|
|
|
"méronymes"
|
|
|
|
"troponymes"
|
|
|
|
"dérivés autres langues"
|
|
|
|
"faux-amis"
|
|
|
|
"note"
|
|
|
|
"homophones"
|
|
|
|
"paronymes"
|
|
|
|
"anagrammes"
|
|
|
|
"PartOfSpeechn" : {"repeat"}
|
|
|
|
]
|
|
|
|
// Comment s'adapter à la généricité des données ?
|
|
|
|
"User-defined fields 1"
|
|
|
|
"User-defined fields 2"
|
|
|
|
"User-defined fields 3"
|
|
|
|
"User-defined fields 4"
|
|
|
|
"User-defined fields 5"
|
|
|
|
"Supplementary field for devs 1"
|
|
|
|
"Supplementary field for devs 2"
|
|
|
|
"Supplementary field for devs 3"
|
|
|
|
"Supplementary field for devs 4"
|
|
|
|
"Supplementary field for devs 5"
|
|
|
|
...
|
|
|
|
"Supplementary field for devs 10"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
| ... | ... | |