Skip to main content

Guess the natural language of a text

Project description

Example usage

>>> from guess_language import guess_language
>>> guess_language("I’ve been feeling déjà vu all morning.")
'en'
>>> guess_language("Tienes que seguir tu corazón.")
'es'
>>> guess_language("いいえ!忍者がいます")
'ja'

Requirements

This is basically my branch of guess-language, ported to Python 3 and optimized for my own needs. Speed has been much improved.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page