Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
fastText Quick Start Guide

You're reading from   fastText Quick Start Guide Get started with Facebook's library for text representation and classification

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789130997
Length 194 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Joydeep Bhattacharjee Joydeep Bhattacharjee
Author Profile Icon Joydeep Bhattacharjee
Joydeep Bhattacharjee
Arrow right icon
View More author details
Toc

FastText in Python

The use of fastText is specifically to transform words and sentences into efficient vector representations. Although fastText is written in C++, there are community-written Python bindings to train and use the models. Along with that, Python is one of the most popular languages used for NLP, and hence there are many other popular libraries in Python that support fastText models and the training of fastText models. Gensim and Spacy are two popular libraries that make it easy to load these vectors, transform, lemmatize, and perform other NLP tasks efficiently. This chapter will focus on how to use fastText with Python and its popular libraries. This chapter will also focus on showing you some common tasks that the two libraries can do to work with fastText models.

The topics that are covered in this chapter are as follows:

  • FastText official bindings
  • PyBind
  • Preprocessed...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime