corpus-package {corpus}R Documentation

The Corpus Package


Text corpus analysis functions


This package contains functions for text corpus analysis. To create a text object, use the read_ndjson or as_corpus_text function. To split text into sentences or token blocks, use text_split. To specify preprocessing behavior for transforming a text into a token sequence, use text_filter. To tokenize text or compute term frequencies, use text_tokens, term_stats or term_matrix. To search for or count specific terms, use text_locate, text_count, or text_detect.

For a complete list of functions, use library(help = "corpus").


Patrick O. Perry

[Package corpus version 0.10.2 Index]