Is there a free translate API that supports multiple word meanings? - translate

I've been trying to use Google Translate API but I need to translate one word and get all the possible meanings (as in dictionary).
Another question at SO explained that Google does not support this.
Is there another web API that can do this (for free)?

Related

The technology behind Google Translate and DeepL websites

I am working on a front-end solution for translating text on Google Cloud platform. I want to know what is the technology behind the front-end of apps like deepl?
Which cloud components do they use to efficiently translate the text as the user types new characters inside the input field?
Translator services like Google Translate, or the one you mentioned, are normally built on top of many different software components, layers and servicers (quite often also involving ML/NLU etc).
If you are a frontend developer looking for an easy way to translate UIs or some user input, have a look to Google Translate API. Be aware of free quotas and prices.

How to use Azure Cognitive Search to find answers to questions from unstructured documents?

I am new to Azure Cognitive Search. I uploaded different types of files in the Azure Blob Storage (.html, .pdf, .xlsx,.docx ..). I want to use the search capabilities of Azure Cognitive search to get a document and an answer/highlights which represents what I am searching about.
For example, I have different files with different fruits as data, and if I ask "where are oranges grown?" then I would expect desired highlighted text with that answer and the document in question. When I search this, I normally get all the documents which has "where", "are" are frequently mentioned but not the result itself. Is there anything I can do to get desired answer?
Another way is to integrate QnA maker with Azure Cognitive Search, which does give question and answers. However, I am searching for an option where I don't use QnA maker. Is it possible to do so? Semantic search does give some result, but it is bit expensive for me.
Another scenario, there is an image in a pdf to make orange juice. I want to get that image as a part of an answer when I search "how to make orange juice?", is it possible to do so?
The Q&A built-in experience you're looking for can be achieved by integrating either through Azure Cognitive Service for Language or by the Semantic Search. There is no built-in mechanism that is not through Semantic Search in the service itself to get that specific functionality.
In regard to returning images, you should be able to use skillsets and specifically the Image analysis skill to tag your images and have a URL of the image location as one of the index fields, so you can return in your results. Vector Search is not supported at this time.
I hope this helps.

Create a search engine on specific sites and gather specific info

I need to create a search engine that crawls thru a list of websites and searches there for a query, and those website all return some data in various formats and structures, I need to collect specific info (in a unique structure) from all these websites.
Is there a way I can do that with an existing engine such as Google Custom Search Engine? Or am I better creating one of my own? If yes, what's the first step I should take towards learning about indexing and searching these website efficiently and without filling up my servers with unuseful trash.
So to sum up, besides searching a query on each of these websites' search box, I need to handle the results of each of them appropriately and lay it over in a union structure in one place altogether. All the results are to be parsed and extracted into 4-6 fields (unless, of course, there is a way to this with Google CSE.
Google CSE provides some interfaces to the standard Google web search. You can control the user interface and the search parameters, but you have no control over the indexing, nor any direct access to the index data.
You might be more interested in the Google Search API's that are available with GAE. These are quite different: they are search services in which you provide the data and control the indexes.
here in dec 2018, with google CSE, we can define a set of websites from where we can do our request. google CSE offers up to 2000 website sources to include and up to 5000 sources Overall.
a simple comparison:
Google CSE provides a strong API , custom requests, and nothing to run in your server but in contrast it permits only 100 requests by day for free use.
developing a new SE could be helpful for small sets of websites and it provides a customized SE for the business needs but it requires : time, infrastructure, money investement ,developement of SE algorithms: indexing, storage and analyis.
To sum up. It depends on what side you really need it.

What are the pros & cons of using Google CSE vs implementing dedicated search engine for a site like stackoverflow?

I understand that same work should not be repeated when Google CSE is already there, so what may be the reasons to should consider implementing a dedicated search engine for a public facing website similar to SO(& why probably StackOverflow did that ?). Paid version of CSE(Google site Search), already eliminates several drawbacks that forced dedicated implementation. Cost may be one reason to not choose Google CSE, but what are other reasons ?
Another thing I want to ask is my site is similar kind as StackOverflow, so when Google indexes its content every now & then, won't that overload my database servers with lots of queries may be when there is peak traffic time?
I look forward to use Google Custom search API but I need to clarify whether the 1000 paid queries that I get for 5$ are valid only for 1 day or they get adjusted to extra queries(beyond free ones) on the next day & so on. Can anyone clarify on this too?
This depends on the content of your site, the frequency of the updates, and the kind of search you want to provide.
For example, with StackOverflow, there'd probably be no way to search for questions of an individual user through Google, but it can be done with an internal search engine easily.
Similarly, Google can outdate their API at any time; in fact, if past experience is any indication, Google has already done so with their Google Web Search API, where a lot of non-profits that had projects based on such API were left on the street with no Google options for continuation of their services (paying 100 USD/year for only 20'000 search queries per year, may be fine for a posh blog indeed, but greatly limits what you can actually use the search API for).
On the other hand, you probably already want to have Google index all of your pages, to get the organic search traffic, so Google CSE would probably use rather minimal resources of your server, compared to having a complete in-house search engine.
Now that Google Site Search is gone, the best search tool alternative for all the loyal Google fans is Google Custom Search (CSE)
Some of the features of Google Custom Search that I loved the most, were :-
Its free (with ads)
Ability to monetise those ads with your AdSense Account
Tons of Customization options, including removing the Google branding,
Ability to link it with Google Analytics account, for highly comprehensive analytical report,
Powerful auto correct feature to understand the real intention behind the typos,
Cons : Lacks customer Support…
Read More: https://www.techrbun.com/2019/05/google-custom-search-features.html

Search engine comparison tool. Google and Bing

I am trying to build a search engine comparison tool between bing and google that will analyze which of the top n results are matching. Since I don't have much web-development experience, (most of my experience lies in Windows Application development and lower level stuff.) I was wondering if somebody could point me in the right direction. I'm guessing that one way of doing this would be to download the search results and somehow find all of the links which are results and then comparing them.
What language can I use to do this?
You could use a language of your choice and build upon APIs. Bing already has one
Although Google doesn't have a direct search API (at least none that I know of), if you are a student planning to do some research, you can sign up for their university program and they'll expose you an API. Trying to download the page and parsing it would be difficult, since Google uses some security measures to avoid direct crawls.

Resources