API for Dictionary and Translator - api

Again. I've been searching for the best API for my Application. Dictionary and Translator. Can someone Recommend One. Please. i need it. I downloaded "microsoft-translator-jar" and I'm having an error in my line of code.
'com.memetix.mst.translate.Translate.execute(text, Language.ENGLISH, Language.ITALIAN);'
The error is at the (execute). the method execute(String,Language,Language)in the type Translate is not applicable for the arguments (String, Language, Language).
i've tried all the execute methods but No luck. Can someone help me how to solve it or refer a new API. Thanks.

You may be lost json-simple-1.x.jar.
Please go website http://code.google.com/p/json-simple/ to download that package.
I think your problem may be resolved.
Good-luck!

Related

Problem in check exercises in atomic kotlin Course Could not find method compile() for arguments [org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.20]

I am trying to go ahead with the atomic kotlin book and do the exercises using the Edu Tools plugin. I will get this error after writing the exercise and hitting the check button. I could not solve this problem by searching please help.
Screenshot of settings and errors : https://imgur.com/a/2OaVeSn
I've found the solution here:
https://github.com/svtk/AtomicKotlinCourse/issues/64
Basically, what you have to do if to replace your buil.gradle with the buil.gradle from the repository.
That's all!

J8583 project for parsing/creating iso8583 financial messages

I'am currently looking for an api for parsing/creating iso8583. iso8583 is a barbarian iso norm of raw string message.
I have found the j8583 project, http://j8583.sourceforge.net/index.html, but i can't found easy code example to parse a message.
Do you know good examples using this api ? or using another api ?
Thank you for your time
Perhaps my answer is biased because I'm the author, but jPOS can be an alternative. Take a look at http://jpos.org and its documentation (http://jpos.org/doc/proguide-draft.pdf).
Hope it helps.
Perhaps I need to reorganize/improve the docs?
The concept is fairly simple: Create a MessageFactory, configure it (the simplest way is via XML config file) and use that to parse messages with the parseMessage method, which receives a byte array.
The library includes a simple message parser which you can look at to get an idea. The test suite can also be helpful.
Here is the source code for the project that you can clone
https://bitbucket.org/chochos/j8583/src/master/
here is the XML Configuration Guide
http://j8583.sourceforge.net/xmlconf.html
All from the same person and framework

Error building BigQueryJavaGettingStarted java sample

trying to compile BigQueryJavaGettingStarted.java
from this location:
https://code.google.com/p/google-bigquery-tools/source/browse/samples/java/gettingstarted/BigQueryJavaGettingStarted/src/main/java/BigQueryJavaGettingStarted.java
Cant't seem fix the error:
Line:125, return Bigquery.builder(..... - method is undefined.
Using v2-rev88-1.15.0
Is the code old, or the Jars out of date? Any help appreciated.
Thanks
Closing question since I got this working. My main interest was in debugging Google's RESTFul API. I didn't realize that you could do this with Python BQ tool. There is a swi

Local XML file is not parsing?

In My iphone application i have two XML files. I can parse one.xml eailsy but i am not able to parse two.xml
I have use the same tags for both files. In parsing two.xml the method didStatrElement is not calling.
Why is thereany problem in file. If how to resolve it. Plz anyone can help me regarding this issue.
Thanks in Advance
Well,your's issue maybe caused by several reasons, I will list what I know:
1.NSXMLParserDelegate .You should set one.xml's delegate nil when you ready to parse two.xml.
2.Use different array store data.
3.I think NSOperationQueue can be used.
If I was wrong, welcome your correction.
Best regards.

Getting Cocoa method completions in Sublime Text 2

I've been playing with Sublime Text 2 the last few days and was wondering if anyone out there has had any success getting Cocoa method completions working yet? Is there a plugin (or in-progress project to create one) out there?
Any general comments on using Objective-C in Chocolat or Sublime Text 2 would also be welcome.
There is an in-progress Sublime Text package that connects to clang to get autocomplete data called SublimeClang I've not managed to successfully get it to work totally with Cocoa/UIKit Dev, but here's a screenshot
and my options, that are a start
In MacVim I use a plugin called Cocoa.vim which haves useful python scripts that generates a classes and methods files for autocompletion. I didn't try so much with ST2, but may be is posible to create a sublime-package or sublime-completions file with all this data.
For the moment, I only create a sublime-completions file with some snippets. If I find a way to make this work, I will tell you.
I let my SublimeClang configuration options if helps anybody. I've already some of the autocompletions working:
"options":[
"-Wall",
"-isystem", "/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/include/",
"-isystem", "/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/include/c++/4.2.1/",
"-I/usr/lib/clang/3.1/include/**",
"-I", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/",
"-arch","armv7",
"-isysroot", "/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk",
"-D__IPHONE_OS_VERSION_MIN_REQUIRED=50000",
"-ferror-limit=0"
]
Answering my own question here. A quick visit to the Sublime forums didn't turn up any leads nor did Google. It looks as though method completions for Objective-C aren't currently part of the default install nor available via 3rd-party quite yet.
This user http://b.rthr.me/wp/?p=368 claims to have gotten SublimeClang working. I may report back myself once I try it...