featureFields

feature​Fields:​* define sets of fields from which to collect labels during, for example, label collection or similarity matrix computation.

Feature fields names follow the field​Name$feature​Extractor convention and are created automatically when Lingo4G indexes input documents (the project descriptor defines which feature extractors are applied to which fields).

You can use the following feature fields definitions in your analysis requests:

feature​Fields:​simple

Defines a simple list of feature fields.


feature​Fields:​reference

References a feature​Fields:​* component defined in the request or in the project's default components.


feature​Fields:​simple

Defines a simple list of feature fields.

{
  "type": "featureFields:simple",
  "fields": []
}

fields

Type
array of string
Default
[]
Required
no

An array of feature field names, each following the field​Name$feature​Extractor convention.

Consumers of feature​Fields:​*

The following stages and components take feature​Fields:​* as input:

Stage or component Property
documents:​rwmd
  • fields
  • feature​Source:​labels
  • fields
  • label​Collector:​top​From​Feature​Fields
  • fields
  • label​Scorer:​df
  • fields
  • label​Scorer:​idf
  • fields
  • label​Scorer:​probability​Ratio
  • fields
  • label​Scorer:​tf
  • fields
  • labels:​by​Prefix
  • fields
  • matrix:​cooccurrence​Label​Similarity
  • fields
  • matrix:​keyword​Document​Similarity
  • fields
  • matrix:​keyword​Label​Document​Similarity
  • fields
  • matrix​Rows:​keyword​Document​Similarity
  • fields
  • query:​for​Labels
  • fields