Learn R Programming

fastText (version 1.0.7)

Efficient Learning of Word Representations and Sentence Classification

Description

An interface to the 'fastText' library for efficient learning of word representations and sentence classification. The 'fastText' algorithm is explained in detail in (i) "Enriching Word Vectors with subword Information", Piotr Bojanowski, Edouard Grave, Armand Joulin, Tomas Mikolov, 2017, ; (ii) "Bag of Tricks for Efficient Text Classification", Armand Joulin, Edouard Grave, Piotr Bojanowski, Tomas Mikolov, 2017, ; (iii) "FastText.zip: Compressing text classification models", Armand Joulin, Edouard Grave, Piotr Bojanowski, Matthijs Douze, Herve Jegou, Tomas Mikolov, 2016, .

Copy Link

Version

Install

install.packages('fastText')

Monthly Downloads

663

Version

1.0.7

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Lampros Mouselimis

Last Published

February 20th, 2026

Functions in fastText (1.0.7)

plot_progress_logs

Plot the progress of loss, learning-rate and word-counts
language_identification

Language Identification using fastText
give_args_fasttext

The Rcpp function which is used in the 'fasttext_interface' R function
printAnalogiesUsage

Print Usage Information when the command equals to 'analogies'
inner_elapsed_time

inner function of 'compute_elapsed_time'
printQuantizeUsage

Print Usage Information when the command equals to 'quantize'
printTestLabelUsage

Print Usage Information when the command equals to 'test-label'
fasttext_interface

Interface for the fasttext library
printPredictUsage

Print Usage Information when the command equals to 'predict' or 'predict-prob'
printPrintNgramsUsage

Print Usage Information when the command equals to 'print-ngrams'
printPrintSentenceVectorsUsage

Print Usage Information when the command equals to 'print-sentence-vectors'
compute_elapsed_time

elapsed time in hours & minutes & seconds
multiplot

Multiple plot function
printTestUsage

Print Usage Information when the command equals to 'test'
printUsage

Print Usage Information for all parameters
printDumpUsage

Print Usage Information when the command equals to 'dump'
printNNUsage

Print Usage Information when the command equals to 'nn'
printPrintWordVectorsUsage

Print Usage Information when the command equals to 'print-word-vectors'
print_parameters

Print the parameters for a specific command