% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dfm_gen.R \name{dfm_gen} \alias{dfm_gen} \title{Generates dfm from ElasticSearch output} \usage{ dfm_gen(out, words = "999", text = "lemmas") } \arguments{ \item{out}{The elasticizer-generated data frame} \item{words}{String indicating the number of words to keep from each document (maximum document length), 999 indicates the whole document} \item{text}{String indicating whether the "merged" field will contain the "full" text, or "lemmas"} } \value{ A Quanteda dfm } \description{ Generates dfm from ElasticSearch output } \examples{ dfm_gen(out, words = '999') }