Newer
Older
web-services / nlp-tools / v1 / en / postagger / analyze.ini
@schneist schneist on 5 May 1 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.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.in = query
post.parameters.2.name = output
post.parameters.2.schema.type = string
post.parameters.2.description = result format [doc] ou [json]
post.parameters.2.schema.enum = [doc, json]
mimeType = application/json
post.summary = english POStagging
post.responses.description = produces the results of a morpho-syntactic analysis providing the part of speech and the lemma of each word
post.requestBody.content.application/json.example.0.id = 1
post.requestBody.content.application/json.example.0.value = Dynamics of fully coupled rotators with unimodal and bimodal frequencies distribution
post.responses.default.content.application/json.example.0.id = 1
post.responses.default.content.application/json.example.0.value = dynamic of fully couple rotator with unimodal and bimodal frequency distribution

[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 = POStagger
args = fix('-o')
args = env('output','doc')
args = fix('-lang')
args = fix('en')
args = fix('-param')
args = env('param','{}')

[JSONString]