fastText
R package for 'Efficient Learning of Word Representations and Sentence Classification'
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.1%) to scientific vocabulary
Keywords
cpp11
fasttext
r
Last synced: 6 months ago
·
JSON representation
Repository
R package for 'Efficient Learning of Word Representations and Sentence Classification'
Basic Info
- Host: GitHub
- Owner: mlampros
- License: other
- Language: C++
- Default Branch: master
- Homepage: https://mlampros.github.io/fastText/
- Size: 3.34 MB
Statistics
- Stars: 45
- Watchers: 3
- Forks: 5
- Open Issues: 0
- Releases: 0
Topics
cpp11
fasttext
r
Created almost 7 years ago
· Last pushed about 2 years ago
Metadata Files
Readme
Changelog
License
README.Rmd
--- output: github_document --- [](https://github.com/mlampros/fastText/actions) [](https://codecov.io/github/mlampros/fastText?branch=master) [](http://cran.r-project.org/package=fastText) [](http://www.r-pkg.org/pkg/fastText)[](https://cran.r-project.org/package=fastText) ## fastText
The **fastText** R package is an interface to the [fastText](https://github.com/facebookresearch/fastText) library for efficient learning of word representations and sentence classification. More details on the functionality of fastText can be found in the * [fastText_updated_version](http://mlampros.github.io/2019/04/11/fastText_updated_version/) (blog post) * [fasttext_language_identification](http://mlampros.github.io/2021/05/14/fasttext_language_identification/) (blog post) * [package documentation](https://mlampros.github.io/fastText/reference/index.html).
The [official website of the fasttext algorithm](https://fasttext.cc/) includes more details regarding the supervised & unsupervised functions. The following image shows the difference between [**cbow** and **skipgram**](https://fasttext.cc/docs/en/unsupervised-tutorial.html#advanced-readers-skipgram-versus-cbow) (*models to compute word representations*)

Moreover, the following figure - extracted from [a survey (scientific paper) related to word embeddings](https://hal.science/hal-03148517/document) and recent advancements in Large Language Models - shows the differences between *static* and *contextualized* word embeddings

You can either install the package from CRAN using, ```R install.packages("fastText") ```
or from Github using the *install_github* function of the *remotes* package, ```R remotes::install_github('mlampros/fastText') ```
**or** directly download the fastText-zip file using the **Clone or download** button in the [repository page](https://github.com/mlampros/fastText), extract it locally (rename it to *fastText* if necessary and check that files such as DESCRIPTION, NAMESPACE etc. are present when you open the fastText folder) and then run, ```R #------------- # on a Unix OS #------------- setwd('/your_folder/fastText/') Rcpp::compileAttributes(verbose = TRUE) setwd('/your_folder/') system("R CMD build fastText") system("R CMD INSTALL fastText_1.0.1.tar.gz") #------------------ # on the Windows OS #------------------ setwd('C:/your_folder/fastText/') Rcpp::compileAttributes(verbose = TRUE) setwd('C:/your_folder/') system("R CMD build fastText") system("R CMD INSTALL fastText_1.0.1.tar.gz") ```
Use the following link to report bugs/issues (for the R package port),
[https://github.com/mlampros/fastText/issues](https://github.com/mlampros/fastText/issues)
### **Citation:** If you use the **fastText** R package in your paper or research please cite both **fastText** and the **original articles / software** `https://CRAN.R-project.org/package=fastText`:
```R @Manual{, title = {{fastText}: Efficient Learning of Word Representations and Sentence Classification using R}, author = {Lampros Mouselimis}, year = {2021}, note = {R package version 1.0.3}, url = {https://CRAN.R-project.org/package=fastText}, } ```
Owner
- Name: Lampros Mouselimis
- Login: mlampros
- Kind: user
- Repositories: 41
- Profile: https://github.com/mlampros
Search (a little bit) and you'll find...
GitHub Events
Total
- Watch event: 4
Last Year
- Watch event: 4
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Lampros Mouselimis | m****s@g****m | 12 |
| Tomas Kalibera | t****a@g****m | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 4
- Total pull requests: 1
- Average time to close issues: 9 days
- Average time to close pull requests: about 3 hours
- Total issue authors: 4
- Total pull request authors: 1
- Average comments per issue: 5.25
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jesuiskelly (1)
- karrtikiyer (1)
- datawranglerai (1)
Pull Request Authors
- kalibera (2)
Top Labels
Issue Labels
bug (1)
triage (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 351 last-month
- Total docker downloads: 16
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 5
- Total maintainers: 1
cran.r-project.org: fastText
Efficient Learning of Word Representations and Sentence Classification
- Homepage: https://github.com/mlampros/fastText
- Documentation: http://cran.r-project.org/web/packages/fastText/fastText.pdf
- License: MIT + file LICENSE
-
Latest release: 1.0.4
published about 2 years ago
Rankings
Stargazers count: 8.4%
Forks count: 12.8%
Average: 23.7%
Dependent packages count: 29.8%
Downloads: 32.0%
Dependent repos count: 35.5%
Maintainers (1)
Last synced:
6 months ago
Dependencies
.github/workflows/issue.yml
actions
- Renato66/auto-label v2 composite
.github/workflows/stale-actions.yml
actions
- actions/stale v3 composite
.github/workflows/tic.yml
actions
- actions/checkout v3 composite
- actions/upload-artifact v2.2.1 composite
- pat-s/always-upload-cache v2.1.3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-tinytex v2 composite
DESCRIPTION
cran
- R >= 3.2.3 depends
- Rcpp >= 1.0.0 imports
- data.table * imports
- ggplot2 * imports
- glue * imports
- grid * imports
- stats * imports
- utils * imports
- covr * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
