Newer
Older
web-services / nlp-tools / v1 / fr / postagger / analyze.ini
@schneist schneist on 5 May 2 KB swagger
# openAPI Documentation - JSON format (dot notation)
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.requestBody.required = true
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.parameters.0.in = query
post.parameters.0.name = path
post.parameters.0.schema.type = string
post.parameters.0.description = The path in each object to enrich with an Python script
post.parameters.1.in = query
post.parameters.1.name = indent
post.parameters.1.schema.type = boolean
post.parameters.1.description = Indent or not the JSON Result
post.parameters.2.schema.enum = [doc, json]
post.parameters.2.in = query
post.parameters.2.name = output
post.parameters.2.schema.type = string
mimeType = application/json
post.summary = POStagging en francais 
post.responses.description = produit les résultats d'une analyse morpho-syntaxique d'un texte en fournissant notamment la partie du discours et le lemme de chaque mot
post.requestBody.content.application/json.example.0.id = 1
post.requestBody.content.application/json.example.0.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
post.responses.default.content.application/json.example.0.id = 1
post.responses.default.content.application/json.example.0.value = le déplacement chimique de carbone en phase gazeux et en fonction de le concentration dans dix-neuf solvant dans le but de séparer le différent terme de constante devoir aux interaction

[use]
plugin = @ezs/spawn
plugin = @ezs/basics
plugin = @ezs/analytics

[JSONParse]
separator = *

[expand]
path = env('path', 'value')
size = 100
# in production mode, uncomment the following line
cache = boost

[expand/exec]
#command should be executable !
command = ./analyze.py
args = lefff_tagger
args = fix('-o')
args = env('output','doc')
args = fix('-lang')
args = fr
args = fix('-param')
args = env('param','{}')

[JSONString]