Skip to content
Prev 277818 / 398506 Next

merging corpora and metadata

Le jeudi 17 novembre 2011 ? 21:34 -0500, R. Michael Weylandt a ?crit :
This method already exists in the tm package where the Corpus class
comes from. Henri-Paul, see ?c.Corpus.

Specifically, tot.corpus <- c(corpus.1, corpus.2, recursive=TRUE)
meta(tot.corpus)
works.

It looks weird that recursive=TRUE isn't the default, but the
documentation seems to imply that the merging of meta-data might produce
weird results, so that's probably why it's disabled by default. You may
want to get in touch with Ingo Feinerer about that.


Regards