# OpenAPI Documentation - JSON format (dot notation)
post.responses.default.description = Return all objects with enrich fields
post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.summary = Enrich one field of each Object with a Teeft function
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 Teeft
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
[use]
plugin = @ezs/basics
plugin = @ezs/storage
plugin = @ezs/analytics
plugin = teeftfr
[JSONParse]
separator = *
[replace]
path = content
value = get('value')
path = path
value = get('id', 'n/a')
[ToLowerCase]
path = content
[TEEFTSentenceTokenize]
[TEEFTTokenize]
[TEEFTNaturalTag]
[TEEFTExtractTerms]
nounTag = NOM
adjTag = ADJ
[TEEFTFilterTags]
tags = NOM
tags = ADJ
tags = UNK
[TEEFTStopWords]
[TEEFTSumUpFrequencies]
[TEEFTSpecificity]
sort = true
[TEEFTFilterMonoFreq]
[replace]
path = id
value = get('0.path')
path = value
value = get('0.terms').map('term').slice(0, 5)
[dump]
indent = env('indent', false)