Usage:
from lang_detection import *
api("API_KEY")
detect("Ich bin Mario")
Output:
'German'
I will be adding "confidence" later. I'm sure you want it :P
A simple wrapper to detect languages using Google Cloud Platform.
pip install gtlang_detection==0.1.1
from lang_detection import *
api("API_KEY")
detect("Ich bin Mario")
Output:
'German'
I will be adding "confidence" later. I'm sure you want it :P