Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Travis-CI Build Status codecov.io AppVeyor build status Buy Me A Coffee

fastText


The fastText R package is an interface to the fastText library for efficient learning of word representations and sentence classification. More details on the functionality of fastText can be found in my blog-post and in the package documentation.


To install the package from Github you can either use the install_github function of the devtools package,

devtools::install_github('mlampros/fastText')


or directly download the fastText-zip file using the Clone or download button in the repository page, 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,


#-------------
# 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.0.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.0.tar.gz")

Use the following link to report bugs/issues (for the R wrapper),

https://github.com/mlampros/fastText/issues


About

R package for 'Efficient Learning of Word Representations and Sentence Classification'

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.