
Drop numeric (house-number) tokens from token lists
Source:R/preparer_tokens.R
drop_numeric_tokens.RdSymmetric inverse of numeric_tokens(): removes pure-digit tokens
(typically house numbers) from a token column. Operates on the
list-of-character token vectors produced by earlier steps such as
word_tokens(), mirroring filter_stopwords().
Useful in address pipelines where the street name carries the matching
signal but the house number is noise (and fans out blocks): tokenize the
street, then drop_numeric_tokens() to keep only the name tokens.
See also
numeric_tokens(), its inverse; filter_stopwords() for the same
idea with a named word list.
Other token transformers:
drop_short_tokens(),
extract_initials(),
filter_stopwords(),
fuzzy_tokens(),
token_shapes(),
use_dictionary()