How to use fasttext in rasa nlu with docker - chatbot

I have developed a chatbot using this with docker. it's working fine, and now I want to implement it in Hindi. I found that we can do that with fasttext followed this blog but unable to achieve. so how I can implement fasttext in rasanlu with docker?

You can implement your bot in Hindi with Rasa even without using Fasttext. The supervised_embeddings pipeline works out of the box for any whitespace tokenized language (which as far as I know is the case for Hindi). Read more about language support here
Alternatively, if you still want to use fasttext, that can be done since spacy allows you to load custom language models. If the blogpost isn't working for you, you can take a look at this github issue.
There's also a bunch of Rasa community members that have built bots in hindi, you can take a look at this in the community forum and see if they have any additional tips.

Related

Using MATLAB with UnetStack3

Where I can find the UnetStack API documentation in other programming languages except groovy? I am trying to use MATLAB with UnetStack3. I went through the blog available for the same and was able to perform the action whatever was given in that blog. I want to explore more by Sending data, receiving data, and some more activities. Where I can find the syntax for performing such activities?
MATLAB permits you to run Java code directly in MATLAB scripts. Unet contrib has documentation and some examples on how to use the Java API from MATLAB directly.
See:
https://github.com/org-arl/unet-contrib/tree/master/unetsocket/matlab

Speech to text with a new language model

I am planning to build speech to text program for my community.
It would be a new language which doesn't exist in google yet.
Probably, it's like
this IBM's tool.
( For instance, if I speak my language, speech to text program will text my language words. )
I know Javascript and PHP.
And I am still learning python.
1 - Can I build it with just a web knowledge such as Javascript and PHP?
2 - If you think it would be very difficult for me to develop that kind of tool. Which service or program should I use? or buy it?
if you want to build a tool that looks like the IBM demo (https://speech-to-text-demo.ng.bluemix.net) you are free to fork it on github and customize to point you to your own speech recognition system. The IBM demo page uses IBM Watson in the backend to process the speech and produce the hypotheses. If you want to build a recognition system for a new language maybe that should be your first step. Once you have that up and running you can fork the IBM demo project and make it point to your recognition engine. It is definitely a substantial amount of work that will require expertise in both speech recognition and web development.
Can I ask you a question? What language are you trying to target?

How to handle images in meteor?

I'm looking for advice how to handle images in meteor. After some research, I noticed that developers usually prefer to use third party API to deal with images such as cloudinary or Amazon S3 but why? What are the pros and cons of using third party API? Isn't it better to save images locally using techniques that were described here: Meteor: uploading file from client to Mongo collection vs file system vs GridFS ?
It mostly boils down to whether or not to store images in Mongo. Generally, it's not a good idea, though sometimes I do it for quick prototyping, because it's so easy.
Here are the arguments against it:
https://forums.meteor.com/t/any-reason-not-to-store-images-in-mongo/11021
Why Cloudinary?
Cloudinary provides an end-to-end solution and wraps up all of your image needs in one simple and practical solution. From uploading, to string and managing your media assets and to manipulating and delivering your images via world-wide CDN.
While Meteor is not yet officially integrated to Cloudinary, a great library has been contributed by a community member and well serves a lot of Cloudinary's users around the world.
Cloudinary introduces a RESTful API to support every developing environment and to allow integrating to every programming language. All of our SDKs are open-source and therefore can be inspected and imitated as required.
For more information: http://cloudinary.com/documentation/
If you have any further questions, please don't hesitate to ask :)

Getting started with neo4j

I am completely new to neo4j and I am very sorry for asking such a basic question. I have installed neo4j, I am using the shell "localhost:7474/webadmin/#/console/"
I am looking for a good example that uses some shell commands to read from a pre-existing graph database, traverse, modify,... it and then perform some queries in order to learn it. I don't want to use any Java or Python, all I want is some command line examples that will allow me to learn neo4j.
I searched a lot but could not find a good sample code except one matrix example.
I appreciate any help.
One of the virtues of Neo4J is the excellent documentation and learning material it provides (especially compared to other Graph enabled DBs).
As mentioned, starting with The Cypher Tutorial is a good starting point.
Then, as you learn the basics, check out The Neo4J Manual which has detailed documentation on each and every Cypher language command (as well as many other interesting stuff).
Finally, when you start doing your own queries, keep close a copy of the Cypher Cheat Sheet which summarizes all the commands.
You can even take a look at Cypher without installing or running Neo4J server, just going to the Neo4J Console and test your queries online (and even create links to them).
Caveat: when you start reading you may encounter with Gremlin, which is a common graph query language supported by Neo4J. Is quite awkward and very different from Cypher, so if you are going with Neo4J, you should stick to Cypher, it has more features and most of the development is made against it.
Cypher is your friend (there are several samples on this page):
http://www.neo4j.org/learn/cypher
Check out the Cypher-specific webinars:
http://watch.neo4j.org/
And finally, the Cypher cheatsheet:
http://neo4j.org/resources/cypher

CHATBOT: Programming a chatbot with Perl

I'm studing Perl language. I think programming a chatbot would be a funny way of studing that language and learn it.
The description of the chatbot I am interested in can be found here.
Does anyone know any manual or website especially focused on programming chatbot in Perl language?
Thank you!
See http://poe.perl.org/?POE_Cookbook - simple bot is described here: http://poe.perl.org/?POE_Cookbook/IRC_Bots
Documentation for Bot::BasicBot, which is a wrapper around POE::Component::IRC. http://www.drdobbs.com/web-development/184416221
Source of famous bot GumbyBrain, which of course uses POE::Component::IRC and Megahal library. Megahal library uses Markov chains to reply to messages.
Don't use Net::IRC - it is not supported anymore.
You can use Chatbot::Eliza and RiveScript for inspiration.
Openclassifier on github is an opensource and has AI implementations, but its in Java though.
Still you can refer it to understand the implementations for chatbot. The reason I am referring this is, that it is a very simplified implementation, without any complex algorithms or datastructures.
You simply copypaste your data and the chatbot is operational with that knowledge. You can refer to my blog over this on below link:
http://miracleclassifier.blogspot.com/2018/02/artificial-intelligent-chatbot-you-can.html
Hope this helps.