diff --git a/nlp-tools/README.md b/nlp-tools/README.md index 7656779..9fa6fb2 100644 --- a/nlp-tools/README.md +++ b/nlp-tools/README.md @@ -1,6 +1,6 @@ -## NLP_tools-EZmaster +## nlp-tools -Service pour l insterrogation de la boite à outil **nlptools**. +Service pour l'interrogation de la boite à outil **nlptools**. **nlptools** est bibliothèque d'outils pour le traitement NLP (construite au dessus de https://spacy.io/) @@ -17,8 +17,8 @@ Deux types de sortie (output) sont disponibles pour chaque traitement. Le résultat est présenté soit : -* présenté sous la forme du texte d'origine (doc) -* sous la forme d'un structure json (json) +* présenté sous la forme du texte d'origine (doc) +* sous la forme d'un structure json (json) #### Interrogation du WebService @@ -26,7 +26,7 @@ Syntaxe des URLs : ``` -https://nlp-tools-1.services.inist.fr/v1/{langue}/{engine}/analyze?output={val} +https://nlp-tools-2.services.inist.fr/v1/{langue}/{engine}/analyze?output={val} ``` > **{langue}** = la langue à analyser           [en , fr] @@ -47,12 +47,12 @@ Exemple d'appel du POStagger, sortie doc : ``` -cat data/data_en.json | curl --proxy "" -X POST --data-binary @- "https://nlp-tools-1.services.inist.fr/v1/en/postagger/analyze?indent=true&output=doc" +cat data/data_en.json | curl --proxy "" -X POST --data-binary @- "https://nlp-tools-2.services.inist.fr/v1/en/postagger/analyze?indent=true&output=doc" ``` Exemple d'appel du termmatcher, sortie doc : ``` -cat <