-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
46 lines (34 loc) · 1.49 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# String Operations - {sto}
<!-- badges: start -->
<!-- badges: end -->
The goal of {sto} is to make easier some of the tedious operations involving strings and text analysis.
It comes with three main types of functions:
1) You can use it to quickly create vectors from strings, load a series os packages more easily, and perform other operations like `grep`, `grepl` and `gsub` with native pipe.
2) {sto} also provides functions for fine grain generate stopword lists by language and grammar categories. Most of the existing stopwords packages only provides a vector of words.
3) Additionally, {sto} comes with a rule-based proper name/entity extractor that returns vectors, lists, or graphs representing binary co-occurrence in sentences or paragraphs.
**Keywords**: strings; text analysis; text mining
## Installing String Operations
Install using {devtools} package
```{r eval=FALSE}
install.packages("devtools") # if devtools is not installed yet
devtools::install_github("SoaresAlisson/sto")
```
Or install using {pak} package
```{r, eval=FALSE}
install.packages("pak", dependencies = TRUE) # if {pak} is not installed yet
pak::pkg_install("SoaresAlisson/sto")
```
## Example
See the vignettes in the [articles](https://soaresalisson.github.io/sto/index.html)