Products Technologies Demo Docs Blog Support Company

Proofing Tools Available As ReportingCloud Web API Endpoints

We just rolled out 3 new ReportingCloud endpoints to integrate spell checking functionality to your cloud-based applications in more than fifty languages.

Proofing Tools Available As ReportingCloud Web API Endpoints

We just rolled out 3 new ReportingCloud endpoints to integrate proofing functionality into your applications. The ReportingCloud template editor already provides 50+ different dictionaries for spell checking. This functionality is now available as a web service endpoint and can be used independently from merging documents.

Proofing Check Method

https://api.reporting.cloud/v1/proofing/check

The proofing/check method checks text for spelling errors. As query parameters, it accepts text that specifies the text to spell check and language which defines the language (see AvailableDictionaries method) that is used to spell check the specified text.

Query Parameter Value Type Value
text String Specifies the text to spell check.
language String The language that is used to spell check the specified text.

The following CURL call checks text for the language "US English":

curl -u username:password \
  -X GET "https://api.reporting.cloud/v1/proofing/check?text=Thiss%20is%20a%20testt&language=en_US.dic

ReportingCloud returns an array of IncorrectWord objects:

[{"length":5,"start":0,"text":"Thiss","isDuplicate":false,"language":"en_US.dic"},
{"length":5,"start":11,"text":"testt","isDuplicate":false,"language":"en_US.dic"}]

This object contains the text, the start index position, length and language information. The isDuplicate property indicates whether a word is a duplicate in the checked text.

IncorrectWord Object

Key Value Type Value Description
length Integer Gets the length of the spelled word.
start Integer Gets the starting position of a spelled word.
text String Gets the text of the spelled word.
isDuplicate Boolean Gets a value indicating whether the spelled word is declared as incorrect, because the previous word has the same text.
language String Gets a value indicating the language the incorrect word was spelled.

Proofing AvailableDictionaries Method

https://api.reporting.cloud/v1/proofing/availabledictionaries

This method returns all available dictionary names. These names can be used in the Check method to define the spell checking language.

Proofing Suggestions Method

https://api.reporting.cloud/v1/proofing/suggestions

This endpoint returns suggestions for a misspelled word. The query parameters must contain the word for which the suggestions should be created for, the language (see AvailableDictionaries method) and the maximum number of suggestions:

Query Parameter Value Type Value
word String Specifies the incorrect word that has to be determined for suggestions.
language String The language that is used to spell check the specified text.
max String Specifies the maximum number of suggestions that has to be determined.

The following CURL call returns 10 suggestions for the word "Thiss":

curl -u username:password \
  -X GET "https://api.reporting.cloud/v1/proofing/suggestions?word=Thiss&language=en_US.dic&max=10
["This","Hiss","Thesis","Thins","Thurs","Thirsts","Thieu","Thirds","Theists","Thais"]

Test this on your own and create a ReportingCloud trial account today.

Happy coding!

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Cloud

Are we moving to the cloud? This question is changing from "if" to "when" and "how". Text Control ReportingCloud brings complete reporting functionality to the cloud so all developers can use it, irrespective of the platform or language they're using. Its highly RESTful API can be used to merge Microsoft Word compatible templates with JSON data from all clients including .NET, Javascript, PHP, Node.JS, jQuery, Ruby, Python, Android, Java and iOS.

See Cloud products

Related Posts

CloudReportingGoogle Fonts

All Google Fonts Now Available in ReportingCloud

Making the web more beautiful, fast, and open through great typography. This is the motto of Google Fonts. The advantage of ReportingCloud is a consistent rendering of documents.


CloudReportingReportingCloud

New ReportingCloud MergeSettings Option: Merge HTML Content into Merge Fields

One of the most requested features for ReportingCloud is a way to merge formatted content into merge fields. We have added this feature to the API and rolled it out last weekend. The MergeSettings…


CloudReportingReportingCloud

New ReportingCloud Endpoint: List Available Fonts

We just rolled out a new Web API endpoint which returns available font names that can be used to create and merge templates for merge processes with ReportingCloud.…


CloudReportingReportingCloud

What Can You Do with the ReportingCloud RESTful Service?

The RESTful web service Text Control ReportingCloud is a Web API powered reporting platform that provides the mail merge and reporting functionality of the powerful .NET component TX Text Control.…


CloudReportingReportingCloud

Render Document Pages As Images Using the ReportingCloud REST Web API

ReportingCloud is a Web API powered reporting platform to create MS Word compatible reports in the cloud using a REST web service. The Web API also supports rendering document pages to a variety…