Module:Sandbox/Galobtter/Is in first sentence

Revision as of 16:26, 22 January 2019 by imported>Galobtter (+)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Sandbox/Galobtter/Is in first sentence/doc

--checks if a certain word is in the first sentence of an article
--to get descriptors for infobox book and infobox settlement short descriptions
--e.g, check if novel or novella is in the first sentence of the article or city, village, or town are in the first sentence of the article
--so that the description can become "novella by xyz" or "town in fooland"
--this could be used to apply lua pattern to the first sentence to fully generate short description