Documentaton - BLOCKS - BLOCK_DICT_SEL

This block selects a dictionary instance from the dictionary training block.

BK = BLOCK_DICT_SEL() Initializes the block with the default options.

BK = BLOCK_DICT_SEL(BK) Executes the block with options and inputs BK.

Required Inputs:

dict

The dictionary to fetch

Options:

bk.selection

Which dictionary to select. Default 1.

Fetchable attributes:

type

The type of the dictionary, retrieved from the input dictionary.

dict

The selected dictionary.

Block functions:

push

[WORDS,HIST,SEL] = PUSH(DICT, DATA) pushes the data through the selected dictionary. sel indexes which data items correspond to which words.