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

make_dict(dict_vacabulary_vector)

Arguments

dict_vacabulary_vector

A character vector containing the user defined professional vocabulary.

Value

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

Details

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

See also

Examples

library(akc)
library(dplyr)

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