bt_generate_2cat_tf_idf: Get tf-idf scores for terms two categories of document and...

View source: R/bt_generate_2cat_tf_idf.R

bt_generate_2cat_tf_idfR Documentation

Get tf-idf scores for terms two categories of document and create master list

Description

Get tf-idf scores for terms two categories of document and create master list

Usage

bt_generate_2cat_tf_idf(unnested.token.df, rlv.doc.ids)

Arguments

unnested.token.df

product of bt_unnest_tokens()

rlv.doc.ids

the ids of the relevant (category 1) documents (others will be irrelevant/cat 2)


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.