make_dict: Making one's own dictionary

View source: R/make_dict.R

make_dictR Documentation

Making one's own dictionary

Description

Construting a dictionary using a string vector with user defined vocabulary.

Usage

make_dict(dict_vacabulary_vector)

Arguments

dict_vacabulary_vector

A character vector containing the user defined professional vocabulary.

Details

Build a user defined vocabulary for keyword extraction (keyword_extract).

Value

A data.table with document id and keyword,using keyword as the key.

See Also

keyword_extract

Examples

library(akc)
library(dplyr)

bibli_data_table %>%
  keyword_clean() %>%
  pull(keyword) %>%
  make_dict() -> dict


akc documentation built on Jan. 6, 2023, 9:09 a.m.