Language Translation API C# [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am attempting to create a natural language processing program in which I must be able to translate words and sentences as well as getting their parts of speech. I have heard that you can implement Google Translate API in your program, but have worked on it with no luck for the past 2 weeks. I have tried looking at other translation services such as this, but with my very limited background in C#, I can not make much out of the article. Can anybody provide me with a simple walk through, I would like to learn what I am doing so I can further my knowledge of C#, that I can use to be able to accomplish my goal. It does not have to be the Google API, but any help is greatly appreciated!

Two mainstream options are
the Microsoft API, this is free to a certain limit
the Google API is a paid service
An cheap and dirty option would be to call the Google translate directly via a HTTP request (in another words screen scrape the Google translate page) with the new ASP.NET Web API its quite easy to do HTTP requests elegantly. eg: to translate the English phrase "test this" from English to French you need the below URL.
http://translate.google.com/#en/fr/test%20this
Here is the asp.net web api resource.

I don't think you can use the code from the article in the way you intend. Since it's writing Bing took over altavista and changed what the destination of the url is, and this code didn't do any translation itself anyway, it just passes it off to babelfish to chew on but not in a way that is stable long term.
I'd go with google translate https://developers.google.com/translate/v2/getting_started
Best of luck!

Related

Very simple web service: take inputs, email results [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I work at a small startup as a Data Scientist, and I'm looking for ways to make my analysis a bit more visible/useful to the organization. I'd like to be able to put up a simple web service which allows internal users to run my scripts remotely. They should be able to input a few parameters via a very simple UI, and they should have the option to have the results appear in the browser window (after a possibly long wait), or have them emailed. Results may be a few pdf figures, and they may be Excel spreadsheets (maybe more exotic in the future, but this is it for now).
The scripts are going to be all in Python, which will handle the analysis.
So, I'd like to know what the pros and cons are of using C#/WCF vs. something like Django or Python. I have significant experience in C# working in the Client-side code base here, but I have much less experience with WCF. All of my analysis work is done in Python (and R, to a lesser extent). The main goal is to not take all of my time building a fancy web service/UI---the front end just has to be friendly enough to not intimidate the marketing people. I don't have to worry about encryption, the server will be behind our firewall. I'm pretty platform agnostic, but I think the servers are all Windows based, if this helps.
Thanks in advance.
For extra credit, how does your answer change if some of my scripts are in F#?
You might consider using the Django web framework. You could set up a small app with your python scripts as different views. https://www.djangoproject.com/
And if you don't want to put that much effort into creating a friendly UI you could use twitter bootstrap. http://twitter.github.com/bootstrap/
Then just run the app internally to gather and display data either via HTTP GETs or via e-mail.
edit: I'm sorry I did not read carefully "pros and cons are of using C#/WCF vs. something like Django". I recently made a Django app and it was fairly straight forward.

Is there a C# API or Web Service to get the quotes from NSE or BSE? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Earlier today I was looking for an C# API which provides stock quotes for Indian market(BSE)/(NSE) in real time. But couldn't really find anything close to it.
I want to create a rich desktop application like MoneyControl.com for windows using C# .NET and expression studio. I am searching for an C# API or any webservice to get the quotes from NSE or BSE.
To be honest, I am not sure about your exact answer.
However, stock exchanges generally do offer their data feeds e.g. check this service from BSE: http://www.bseindia.com/about/abtip.asp . There are two levels of data feeds available and over HTTP, you can get one minute snapshot delivered - check out FAQ and vendors.
Another way would be do web scraping to gather the data - essentially, you mimic browser actions for target web-site (say www.bseindia.com) from your code to get the relevant data. For example, simulating this page (http://www.bseindia.com/debtbhav/BhavCopyDebt.aspx) would give you bhavcopy details for BSE. NSE also has similar pages to get the relevant data e.g. http://www.nseindia.com/archives/archives.htm.

Best free HTML help builder [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm looking for a program that provides me a functionality to build help documentation that can be viewed in a browser.
It should be lookin like a standard help, mean: topics, sub categories etc. Which can include
graphics, can format text etc.
I found a few nice looking, but they cost like houndreds of dollars.
Also found freeware, but that program wasn't what im looking for.
Any suggestions guys (girls)?
EDIT:
This is not a duplicate. I didnt precise, but i dont want to make documentation from source code.
Forget about source code.
My documentation can be about frogs, butterflies or something else. I added tag c# because there is no tag "documentation". (and colorlire c# code would be useful).
I just need progrma like this:
http://www.softany.com/winchm/screenshots.htm
But i need something really good, with alot of features.
:S (I promise my english will be better asfet post 1000 questions^^)
Assuming that you mean building help files from XMLDoc comments in code files, SandCastle will do this
Sandcastle is great, but is complex and hard to work with.
Sandcastle HelpFile Builder makes it a lot easier. You can style the generated HTML files or use one of the existing templates.
I have successfully used NDOC 3 in the past.
Don't forget MAML for portability and standardization (plus it works well with Sandcastle).
What is the recommended help file format to use in a modern Windows app?

Smooth transition from php to asp.net c# [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I was wondering if anyone has any tips on transitioning from PHP to asp.net c#? I've been developing in PHP for 7 years and I'm interested in learning asp.net. However, I've been disappointed with the books that I've read so far. Seems like every asp.net book has so many examples of clicking here and dragging here and right click on this, etc... that I seem to get lost. Learning the C# language isn't bad...I think I'm getting lost in either the IDE or the .NET framework. Any tips would be greatly appreciated.
Thanks!
I suggest you look at asp.net/mvc, not webforms - it will be a more natural migration.
The good resource is the official site: http://asp.net/mvc - it has tutorials, videos and more.
The .NET base class library (BCL) is very large. It is what you will interact with most of the time (outside of your own code). The only advice I can give - look things up on MSDN. It has very good documentation and it is worth taking your time reading through it.
For Visual Studio - the VS tips and tricks blog is a really good resource to learn about it.
Coming from PHP there's probably less you need to un-learn (I was a classic ASP programmer for a long time and made the jump to .NET about seven years ago).
Microsoft has a bunch of free tutorials, as does the W3Schools site. I found the Macon State tutorials to be extremely helpful when I was starting out:
http://www.maconstateit.net/tutorials/aspnet20/default.htm
The Microsoft exam prep books are pretty straightforward, too, mostly dealing with code instead of drag-and-drop.
I felt the exact same way about the .NET / Visual Studio environment when I first approached it.
If you're not into all the GUI stuff I would recommend George Shepherd's ASP.NET 4 Step by Step from Microsoft Press.
I learned ASP.NET basics on the 3.5 version of this book and I loved it. He really starts with the nuts and bolts stuff (open a telnet window and interact directly with the HTTP server for example) that I think would appeal to most *NIX veterans. His approach gave me a good feel for what all the complicated controls in ASP.NET are really doing under the hood, which was instrumental in growing my understanding of the platform.
http://www.amazon.com/Microsoft-ASP-NET-Step/dp/0735627010/ref=sr_1_5?s=books&ie=UTF8&qid=1325190956&sr=1-5

Need Help with a new project [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am starting my first software engineering job in a week and wanted to sharpen my skills up. I'm looking for someone to suggest a good week long, web application project that can help me sharpen up my C#, Javascipt, and JQuery.
Thanks!
Brandon
Edit: As noted below this is a pretty broad question. Let me give a little more background. I am a strong programmer, but an entry level one. My experience as an intern for a year gave me glimpses into a number of the .Net and C# technologies, but what I have never done was put them all together into an inclusive project. I'm looking for a project idea that will have me setting up both client and server side code (purely for practice) that will provide me better insight into how each piece of the puzzle fits together.
write a blog engine. its useful, easy, and has bounded, easily understood requirements.
You could start with one of the ASP.NET Starter Kits and build upon it.
Being that you have C# experience, I highly recommend trying Asp.Net MVC as I feel it is the future of MS Web programming (I am not alone in this opinion... though it is just an opinion).
If nothing else, the MVC (model-view-controller) organization is a well established and useful method of coding that is used accross all sorts of platforms like php, ruby on rails, etc. - not as much of an 'island' like Asp.Net WebForms (Asp.Net WebForms are still great).
There are all sorts of great tutorials, the most famous being Nerd Dinner
You might also want to check out the materials available under the jquery tag on Channel9. There is a great video from PDC2008 that talks about ASP.NET and jQuery and another jQuery for the ASP.NET Developer presentation from DevDays 2010.

Categories