skip to navigation
skip to content

Not Logged In

guess_language-spirit 0.5a1

Guess the natural language of a text

Latest Version: 0.5a4

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.

 
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 0 downloads in the last month