To get google all possible words or a frequency through google cloud translate api - google-cloud-api-gateway

For example, Source language: French. Target Language: English. French word: 'froisser'. In the English textbox on the right, it shows 'crumple'. But under this textbox are listed 'offend' with 3 bars, 'crease' 2 bars, 'crumple' 2 bars, .... If 'offend' more frequently appears as a translated word for 'froisser' than 'crumple', why is the default translation 'crumple' instead of 'offend'? Of the multiple words with 2 bars, why is 'crumple' chosen instead of say 'crease'?
HOW I GET ALL THIS Frequency using cloud library in php

Related

Export Google Translate results as CSV?

I typically open a Google Translate page and start filling it up with words. GT has a left text box for the foreign word and a right text box for the translation
Von wegen Are you kidding me?
haften adhere
Grübeln brood
mausern moult
Besonnenheit calm
Gelassenheit serenity
einvernehmlich mutual agreement
Landtag Parliament
So the left column and the right column as separate text boxes, level word-for-word, foreign word and translation. I tried a bit of Emacs org-mode Google capture -- to no avail. Then it dawned on me that if I can get GT to simply export these two (matched up) text boxes as CSV or a spreadsheet, that would be what I wanted. Any ideas?
You can export the original-translated text pair to Google Sheets (and from there to CSV) by doing the following:
Once translated, click on the star below the translation to save it.
Click the circled star at the top of the page to show your saved translations.
Click on the Export to Google Sheets icon on the top right.
Note that you'll need to be signed in with your Google account to be able to save your translations.
Also, for proper export you should save your words/sentences one at a time so you have one row per translation.

How to select last suggestion in google input tools

I added google input tools extension to google chrome and it's working fine. Often I type documents in google docs with my native language and in there it contains some english words. As input tools give suggestions, english suggestion comes last. Is there a way to select the last suggestion quickly other than going one by one down using arrow keys or tab.
6th option in the list is the English suggestion. You can easily select it by typing 6 on your keyboard. Similarly, you can easily select any option in the list by typing the corresponding number.

Finding word correspondence with Microsoft Translator API

If you translate text on bing translate (www.bing.com/translator), you can see which word in the source text corresponds to a given word in the translated text. Just hover your mouse pointer over a word.
e.g. If you translate "Fantastic journey" into French, you get "Voyage fantastique" The first word in the source text corresponds to the second word in the translated text.
Is this operation possible via the Microsoft Translator API?
Yes, you can retrieve the word alignment from the Translator API. Details explained here: https://msdn.microsoft.com/en-us/library/dn198370.aspx.

How can I open google map for a specific region

I am using google map API to show our locations in a website
The problem:
I search something opening google.com and navigate to map, it is same as the locator on the website. It gives the same result.
When google is opened in local and navigate to map and do the same search, it will navigate to same place however the name is different. Please note it is not that name is in English and French that's the reason it is different. Basically this region on question is disputed over the countries.
Description:
When client opens google in his locale e.g. https://www.google.fr/ and navigates to google map he gets a different result, the name is different for the same place in google map as the place is in the border of 2 countries .
If you open by google.com it will show the widely accepted name whereas if you open google.xx and then open the same location the name will be different.
The locator by default is showing the global name in the website which the client does not want, he is asking for showing the name as displayed when opening from their region.
Is there a way I can set something like a data source or something to show google map based on some particular region.
Help will be appreciated.
Regards
Take a look here.
You can add an optional language parameter to the <script> tag when including the Maps API JavaScript code, specifying the language to use. For example, to display a Maps API application in Japanese, add &language=ja to the <script> tag.

Semantic Mediawiki query box

I am doing semantic searches via Special:Ask: [[Has home::Barcelona]]. However, I would like Barcelona to be an input variable by any user from a textbox. In other words, Barcelona might be Madrid, Rome, or New York. When clicking Search, it would appear the results.
I've found extensions like the extension InputBox, but it seems that it is not what I want. Do you have any idea how could I obtain this?