powered by
Complement for calculating co-ocurrences matrix and association matrix from a text corpus, using internally the function matriz.mpa from mpa package.
matriz.mpa
mpa
matrix.corpus.mpa(corpus, fmin = 3, cmin = 3)
a corpus.
minimum frequency of appearance of key words within the corpus.
minimum match amount between words.
A list containing:
Associations matrix.
Co-occurrence matrix.
Vector from the different words that appears in the corpus (dictionary).
Lexical table.
matriz.mpa function from mpa is used to obtain the composition of word clusters.
# NOT RUN { data("KDCorpus") mpaWords <- matrix.corpus.mpa(KDCorpus, fmin = 10, cmin = 1) # }
Run the code above in your browser using DataLab