Description Usage Arguments See Also Examples
View source: R/score_documents.R
score_documents
uses word scores to assign document scores
1 | score_documents(scores, n_dimensions = 10)
|
scores |
A list from output of |
n_dimensions |
An integer scalar. How many dimensions of scaled text to score. |
doc_length_correction |
A numeric scalar. Power on document length: document_scores / document_length^(doc_length_correction). Set so that extremity on top dimensions is not strongly correlated with document length. |
scale_text
,
read_word_embeddings
,
get_keywords
, plot_keywords
,
doc_to_tdm
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
scores <- scale_text(
meta = out$meta,
tdm = tdm
)
document_scores <- score_documents(
scores = scores, n_dimensions = 10
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.