merge_fragments: Recombines consecutive fragments of natural text into a...

View source: R/merge_fragments.R

merge_fragmentsR Documentation

Recombines consecutive fragments of natural text into a single text removing redundant parts

Description

Recombines consecutive fragments of natural text into a single text removing redundant parts

Usage

merge_fragments(fragments)

Arguments

fragments

the text fragments to recombine

Value

the recombined text

Examples

merge_fragments(c("du palais d'un jeune lapin dame belette un beau matin",
                 "belette un beau matin s'empara, c'est une rusée",
                 "c'est une rusée, le maître étant absent,",
                 "ce lui fut chose aisée"))

lvaudor/textoteR documentation built on April 5, 2025, 3:03 a.m.