Skip to content

NLU

Understanding for each token in the sentence.

NLU Object

KEYTYPEDESCRIPTIONCONSTRAINTS
indexintIndex in the initial tokenized sentenceindex >= 0
lenintNumber of tokens that have been merged (1 if no merge)len >= 1
meaninglist of Category ObjectsKnown meanings for the itemCan be empty.
sourcestring-if len is greater than one, will be the merged sources of original items
valuedictDepends on tag. Most values are in the 'scalar' key of this dict

register-sticky