dot-drop_irrelevant_sections: Get Rid of Chaff in Wikitext

.drop_irrelevant_sectionsR Documentation

Get Rid of Chaff in Wikitext

Description

Get Rid of Chaff in Wikitext

Usage

.drop_irrelevant_sections(wt, depth = 3L)

Arguments

wt

The word's page, in wikitext format (returned by .fetch_word), or a subsection thereof.

depth

Integer; the heading depth (the number of ='s before the heading).

Value

A character scalar of the cleaned wikitext.


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