Package textclean updated to version 0.9.7 with previous version 0.9.3 dated 2018-07-23

Thu, 05 Mar 2026 01:02:00 CDT

Title: Text Cleaning Tools
Description: Tools to clean and process text. Tools are geared at checking for substrings that are not optimal for analysis and replacing or removing them (normalizing) with more analysis friendly substrings (see Sproat, Black, Chen, Kumar, Ostendorf, & Richards (2001) <doi:10.1006/csla.2001.0169>) or extracting them into new variables. For example, emoticons are often used in text but not always easily handled by analysis algorithms. The replace_emoticon() function replaces emoticons with word equivalents.
Author: Tyler Rinker [aut, cre], ctwheels StackOverflow [ctb], Surin Space [ctb]
Maintainer: Tyler Rinker <tyler.rinker@gmail.com>

Diff between textclean versions 0.9.3 dated 2018-07-23 and 0.9.7 dated 2026-03-05

 textclean-0.9.3/textclean/NEWS                                   |only
 textclean-0.9.3/textclean/R/filter_element.R                     |only
 textclean-0.9.3/textclean/R/filter_row.R                         |only
 textclean-0.9.3/textclean/man/filter_element.Rd                  |only
 textclean-0.9.3/textclean/man/filter_row.Rd                      |only
 textclean-0.9.3/textclean/man/textclean.Rd                       |only
 textclean-0.9.7/textclean/DESCRIPTION                            |   43
 textclean-0.9.7/textclean/MD5                                    |  212
 textclean-0.9.7/textclean/NAMESPACE                              |  154
 textclean-0.9.7/textclean/NEWS.md                                |only
 textclean-0.9.7/textclean/R/add_comma_space.R                    |   38
 textclean-0.9.7/textclean/R/add_missing_endmark.R                |   60
 textclean-0.9.7/textclean/R/check_text.R                         |  581 -
 textclean-0.9.7/textclean/R/check_text_logicals.R                |  947 +--
 textclean-0.9.7/textclean/R/drop_element.R                       |  164
 textclean-0.9.7/textclean/R/drop_row.R                           |  206
 textclean-0.9.7/textclean/R/fgsub.R                              |  372 -
 textclean-0.9.7/textclean/R/fix_mdyyyy.R                         |only
 textclean-0.9.7/textclean/R/glue-reexports.R                     |   14
 textclean-0.9.7/textclean/R/has_endmark.R                        |   68
 textclean-0.9.7/textclean/R/like.R                               |only
 textclean-0.9.7/textclean/R/make_plural.R                        |   66
 textclean-0.9.7/textclean/R/match_tokens.R                       |   60
 textclean-0.9.7/textclean/R/mgsub.R                              |  366 -
 textclean-0.9.7/textclean/R/replace_contraction.R                |   64
 textclean-0.9.7/textclean/R/replace_date.R                       |  110
 textclean-0.9.7/textclean/R/replace_email.R                      |  100
 textclean-0.9.7/textclean/R/replace_emoji.R                      |   91
 textclean-0.9.7/textclean/R/replace_emoticon.R                   |   93
 textclean-0.9.7/textclean/R/replace_grade.R                      |   58
 textclean-0.9.7/textclean/R/replace_hash.R                       |   86
 textclean-0.9.7/textclean/R/replace_html.R                       |  172
 textclean-0.9.7/textclean/R/replace_incomplete.R                 |   48
 textclean-0.9.7/textclean/R/replace_internet_slang.R             |   76
 textclean-0.9.7/textclean/R/replace_kerning.R                    |   80
 textclean-0.9.7/textclean/R/replace_misspelling.R                |only
 textclean-0.9.7/textclean/R/replace_money.R                      |  110
 textclean-0.9.7/textclean/R/replace_names.R                      |   76
 textclean-0.9.7/textclean/R/replace_non_ascii.R                  |  196
 textclean-0.9.7/textclean/R/replace_number.R                     |  297
 textclean-0.9.7/textclean/R/replace_ordinal.R                    |   88
 textclean-0.9.7/textclean/R/replace_rating.R                     |   64
 textclean-0.9.7/textclean/R/replace_symbol.R                     |   86
 textclean-0.9.7/textclean/R/replace_tag.R                        |   86
 textclean-0.9.7/textclean/R/replace_time.R                       |  144
 textclean-0.9.7/textclean/R/replace_to.R                         |  170
 textclean-0.9.7/textclean/R/replace_tokens.R                     |  154
 textclean-0.9.7/textclean/R/replace_url.R                        |   92
 textclean-0.9.7/textclean/R/replace_white.R                      |   36
 textclean-0.9.7/textclean/R/replace_word_elongation.R            |  242
 textclean-0.9.7/textclean/R/strip.R                              |  196
 textclean-0.9.7/textclean/R/sub_holder.R                         |  204
 textclean-0.9.7/textclean/R/swap.R                               |   52
 textclean-0.9.7/textclean/R/sysdata.rda                          |binary
 textclean-0.9.7/textclean/R/textclean-package.R                  |   55
 textclean-0.9.7/textclean/R/utils.R                              |  482 -
 textclean-0.9.7/textclean/README.md                              | 3142 ++++------
 textclean-0.9.7/textclean/data/DATA.rda                          |binary
 textclean-0.9.7/textclean/inst/CITATION                          |   38
 textclean-0.9.7/textclean/inst/docs/emoji_sample.txt             |    6
 textclean-0.9.7/textclean/inst/docs/r_tweets.txt                 |   22
 textclean-0.9.7/textclean/man/DATA.Rd                            |   48
 textclean-0.9.7/textclean/man/add_comma_space.Rd                 |   54
 textclean-0.9.7/textclean/man/add_missing_endmark.Rd             |   70
 textclean-0.9.7/textclean/man/check_text.Rd                      |  175
 textclean-0.9.7/textclean/man/drop_element.Rd                    |  110
 textclean-0.9.7/textclean/man/drop_row.Rd                        |  132
 textclean-0.9.7/textclean/man/fgsub.Rd                           |  138
 textclean-0.9.7/textclean/man/fix_mdyyyy.Rd                      |only
 textclean-0.9.7/textclean/man/has_endmark.Rd                     |   66
 textclean-0.9.7/textclean/man/like.Rd                            |only
 textclean-0.9.7/textclean/man/make_plural.Rd                     |   63
 textclean-0.9.7/textclean/man/match_tokens.Rd                    |   70
 textclean-0.9.7/textclean/man/mgsub.Rd                           |  243
 textclean-0.9.7/textclean/man/print.check_text.Rd                |   51
 textclean-0.9.7/textclean/man/print.sub_holder.Rd                |   32
 textclean-0.9.7/textclean/man/print.which_are_locs.Rd            |   42
 textclean-0.9.7/textclean/man/reexports.Rd                       |   35
 textclean-0.9.7/textclean/man/replace_contraction.Rd             |   80
 textclean-0.9.7/textclean/man/replace_date.Rd                    |   68
 textclean-0.9.7/textclean/man/replace_email.Rd                   |  103
 textclean-0.9.7/textclean/man/replace_emoji.Rd                   |   82
 textclean-0.9.7/textclean/man/replace_emoticon.Rd                |  101
 textclean-0.9.7/textclean/man/replace_grade.Rd                   |   62
 textclean-0.9.7/textclean/man/replace_hash.Rd                    |   88
 textclean-0.9.7/textclean/man/replace_html.Rd                    |  144
 textclean-0.9.7/textclean/man/replace_incomplete.Rd              |   58
 textclean-0.9.7/textclean/man/replace_internet_slang.Rd          |   94
 textclean-0.9.7/textclean/man/replace_kern.Rd                    |   78
 textclean-0.9.7/textclean/man/replace_misspelling.Rd             |only
 textclean-0.9.7/textclean/man/replace_money.Rd                   |   76
 textclean-0.9.7/textclean/man/replace_names.Rd                   |   82
 textclean-0.9.7/textclean/man/replace_non_ascii.Rd               |  113
 textclean-0.9.7/textclean/man/replace_number.Rd                  |  159
 textclean-0.9.7/textclean/man/replace_ordinal.Rd                 |   74
 textclean-0.9.7/textclean/man/replace_rating.Rd                  |   78
 textclean-0.9.7/textclean/man/replace_symbol.Rd                  |   98
 textclean-0.9.7/textclean/man/replace_tag.Rd                     |   88
 textclean-0.9.7/textclean/man/replace_time.Rd                    |  137
 textclean-0.9.7/textclean/man/replace_to.Rd                      |  128
 textclean-0.9.7/textclean/man/replace_tokens.Rd                  |  178
 textclean-0.9.7/textclean/man/replace_url.Rd                     |   94
 textclean-0.9.7/textclean/man/replace_white.Rd                   |   56
 textclean-0.9.7/textclean/man/replace_word_elongation.Rd         |  143
 textclean-0.9.7/textclean/man/strip.Rd                           |  149
 textclean-0.9.7/textclean/man/sub_holder.Rd                      |  116
 textclean-0.9.7/textclean/man/swap.Rd                            |   66
 textclean-0.9.7/textclean/man/textclean-package.Rd               |only
 textclean-0.9.7/textclean/man/which_are.Rd                       |  132
 textclean-0.9.7/textclean/tests/testthat.R                       |    6
 textclean-0.9.7/textclean/tests/testthat/test-replace_emoticon.R |   22
 textclean-0.9.7/textclean/tests/testthat/test-replace_grade.R    |   44
 textclean-0.9.7/textclean/tests/testthat/test-replace_rating.R   |   80
 textclean-0.9.7/textclean/tests/testthat/test-strip.R            |   14
 114 files changed, 7464 insertions(+), 7323 deletions(-)

More information about textclean at CRAN