This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

What is this package

The languagedet package implements language detection using stopwords and trigrams. It has three clases:

  • languagedet.stopwords.StopWordsDetector: detects language using stopword lists.
  • languagedet.textcat.TextCatDetector: uses the libexttexcat library for language detection.
  • languagedet.mixed.MixedDetector: uses StopWordsDetector and if it fails then use TextCatDetector.

Intallation

This package depends on the libexttextcat library. To install it in Ubuntu:

$ sudo apt-get install build-essential python-dev libexttextcat-dev

Now you can install using pip:

$ pip install languagedet

Example

In [1]: from languagedet.mixed import MixedDetector

In [2]: det = MixedDetector()

In [3]: det.available
Out[3]:
['fr',
 'en',
 'de',
 'it',
 'da',
 'fi',
 'hu',
 'es',
 'ru',
 'nl',
 'pt',
 'no',
 'tr',
 'sv']

In [4]: det('biblioteca para la detectar idioma')
Out[4]: 'es'

Changelog

Version 0.1.1

  • Modified setup.py.
  • Added a README.txt.
  • Added a MANIFEST.in to include data files missing in version 0.1.
  • Removed dependencies form cython and setuptools-cython.

Version 0.1

  • Initial version.
  • Support for language detectión using stopwords and the exttextcat library.
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
languagedet-0.1.1.tar.gz (44.1 kB) Copy SHA256 Checksum SHA256 Source Nov 20, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting