Awesome Open Source
Awesome Open Source
Sponsorship

stringi

THE String Processing Package for R

Build Status DOI RStudio CRAN mirror downloads RStudio CRAN mirror downloads RStudio CRAN mirror downloads

Documentation is available at https://stringi.gagolewski.com/.

Tutorial is available at https://stringi.gagolewski.com/_static/vignette/stringi.pdf.

stringi (pronounced “stringy”, IPA [strinɡi]) is THE R package for string/text/natural language processing. It is very fast, consistent, convenient, and — thanks to the ICU – International Components for Unicode library — portable across all locales and platforms.

Available features include:

  • string concatenation, padding, wrapping,
  • substring extraction,
  • pattern searching (e.g., with Java-like regular expressions),
  • collation and sorting,
  • random string generation,
  • case mapping,
  • string transliteration,
  • Unicode normalisation,
  • date-time formatting and parsing,

and many more.

Package Maintainer: Marek Gagolewski

Authors and Contributors: Marek Gagolewski, with contributions from Bartłomiej Tartanus and many others.

The package's API was inspired by Hadley Wickham's stringr package (and since 2015 stringr powered by stringi).

Homepage: https://stringi.gagolewski.com/

CRAN Entry: https://cran.r-project.org/web/packages/stringi/

How to access the stringi C++ API from within an Rcpp-based R package

System Requirements: R >= 2.14, ICU4C >= 55 (refer to the INSTALL file for more details)

License: stringi's source code is licensed under the open source BSD-3-clause, for more details see the LICENSE file.

This git repository also contains a custom subset of ICU4C 55.1 and ICU4C 61.1 source code which is copyrighted by Unicode and others. A binary version of the Unicode Character Database is included. For more details on copyright holders see the LICENSE file. The ICU project is covered by the ICU license — a simple, permissive non-copyleft free software license, compatible with the GNU GPL. The ICU license is intended to allow ICU to be included both in free software projects and in proprietary or commercial products.

Changes: see the NEWS file.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c-plus-plus (16,785
r (2,124
nlp (938
natural-language-processing (607
text (155
regex (153
unicode (107
text-processing (52
regexp (43
string-manipulation (38
icu (15

Find Open Source By Browsing 7,000 Topics Across 59 Categories