dot-clean_output: Clean word-splitter output

.clean_outputR Documentation

Clean word-splitter output

Description

Sometimes the output from the word-splitting routines has unexpected characters in it, such as spaces or apostrophes. To avoid downstream issues, we should do some clean-up on the output before continuing.

Usage

.clean_output(split_word)

Arguments

split_word

Character vector; the output from .split_morphemes or similar.

Value

Character vector; the output split on any unexpected characters.


jonthegeek/wikimorphemes documentation built on Sept. 1, 2022, 10:32 p.m.