Making columns from terms

I have data, like this:

How to add a columns where each column name is a name of one term which is in the document and the value of this column is a number of apearance this term in the document?


the Document vector node is what you are looking for. The rows of the result table correspond to the documents and the columns to all available terms. This node either creates a bit vector or uses any numerical column for the document term pair. In order to count the number of appearances of a term in a document you can use the TF node. Attached is a short example flow that demonstrates the usage of these two nodes in order to create a document vector with the number of appearances for all terms as elements.



Thank you very much :-)