Translate not coming in google.API - vb.net

To translate english to any other language we have to write..
dim ST,ST1 as string
ST="HELLO"
ST1= Google.API.Translate.Translator.Translate(ST, Google.API.Translate.Language.English, Google.API.Translate.Language.Hindi)
msgbox(ST1)
but in my code window...
Google.API.Translate.Translator.Detect is coming. No Translate option is coming..
can anyone help why this is happening ??
thanks in advance
Dev..

Today, 2011/12/1, Google will be shutting down version 1.0 of their language API. The version of the API that your library uses is 1.0.
Version 2.0 can be found here, which costs $20 per 1 million words, with a 2 million words per day quota.
Since you probably want something free, you can use Microsoft's Translator API, where its free usage works for 2 million characters per month.

Related

Choosing btw Scrapy V1.8 and V2.0

Hi I have wanted to learn Scrapy and use it to scrape dynamic data off of webpages, and use it in a website backend.
When I went to the official docs, I go to know that V.2.0 just came out.
Given that I'm new to scrappy, and plan to develop an autonomous hosted application, I was wondering whether I should choose v 1.8 over v 2.0 because bugs would've been worked out better and there'll be more tutorials etc. But on the other hand, I'll end up learning 2.0 anyway in the future, so maybe I should start with 2.0 itself.
So I have two questions:
Are there any major changes from v1.8 to v.2.0 (I am aware that there are release notes that accompany each version, but the only thing that I can really understand is that Python 2 support was removed; everything else uses terminology that I don't understand.)
I'd be grateful for your advice on which one I should opt for.
I have worked with Selenium & BeatifulSoup4 on 1 project before hand, which involved scraping stock price and relative strength index, and using that as a part of Flask backed web app.
Always use the latest Scrapy release for a new project, unless you cannot for some reason.
There are no major changes in how Scrapy works between 1.8 and 2.0; upgrading from 1.8 to 2.0 should be as easy as upgrading from 1.7 to 1.8.

Are these two 2008 & 2009 Dojo books hopelessly out-of-date/worthless?

About 5 yrs ago I bought 'Practical Dojo Projects' and 'The Concise Guide to Dojo' (Wrox.) But these 2008 & 2009 books don't even mention which version they are written for. I now have a project I want to do in Dojo. Are these books of any use today or will they just confuse me because of the major changes in Dojo ? Should I just wait (maybe 2 years or more ???) for Dojo 2.0 to be released ?
What is written in these books is still valid but outdated.
Thanks to a very good backward compatibility from Dojo, almost all what you will read in the books can still be used.
However, Dojo syntax has changed and even if the legacy syntax (the one in the books) is still valid, they now encourage you to use the AMD syntax.
this page will help you "converting" the syntax in the book into the more modern syntax. Appart the syntax change, almost all what you learn in the books is still valid.
Most programming books are outdated especially if they were writing ~8 years ago. Your best bet is to read their docs, recent tutorials, or any articles about the framework. Also make sure the community around the tool is still active and that you can get support if you get stock anywhere in the middle of dev your new app.

Using Oxford Speech API in unity

I want to integrate the oxford speech recognition API in a project in unity.
The problem is that the source code in the sample use .NET 4 libraries while unity only support until 3.5 (and only until .NET 2 on phones as far as i know)
Did someone found a way to make it work?
Thanks!
The sample code you mention is the SDK sample I believe. The functions that come with the SDK is just wrappers around the actual REST API requests. You don't necessarily need to use them. Instead I suggest you give the REST API itself a try. You can find the info below.
https://www.projectoxford.ai/speech
And here is sample usage for your convenience
API testing console.
One more thing to remember is the Auth token expires every 10 mins so it's a good idea to renew every 9 mins.
Hope this helps!

Swagger Code Generator - Anyone with experience?

Recently, our team has starting using http://swagger.io/, which after tweaking a bit how we'd need to work has worked very well for us. The Swagger UI with the prebuilt documentation is quite helpful.
Part of the other reason we started using Swagger was to try and take advantage of Swagger Code Generation, which is the hope of easily generated SDKs. It takes a bit to figure out, but once it is configured it seems to be doing a decent job.
Ultimately, my question is does anyone have experience with Swagger Code Gen, and can speak to their experience with it? We've felt it is a bit of a immature tool (at this stage), and are trying to balance how much is worth either tweaking Swagger Code Gen to get it working or even compromise aspects of our API to get it there.
Thanks
Dan
There's been a lot of improvements to Swagger Codegen since your question in March 2015. More than 300 PRs have been merged. The latest version 2.1.4 was released 2 weeks ago.
There are many examples that developers using it in production. Here is one recent example.
Please give it another try and report here if you've any feedback for the Swagger Codegen community.

Custom Presence with UCMA 2.0 and OCS 2007

I have recently started working with Unified Communication Managed API 2.0 (UCMA) and Office Communication Server(OCS) 2007. I have a need in my app that I have to create custom presence for my users? Has anyone of you guys done this before and can point me in right direction?
There is not much documentation out there regarding this, so I am struggling here.
Thanks
I've not done any work with the 2.0 API yet, but these posts may be useful for you:
Joe Calev's Weblog (apologies if you've already seen them)
Also, there might be some useful nuggets in here (its V1 but some of the concepts are similar):
UCMA 1.0 Sample app
Ok I got the Answer.
We have to execute couple of stored procedures on OCS side to add those custom presence there.
Then we can publish to those presence just like every other ones!