0 ×

Dict Replacer (2 In-Ports)

StreamableKNIME Textprocessing Plug-in version 3.7.1.v201901281201 by KNIME AG, Zurich, Switzerland

Replaces complete terms contained in the input documents that match with specified dictionary terms with a corresponding specified value. The dictionary is provided by a additional data table at the second data port, consisting of at least two string columns. One string column contains the strings to replace (keys) the other string column contains the replacement strings (values). The columns can be specified in the dialog.

Options

Dictionary

Column containing the strings to replace
The column containing the strings (words/terms) to replace (keys).
Column containing the replacement strings
The column containing the replacement strings (values).

Preprocessing options

Document column
The column containing the documents to preprocess.
Replace documents
If checked, the documents will be replaced by the new preprocessed documents. Otherwise the preprocessed documents will be appended as new column.
Append column
The name of the new appended column, containing the preprocessed documents.
Ignore unmodifiable tag
If checked, unmodifiable terms will be preprocessed too.
Word tokenizer
Select the tokenizer used for word tokenization. Go to Preferences -> KNIME -> Textprocessing to read the description for each tokenizer.

Input Ports

The input table which contains the documents to preprocess.
The input table containing at least of two string columns (dictionary).

Output Ports

The output table which contains the preprocessed documents.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Textprocessing Plug-in from the following update site:

KNIME 3.7
Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.