Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fasttext-predict

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fasttext-predict

fasttext with wheels and no external dependency, but only the predict method (<1MB)

  • 0.9.2.4
  • PyPI
  • Socket score

Maintainers
1

fasttext-predict

Python package for fasttext <https://github.com/facebookresearch/fastText>__:

  • keep only the predict method, all other features are removed
  • standalone package without external dependency (numpy is not a dependency)
  • wheels for various architectures using GitHub workflows. The script is inspired by lxml build scripts.

Usage

.. code:: sh

pip install fasttext-predict

.. code:: python

import fasttext model = fasttext.load_model('lid.176.ftz') result = model.predict('Fondant au chocolat et tarte aux myrtilles')

See https://fasttext.cc/docs/en/language-identification.html

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc