Sentences in a book is not translated in Google play books - file

After uploading a pdf file written in another language to the Google play books, I tried to understand the meaning of a certain sentence by translating the sentence to my own language by tapping on the sentence Which I want to translate it. I failed to do it.it does not translate nothing, while I can easily do this in a book which is already in the Home page of Google play books app Also I downloaded the offline dictionary.till it does not work.so my question is now,why after uploading another pdf book to the Google play books app ,we can not translate certain sentence in the book ? What are the reasons ? How to solve it?
I tried to fix it but failed numerous.

Related

How to integrate module?

I want to integrate the function I created I am trying to create a website that judges cheating.
Currently, it has implemented several functions, such as searching for cheating items or recognizing identity.
The only thing left now is to build a website, receive a video from the website in real time, apply the function I created to the video, and notify the user's website in case of cheating through the result.
I have to apply various functions to the video or photo received from the web page.
Also, these functions are composed of various development languages(c, python) and some were developed under Windows and others under Linux.
I would like to recommend how to integrate each function or search terms related to it and some tips!!
It's my first time integrating, so I don't know anything.
And I'm not good at English, so please explain it easily...

I18n Internalization in react for english and hindi

I am building a single page application using React. I want my website to be available in both the hindi and english language. So, for that I think I have to use react-intl. Okay but how can I make this work? I read a few tutorial but I did not find any good solution for Hindi. Please help me in my research on how to use i18n for English to Hindi.
It seems that Hindi language uses Devanagari script which is written from left to right (LTR), so translating your site to Hindi isn't different from translating it to any other language (e.g. Frech, Spanish, Czech).
All you need to do is add react-intl components to your code, create a message catalog with messages, translate it into Hindi and load it into your app.
If you have a more specific problem, please update your question or post another one.
Also, I'm an author of lingui i18n library which you might consider if you're at the beginning of your project. It's successor to react-intl and very similar in usage. There's a tutorial, but I could help you with any problems you might have with a Hindi.

Ai Assistant programming guidance needed

Can any one tell me or guide me in programming an ai Assistant something like Jarvis or Google Assistant etc which has both online and offline voice recognition capability.
I am new to Ai so I tried many tuorials and all still not able to understand or build one. Also don't know where to start and how to start please any help I really need help.
To be frank, natural language processing is one of the most complex and technically difficult fields in computer science. so if you want to make your own version of google assistant, it would help to have an advanced degree in AI, a million dollars in research funding and your own team of engineers.
That being said, a chatbot makes for a really fun hobby project. For now, try not to worry about online and offline voice recognition capability. Make a text-based chatbot that handles basic conversation. You can always add more capability later, and you'll probably have your bearings by then and know what to do.
A good place may be microsoft's new bot framework. I've never used it, myself, but its goal is to take some of the technologies behind the likes of Google Assistant and Jarvis, and to make them available for the everyday developer. It seems to fit your use-case, and as a microsoft product, it'll (probably) have some documentation or tutorials for you to get started.
There are a couple of options to get started.
First off, try to build a
bot using C# for native windows
applications. Microsoft has great documentation for the same, and there are a couple of great tutorials on YouTube for the same.
You can also try
api.ai
to build a bot. It's a bit less hands on, but a good way to get started.
To really try doing everything yourself, try learning a bot of machine learning first. Google has great YouTube tutorials for the same.
Try:
C# bot on windows
Google machine learning
The best choice to start is api.ai. It is simple to learn and integrate, and have a good response time. I tried most of the chatbot engines, apply to the natural language by phone to build voice assistants (Voximal). An important factor in this case is the response time. If you plan to integrate a lot of complex datas the reponse time will increase, and remember that you need to add the time duration of the SpeechToText and TextToSpeech too...
Use my project as an inspiration, is a personal A.I. assistant that is running on Windows 10/11(maybe even 8, not tested). It uses Tokenization and content analysis and association with set parameters for natural language processing and offline and online speech recognition for speech recognition. It can search content on Amazon, Google, Google Images, Google News, Netflix, Wikipedia and eBay. It can open and close multiple applications and it can also navigate in the settings menu on windows on any page or sub-section.
The project is here: https://github.com/CSharpTeoMan911/Eva

Print to Wifi Printer from CN1 app

Is it possible to print from my CN1 app to a WiFi printer?
I don't want to print files. I want to print tables filled with data from my users.
I noticed this question from 3 years ago. https://groups.google.com/forum/#!topic/codenameone-discussions/RIizxJNZBHU. Hopefully there is something now. Thanks
There is nothing new about this as it's a pretty niche requirement. When it was asked printing support was remarkably rare and now its just rare.
You can use a webservice like Google Cloud Print or use native interfaces to integrate with the printing API's e.g. see the developer guide sections about building cn1libs and working with native code: https://www.codenameone.com/manual/advanced-topics.html

how to add multiple languages to an English website

I am trying to add two additional languages to my website - Chinese, Japanese. User inputs could be in native language, in English or be mixed. E.g. search by product name. Likewise output can be all-English or be in mixed languages, depending on a user's preferences. I already have applicable translations so that is not a problem. It is a data intensive site. It uses web APIs to fetch JSON data objects, and uses angular and backbone, and jquery.
I will appreciate if you possibly refer me to some good books or pages that provide guidance for building multilingual sites. Are there any particular web standards that must be followed by websites and by browsers?
Googling yields a ton of links, but the discussion appears centered around specific packages such as wordpress, joomla, .net, drupal, etc. and appears more around automated translations. It still left me confused about the basics requirements of multilingual sites as I do not use any of these packages.
Thanks a lot.
ps: if you need to leave me a -1, np. But I would very much appreciate a comment as to why - so that it doesn't appear as if you just vented and offered me no opportunity for improvement.
Wells... when i need to build a bilingual website i just use a language selector menu and build the whole website in 2 languages (i think this way its more professional) cause usually translators doesnt 100% translate correctly and at the end you just get a bunch of stuff making no sense.
Maybe you could use Google Website Translator gadget for what you trying to do?? its paid service tho, you could use also the plugin for Wordpress http://wordpress.org/plugins/google-language-translator/
Or use the Google Ajax Language API https://code.google.com/p/jquery-translate/

Resources