Find a common header string in a set of texts

find_header(x, threshold = 0.9)

Arguments

x

A vector of texts

threshold

Fraction of the texts required to share the common header string

Value

header A string that is the longest common header string for all the texts.