createModel {RKEA} | R Documentation |
Create a keyphrase extraction model.
createModel(corpus, keywords, model, voc = "none", vocformat = "")
corpus |
A list of character vectors containing the text
documents, e.g., a Corpus object as provided by
package~tm. |
keywords |
A list of character vectors containing the keywords
for each document in corpus . |
model |
A character giving the path where the created model should be stored. |
voc |
A character pointing to a controlled vocabulary. |
vocformat |
A character giving the format of voc . |
A tutorial on keyword extraction is located at
http://www.nzdl.org/Kea/Download/Kea-5.0-Readme.txt. There you can
find details on the internals of KEA, including various parameter
settings (e.g., valid arguments for voc
and vocformat
).
Invisibly returns model
, i.e., the path to the created KEA
model.
Ingo Feinerer