corpus_to_graphs: 'corpus_to_graphs' returns a list of co-ocurrence book graphs...

Description Usage Arguments Value Examples

Description

corpus_to_graphs returns a list of co-ocurrence book graphs from a book Corpus. It's not optimized, so it might take a while for a large Corpus.

Usage

1
corpus_to_graphs(myCorpus)

Arguments

myCorpus

a tm VCorpus

Value

A list of igraph graphs

Examples

1
2
3
myCorpus <- Corpus(VectorSource("three men wait door say holmes oh indeed
                               seem do thing completely must compliment holmes answer"))
book_graphs <- corpus_to_graphs(myCorpus)

andreabduque/gmining documentation built on May 12, 2019, 3:32 a.m.