What Lang?
Royalty Free
Detect the language of a given text
Language
Rust
Metrics
API Calls - 46
Avg call duration -
N/A
Permissions
The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT).
Learn More
Run an Example
Input
Output
{
"lang_code": "eng",
"script": "Latin"
}
Install and Use
Install
Install the Algorithmia CLI client by running:
curl -sSLf https://algorithmia.com/install.sh | sh
Then authenticate by running:
$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
Use
algo run anowell/whatlang/0.1.0 -d '{
"text": "Your playing small does not serve the world. There is nothing enlightened about shrinking so that other people won't feel insecure around you."
}' --timeout 300
This algorithm's sample input contains a
'
character. This can be used to inject malicious code when running commands
(e.g. "'; sudo rm -rf / ;"). Use with caution.