diff --git a/geo-tagger/README.md b/geo-tagger/README.md index d29f07b..8157c98 100755 --- a/geo-tagger/README.md +++ b/geo-tagger/README.md @@ -48,7 +48,7 @@ - [v1/perseeBaipTagger/tagger](#v1%2fgeoTagger) -Ce service permet de détecter des organismes scolaires, des localisations, ainsi que des opérations (trasnformation, nomination, affectation, etc) dans les bulletins administratifs de l'instruction publique. +Ce service permet de détecter des organismes scolaires, des localisations, ainsi que des opérations (transformation, nomination, affectation, etc) dans les bulletins administratifs de l'instruction publique. Ce web service prend en entrée du JSON avec deux champs: `id` et `value`, et renvoie un JSON avec un dictionnaire contenant les organismes scolaires, localisations et opérations trouvées dans le champs `value`. diff --git a/geo-tagger/examples.http b/geo-tagger/examples.http index 49f1255..938ab4e 100755 --- a/geo-tagger/examples.http +++ b/geo-tagger/examples.http @@ -1,5 +1,5 @@ -# Détection d'entité géographique d'un texte -POST https://geoEntity-tagger.services.inist.fr/v1/geoTagger?indent=true HTTP/1.1 +# Détection d'entité géographique d'un texte anglais +POST https://geoEntity-tagger.services.inist.fr/v1/geoTagger/geoTagger?indent=true HTTP/1.1 Content-Type: application/json [ @@ -11,4 +11,21 @@ "id":"2", "value":"The COVID-19 pandemic, also known as the coronavirus pandemic, is an ongoing global pandemic of coronavirus disease 2019 (COVID-19) caused by severe acute respiratory syndrome coronavirus2 (SARS-CoV-2). It was first identified in December 2019 in Wuhan, China. The World Health Organization declared the outbreak a Public Health Emergency of International Concern on 20 January 2020, and later a pandemic on 11 March 2020. As of 2 April 2021, more than 129 million cases have been confirmed, with more than 2.82 million deaths attributed to COVID-19, making it one of the deadliest pandemics in history." } +] + + +# Détection d'organismes scolaires, localisations, ainsi qu'opérations (transformation, nomination, affectation, etc) dans les bulletins administratifs de l'instruction publique. + +POST https://geoEntity-tagger.services.inist.fr/v1/perseeBaipTagger/tagger?indent=true HTTP/1.1 +Content-Type: application/json + +[ + { + "id":"1", + "value":"Personnel de l'Ecole normale primaire de Barcelon-nette. Personnel du Collège impérial de France et du collège communal de Confolens. Personnel de la Faculté des lettres de Dijon." + }, + { + "id":"2", + "value":"Ecole normale supérieure. — M. Boulangier, agrégé des sciences phy¬ siques, professeur de physique au lycée impérial de Bar-le-Duc, ancien élève de l'école normale supérieure, est nommé préparateur de .chimie à ladite école, en remplacement de M. Debray." + } ] \ No newline at end of file