Unparalleled suite of productivity-boosting Web APIs & cloud-based micro-service applications for developers and companies of any size.


“Did you mean this?” API: Use cases and examples

Google’s famed autocorrection feature is made simple with APILayer’s relevant API.

Google is with no doubt, the most widely used web engine in the world. We all use Google to have a solution for our every problem. But have you ever thought about why Google is so commonly used? While there are many other search engines like yahoo, Bing, etc.

The thing about Google’s fame is that it makes everything so easy for you. You type one word in the search bar and you get dozens of related suggestions in a few seconds. And one of the great features of Google is ​“Did you Mean” ​functionality.

Without Did You Mean This Algorithm
Without Did You Mean This Algorithm

What is “Did You Mean” Algorithm?

We all use search engines and to be very fair, some of us are very bad at spellings or sometimes we don’t exactly know what we want so we just write something. In response, Google still brings the results to our query with a prompt saying Did you Mean This?

Let’s see an example of how this feature works. If you search the below line:

“did yuo maen ths”

Google will automatically return the results for

“did you mean this”

So, this feature is a combination of autocorrect and word prediction. And now you can use these methods to create your own Did You Mean feature. Thanks to our Did you Mean This API.

When you have Did You Mean This feature.

How does Did you Mean This Algorithm Work?

We have provided an API that you can easily embed in any of your applications. This API can be used for multiple purposes like

  • autocorrect words,
  • spelling mistakes,
  • correcting grammatical errors, etc.

When you make a search, machine learning algorithms process you’re the query and understand if there is not any (or a few) search result for it, but there is a similar word with lots of search results. Then it makes a decision to provide that more meaningful results.

Some Examples For Did you Mean Algorithm

● If you have an eCommerce store, Did you Mean This feature can be a great asset for you. This can save a lot of your revenue. You must be wondering how this feature can help you in your business.

Imagine a case where a user comes to your website and search for a thing but with wrong spelling, in a normal case, the system would return that no results found for your query.

Let’s see an example, the user enters a query ​”vakum cleaner”​. In normal cases, the website would return that ‘no results’ found. But if you are using our Did you Mean This API, then it would automatically predict what user is trying to find and would return the results for ​”vacuum cleaner”. This will make the visitors stay on your website and they might purchase more items from your website.

● You have developed an App that has a feature of online chatting or interacting with other users. Users generally don’t care about spellings these days and most of the words are written with the wrong spelling and wrong grammar. Some keyboard apps provide autocorrect functionality and identify the spelling mistake. But it does not work great as much as we want.

You can add this functionality in your APP easily by using our Did you Mean This API. This will provide better user experience of your app users. They get the right results even they did not write it correctly.

For example when a user writes this sentence in the app:

“tomoto suop recipe”

This sentence is corrected by API endpoint as follows:

‘tomato soup recipe”

Now if you want to create your own Did You Mean feature please check out our Did You Mean This API page which also has great documentation support.

Related posts

The Evolution of Real-Time Stock Market Data APIs: Empowering Traders and Analysts


The Power of APIs for Foreign Currency Converter and Building Your Own Converter


Everything You Need to Know About Private IP Address Ranges


Building a Currency Converter: Leveraging JSON API for Accurate Exchange Rates

Leave a Reply

Your email address will not be published. Required fields are marked *