Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emilhvitfeldt/wordsalad
Provide Tools to Extract and Analyze Word Vectors
https://github.com/emilhvitfeldt/wordsalad
Last synced: about 2 months ago
JSON representation
Provide Tools to Extract and Analyze Word Vectors
- Host: GitHub
- URL: https://github.com/emilhvitfeldt/wordsalad
- Owner: EmilHvitfeldt
- License: other
- Created: 2020-06-11T03:21:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-24T07:02:53.000Z (about 4 years ago)
- Last Synced: 2024-10-28T17:32:39.573Z (about 2 months ago)
- Language: R
- Homepage: https://emilhvitfeldt.github.io/wordsalad/
- Size: 750 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# wordsalad
[![R build status](https://github.com/EmilHvitfeldt/wordsalad/workflows/R-CMD-check/badge.svg)](https://github.com/EmilHvitfeldt/wordsalad/actions)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)The goal of wordsalad is to provide a unified interface for word embedding methods to produce word vectors. wordsalad doesn't provide the implementation of these methods, only a unified interface. For more information on the specific method please refer to the documentation.
Goals of this package are:
- Allow the specification of tokenizer used
- Streamline argument names and order
- Consistent output formats
- Avoid the need for creating temporary files## Installation
You can install the released version of wordsalad from [CRAN](https://CRAN.R-project.org) with:
```{r, eval=FALSE}
install.packages("wordsalad")
```If you want the development version instead then install directly from GitHub:
```{r, eval=FALSE}
# install.packages("devtools")
devtools::install_github("EmilHvitfeldt/wordsalad")
```## Example
```{r, message=FALSE}
library(wordsalad)glove(fairy_tales)
```## Code of Conduct
Please note that the wordsalad project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.