-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
executable file
·100 lines (82 loc) · 2.46 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
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/",
out.width = "100%"
)
```
# rulexicon <img src="man/figures/logo.png" align="right" width="136px"/>
<!-- badges: start -->
[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/0.1.0/active.svg)](http://www.repostatus.org/#active)
[![Lifecycle: stable](https://lifecycle.r-lib.org/articles/figures/lifecycle-stable.svg)](https://www.tidyverse.org/lifecycle/#stable)
<!-- badges: end -->
An R data package containing a collection of Russian lexicons, polarity tables, stop words lists, lemmatization tables and etc. for text analysis.
## Naming convention
The naming convention based on the idea of [lexicon](https://github.com/cran/lexicon) package, and help to categorize the data types.
<table>
<thead>
<tr class="header">
<th>Prefix</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><code>key_</code></td>
<td>A <code>data.frame</code> with a lookup and return value</td>
</tr>
<tr class="even">
<td><code>hash_</code></td>
<td>A keyed <code>data.table</code> hash table</td>
</tr>
<tr class="odd">
<td><code>hash_lemmas_</code></td>
<td>A lemmatization hash table</td>
</tr>
<tr class="even">
<td><code>hash_sentiment_</code></td>
<td>A sentiment polarity hash table</td>
</tr>
<tr class="odd">
<td><code>profanity_</code></td>
<td>A profane words <code>vector</code></td>
</tr>
<tr class="even">
<td><code>sw_</code></td>
<td>A stopword <code>vector</code></td>
</tr>
<tr class="odd">
<td><code>freq_</code></td>
<td>A <code>data.table</code> of terms with frequencies</td>
</tr>
<tr class="even">
<td><code>_en</code></td>
<td>An English version of dictionary</td>
</tr>
</tbody>
</table>
## Installation
<!--
You can install the released version of rulexicon from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("rulexicon")
```
-->
You can install this package from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("dmafanasyev/rulexicon")
```
<!--
## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(rulexicon)
## basic example code
```
-->