Skip to main content

Guess the natural language of a text

Project description

Example usage

>>> from guess_language import guess_language
>>> guess_language("Hello, World!")
'en'
>>> guess_language("Ces eaux regorgent de renégats et de voleurs.")
'fr'
>>> guess_language("Tienes que seguir tu corazón.")
'es'
>>> guess_language("いいえ!忍者がいます")
'ja'

Installation

You can use the setup.py script:

$ ./setup.py install

On Windows, you can use one of the MSI binary packages provided on the download page.

Requirements

This is a Python 3 version of guess-language with further improvements.

Project details


Release history Release notifications

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.5a5

History Node

0.5a4

History Node

0.5a3

History Node

0.5a2

This version
History Node

0.5a1

History Node

0.4a7

History Node

0.4a6

History Node

0.4a5

History Node

0.4a4

History Node

0.4a3

History Node

0.4a2

History Node

0.4a1

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page