diff --git a/FT2C-EZmaster/public/v1/en/classify.ini b/FT2C-EZmaster/public/v1/en/classify.ini index e5aa166..de43fb5 100644 --- a/FT2C-EZmaster/public/v1/en/classify.ini +++ b/FT2C-EZmaster/public/v1/en/classify.ini @@ -34,7 +34,8 @@ #------------------------ pretraitement nlptools ----------------- [expand/URLConnect] -url = https://nlp-tools-1.services.inist.fr/v1/en/postagger/analyze?output=doc +#url = https://nlp-tools-1.services.inist.fr/v1/en/postagger/analyze?output=doc +url = http://nlptools-02.tdmservices.intra.inist.fr/v1/en/postagger/analyze?output=doc¶m=%7B%22POStagger%22%3A%20%7B%22POS_whitelist%22%3A%5B%22ADJ%22%2C%22NOUN%22%2C%20%22PROPN%22%5D%7D%7D #------------------------ prediction du code de classement ------- [expand/exec] diff --git a/NLP_tools-EZmaster/test_EZ/run_test_NLPtools_EZ.py b/NLP_tools-EZmaster/test_EZ/run_test_NLPtools_EZ.py index 6c2de6c..0abd5f4 100755 --- a/NLP_tools-EZmaster/test_EZ/run_test_NLPtools_EZ.py +++ b/NLP_tools-EZmaster/test_EZ/run_test_NLPtools_EZ.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# +# Batterie de test les webservices nlptools +# # -*- coding: utf-8 -*- # usage : # python3 run_test_NLPtools_EZ.py @@ -14,7 +17,10 @@ # uri="http://nlptools-02.tdmservices.intra.inist.fr" # prod uri_prod="https://nlp-tools-1.services.inist.fr" +#"http://vptdmservices.intra.inist.fr:35268/" uri_dev="http://nlptools-02.tdmservices.intra.inist.fr" + +#changer la valeur de uri pour pointer vers la dev ou la prod uri=uri_dev # parameter @@ -32,12 +38,12 @@ if language == "en": engines=["postagger", "stemmer", "npchunker", "npchunkerdp", "termmatcher", "ner"] doc="""[ - {"id":"PhnlUo_d6LoJPLN3YUjh5qBLc","value":"Non-local effects by homogenization or 3D–1D dimension reduction in elastic materials reinforced by stiff fibers.We first consider an elastic thin heterogeneous cylinder of radius of order ε: the interior of the cylinder is occupied by a stiff material (fiber) that is surrounded by a soft material (matrix). By assuming that the elasticity tensor of the fiber does not scale with ε and that of the matrix scales with ε2, we prove that the one dimensional model is a nonlocal system.We then consider a reference configuration domain filled out by periodically distributed rods similar to those described above. We prove that the homogenized model is a second order nonlocal problem.In particular, we show that the homogenization problem is directly connected to the 3D–1D dimensional reduction problem."}, + {"id":"PhnlUo_d6LoJPLN3YUjh5qBLc","value":"Non-local effects by homogenization or 3D–1D dimension reduction in elastic materials reinforced by stiff fibers.We first consider an elastic thin heterogeneous cylinder of radius of order ε: the interior of the cylinder is occupied by a stiff material (fiber) that is surrounded by a soft material (matrix). By assuming that the elasticity tensor of the fiber does not scale with ε and that of the matrix scales with ε2, we prove that the one dimensional model is a nonlocal system.We then consider a reference configuration domain filled out by periodically distributed rods similar to those described above. We prove that the homogenized model is a second order nonlocal problem.In particular, we show that the homogenization problem is directly connected to the 3D–1D dimensional reduction problem."} ]""" else: engines=["postagger", "stemmer"] doc="""[ - {"id":"xBKeVishRTsAqsdsqJn5YWo0HpuD","value":"Le déplacement chimique des carbones en phase gazeuse et en fonction de la concentration dans dix-neuf solvants dans le but de séparer les différents termes de constante dus aux interactions"}, + {"id":"xBKeVishRTsAqsdsqJn5YWo0HpuD","value":"Le déplacement chimique des carbones en phase gazeuse et en fonction de la concentration dans dix-neuf solvants dans le but de séparer les différents termes de constante dus aux interactions"} ]""" for engine in engines: