Dogfennaeth API Adnabod Iaith
Language Detections API Documentation
Wedi Diweddaru: Last Updated: 11 MawMar 2024
API Fersiwn 1 (v1) API Version 1 (v1)
Adnabod Iaith
Detect Language
https://api.techiaith.cymru/langdetect/v1/
Paramedr | Math | Disgrifiad | |
---|---|---|---|
Field | Type | Description | |
text | String | Y testun i adnabod yr iaith | Text requiring language detection |
Enghraifft:
Example:
curl https://api.techiaith.cymru/langdetect/v1/?text=hen+wlad+fy+nhadau
Canlyniad Enghreifftiol:
Example Result:
{
"version": 1,
"success": true,
"result":
{
"lang": "cy",
"probabilities":
{
"cy": 95,
"un": 0
}
}
}