Skip to contents

Suffix gaps (data-raw/SUFFIX-GAPS-PART7.md): JRMD -> c("JR", "MD"), MDMPH -> c("MD", "MPH"). Splits only when both parts are known suffixes or credentials of two or more letters, and the whole token is not itself a census name. deglue_tokens() applies it only from the third token on, so a given name or initials at the start are never split.

Usage

split_glued_credentials(tok, parts = c(sfx, prx[!grepl(" ", prx)]))

Arguments

tok

A single uppercased name token.

parts

Known suffixes and credentials. Defaults to sfx and the single-word entries of prx.

Value

The token unchanged, or a length-2 vector of the two credentials.