R/create_lookup.R

Defines functions create_lookup

## create search terms
## 
## 


#' Create a dictionary of terms to lookup in document-feature matrices
#'
#' @param ... 
#'
#' @return A dictionary of terms
#' 
#'
#' @examples
#' create_lookup(cars = c("Ford", "Mazda", "Lotus"))


create_lookup <- function(...){
  
  library(quanteda)
  
  dict <- quanteda::dictionary(list(
    
    ...
    
    
  ))
  
  
}  
  
  

  
  
julianflowers/myScrapers documentation built on May 10, 2023, 7:17 a.m.