find_header: Find a common header string in a set of texts

View source: R/get_about_pages.r

find_headerR Documentation

Find a common header string in a set of texts

Description

Find a common header string in a set of texts

Usage

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.


snfagora/MapAgora documentation built on April 27, 2024, 8 a.m.