space_quasher {pubmed.mineR} | R Documentation |
Removes extra spaces between words.
Description
space_quasher
will automatically remove extra spaces between words. Therefore only one space between any pair of words will be left
Usage
space_quasher(x)
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
## 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.
[Package pubmed.mineR version 1.0.20 Index]