createModel: Create a KEA Model

Description Usage Arguments Details Value Author(s) References See Also

Description

Create a keyphrase extraction model.

Usage

1
createModel(corpus, keywords, model, voc = "none", vocformat = "")

Arguments

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.

Details

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., details on vocabularies and supported formats for these).

When controlled vocabularies are used (by default: no), the voc argument should give the file path to the respective files without their extensions. When vocformat is "skos", the extension must be ‘.rdf’; when "text", there must be files with extensions ‘.en’, ‘.rel’ and ‘.use’.

Value

Invisibly returns model, i.e., the path to the created KEA model.

Author(s)

Ingo Feinerer

References

http://www.nzdl.org/Kea/

See Also

extractKeywords


RKEA documentation built on May 2, 2019, 5:41 a.m.