Dogfennaeth API Gwirio Sillafu a Gramadeg

Spelling and Grammar Checking API Documentation


Wedi'i bweru gan Cysill, gall yr API hwn adnabod unrhyw wallau sillafu neu wallau gramadegol gan gynnwys camdreigladau gan awgrymu’r cywiriadau priodol. Powered by Cysill, this API can find any spelling, general grammatical errors as well as incorrect mutation errors, and then inform why the error is considered to be incorrect and provide corrections.

API Fersiwn 1 (v1) API Version 1 (v1)

Gwirio

Check

https://api.techiaith.cymru/cysill/v1/

Paramedr Math Disgrifiad
Field Type Description
text String Y testun i'w wirio The text to check

Enghraifft:

Example:

                        
                            curl https://api.techiaith.cymru/cysill/v1/?text=mae+hen+gwlad+fy+tadau&max_errors=10
                        
                    

Canlyniad Enghreifftiol:

Example Result:

                        
                            {
"version": 1,
"success": true, 
"result": 
    [
        {
            "start": 4, 
            "length": 9, 
            "isSpelling": false, 
            "message": "Mae 'hen' yn achosi treiglad meddal", 
            "suggestions": [
                "hen wlad"
            ]
        }, 
        {
            "start": 14, 
            "length": 8, 
            "isSpelling": false, 
            "message": "Mae 'tadau' yn treiglo'n drwynol ar \u00f4l 'fy'", 
            "suggestions": [
                "fy nhadau"
            ]
        }
    ]
}
                        
                    

Cookies

Briwsion


We use cookies to improve your experience and enable recording your voice.

Rydym yn defnyddio briwsion i wella eich profiad a galluogi recordio eich llais

Accept & Continue Derbyn a Pharhau

Need to learn more? Privacy & Cookie Policy

Angen dysgu mwy? Preifatrwydd a Pholisi Briwsion