% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessing.R
\name{text_to_word_sequence}
\alias{text_to_word_sequence}
\title{Convert text to a sequence of words (or tokens).}
\usage{
text_to_word_sequence(text,
  filters = "!\\"#$\%&()*+,-./:;<=>?@[\\\\]^_`{|}~\\t\\n", lower = TRUE,
  split = " ")
}
\arguments{
\item{text}{Input text (string).}

\item{filters}{Sequence of characters to filter out.}

\item{lower}{Whether to convert the input to lowercase.}

\item{split}{Sentence split marker (string).}
}
\value{
Words (or tokens)
}
\description{
Convert text to a sequence of words (or tokens).
}
\seealso{
Other text preprocessing: \code{\link{make_sampling_table}},
  \code{\link{pad_sequences}}, \code{\link{skipgrams}},
  \code{\link{text_hashing_trick}},
  \code{\link{text_one_hot}}
}
