This node extracts the neighborhood for each term of the document. The neighborhood is defined by the N left and N right neighbors that can be set in the dialog. The neighbors can be extracted as term cells or string cells. Each neighbor is stored in a column, however it's also possible to store the right and left neighbors in a collection cell. Additionally, there is an option to extract the sentence in which the term occurs.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Textprocessing from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!