How to change language in iSpeech SDK for iOS? - ios

I am trying to use iSpeech SDK for iOS.
I am using Free version.
I'm fine with English Text To Speech with following codes.
[ispeech ISpeechSpeak:#"HELLO World"];
But I also want to use multiple language like japanese, korean, etc...
How can I change language in iSpeech?

Check out the following examples which might help you;
DotNet Sample and
Web Examples
From that you should be able to make sense of what you trying to do, as the API is the same across Platform.
You might try:
[ispeech setVoice:#"jpjapanesemale"];
Voices are listed in the ISSpeechSynthesisVoices.h header file

Related

BX-6Q1 ledboard text SDK

I have a LED board Models "BX-6Q1", I can change the text via software, but I need Code to control the text by some SDK file
https://en.onbonbx.com/upload/download/Specifications%20of%20BX-6Q1.pdf
I have gone through the above document. On this, they have given ". We offer you C#, java, SDK, VB, C++; We
also offer you the completed SDK port and technological service." , But I can't find it anywhere
Where do i get the SDK File
Finally, I found the SDK in below URL
http://5js361.com/download/SDK/YQ6QSDK/index.html

can I change an app's language based on an iOS Device's default language?

I have Created one simple in-house app for ipads. I would like to have 2 language for that app. Based on ipad default language App language should be same as ipad default language.
I tried to goggling it but didn't find proper answer.
Is it possible?
How can I do that?
Any Links, examples any documents?
You can use TSLanguageManager SDK in order to do that. In basic, you define different string for each languages. Then the SDK checks your language and converts your defined strings/view elements into that language string. Also, you can switch between language by using this SDK in your app.
This is a good starting point for internationalization and localization resources for iOS apps.

French speech recognition on iOS

I'm trying to develop an iOS app using speech-recognition for french language, but have been unsuccessful until now.
I tried using the openEars framework, which worked great for english language, but doesn't support french.
I used some info from this link.
If anyone know a solution it would be awesome.
Thanks
Openers is using English Acoustic and Language Models by default. So it works well with english, but doesn't support french.
You can download French Acoustic and Language Models from CMU Sphinx website
Some good French Acoustic and Language Models are available here
Download & Change your Openears Acoustic and Language Models with this one.
To do this, just replace Openears hub4wsj_sc_8k folder with the downloaded one and replace the .dic and .languagemodel files with the downloaded ones.
If you think , the downloaded French Acoustic and Language Models are too big, then create our own with few words using this documents
I ended up using this library iPhone-Speech-To-Text for my project.
It use the google voice api, sending a FLAC file of the speech and retrieving the appropriate text.
To make it work for french language, in SpeechToTextModule.m I juste changed the URL
NSURL *url = [NSURL URLWithString:#"https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=en-US"];
to
NSURL *url = [NSURL URLWithString:#"https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=fr"];
The alternative I found is Dragon Speech SDK for Mobile. You simply need to Register With Dragon Mobile and download SDK and Samples.
It Supports English, French, German Speech Recognition. Also it is working very accurately than openEars. I have tested this for English and its working very well.
Here is screen for that sample which supports Recognition in mentioned language
Note
The SDK is free to download and use for 90 days, but...

Installing Flashdevelop dark color scheme for using with Haxe?

I downloaded bunch of nice looking FD schemes for AS3. It seems like there are no nice ready made Haxe schemes for FD. As I understand one can use the As3 scheme in FD for Haxe but I am so far unable to achieve it and searching did not bring any usable result.
As far as I can tell I am able to install the As3 colors fine then I rename to Haxe.xml but that does not work for me :(
I would appreciate if a SO user help me out with this. I am using FD 4.2.4
thanks
The FlashDevelop theme I created (and have been tweaking over the years) include dark colors for Haxe:
http://tronster.com/code/fd/FlashDevelop-TronsterColors_v4.zip
When you go to FlashDevelop > Tools > Syntax coloring you can edit the colors. These are categorized per coding language.
There are differences between Haxe and AS3, that makes it not possible to copy/paste/rename. However, when you take a look at the names, there are similarities. Just copy/paste those you find in the AS3 version to the haxe theme and it kinda looks the same.
Share the Haxe version of the theme with the original creator to make the web a bit more complete.

Using Syntax Highlighting

I'm trying to write an IDE for the iOS and I stumbled on a problem. I of course wanted to be able to do syntax highlighting, but I have no idea how I have to get this to work.
I have been googling over a month now, but I haven't found anything useful. Most libraries are C++. That I find no problem, I know enough of C++, but they all use the Boost libraries and I heavily doubt if it's easy to install them on a jailbroken iOS device, or even compile them for the iOS on the Mac.
So I come here for help. What should I do? Should I use a PHP syntax highlighter, which always colors the whole document? Should I write a syntax highlighter my self, that doesn't use the Boost library? Or does somebody here know another library, which can be used on the iOS?
Thank you in advance,
ief2
i have a simillar problem about syntax highlighting, but i prefer to solved it using UIWebview than using core text, because that is a different pixel in rendering text in core text and UITextview (in my problem i was using a core text view that cover by uitextview), and then i try to solved using uiwebview, even i'm still on developing but i can say that it is better using uiwebview than core text, maybe you can take a look at this link http://alexgorbatchev.com/SyntaxHighlighter/ it is an open source code, but it develop using javascript.
Most Boost libraries are header-only. There are only a few Boost libraries, like those for threading and asynchronous I/O, that use a compiled library. If you've found some solutions that would work fine aside from your worries about using Boost, then I would look at them again, as they'll likely work. Even if you must use a Boost library that is not header-only, you can always build it as a static library and link that into your application, so that in the end the only thing that needs to be installed is just your app bundle.
I know this is old, but in case anybody is looking for a complete syntax highlighter for iOS, there's two options:
Highlightr: A Swift library for syntax highlighting, supports hundreds of languages but uses JS as backend. It's fast enough for live editing, though. (Disclaimer: I am the creator of this library).
SyntaxKit: A native solution on early stages of development. Should support any TextMate syntax in the future.

Resources