space_quasher: Removes extra spaces between words.

Description Usage Arguments Details Value Author(s) Examples

View source: R/space_quasher.R

Description

space_quasher will automatically remove extra spaces between words. Therefore only one space between any pair of words will be left

Usage

1

Arguments

x

x is a text with single or multiple sentences given within double quotes.

Details

The extra spaces between words in sentences is quashed to one via space_quasher().

Value

Sentences(s) in which extra spaces between any pair of words are quashed to one.

Author(s)

S.Ramachandran

Examples

1
2
## Not run: space_quasher("I am       a ghostbuster. I have the tools    required to  hunt ghosts")
##here pubmed_result.txt is the text file of abstracts saved from PubMed.

pubmed.mineR documentation built on Nov. 26, 2021, 5:11 p.m.