How to use bind_tf_idf on 2 separate entitites that are in the same corpus of documents

Hello,

I'm doing a simple text analysis on two poets, and I have a general text mining question I can't seem to figure out.

If I want to calculate the TF-IDF of two entities (poets) that have written all the poems I'm analysing, I imagine I need to take all the poems of my corpus into the equation and not calculate a separate result only for the poems each poet has written.

how can I incorporate this into the bind_tf_idf function? In other words, is it possible to manually input the amount of documents I'm using?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.