print() shows what a corpus prepared by topic_corpus() holds: the number
of documents and, for a segmented corpus, of segments and their level; the
embedding dimension; the embedding model; and the minimum token length and
whether tokens are stemmed.
Usage
# S3 method for class 'sbert_topic_corpus'
print(x, ...)Arguments
- x
A corpus prepared by
topic_corpus().- ...
Ignored.
See also
topic_corpus();
as.data.frame() for the units.
Examples
corpus <- head(dedupe(feedback_translations, column = "translation"), 600)
print(topic_corpus(corpus, column = "translation",
embeddings = feedback_embeddings))
#> <sbert_topic_corpus>
#> documents: 600
#> embedding dimension: 384
#> model: precomputed embeddings
#> tokenization: min_token_length = 2
