Blog Post
Alison-L
Community Member
Hi there. I got stuck. I tried you link in FIREFOX 63.0.1 , and the text box would NOT allow me to type anything. (Though I liked the "Are U There?" that came up when I clicked the "send" button)
NancyWoinoski
6 years agoSuper Hero
Hi Alison, I never tested it on Firefox so I guess there are some issues. Do you have another browser you can try?
- Alison-L6 years agoCommunity MemberWell most certainly (good ole Google (chrome))
Also, I don't know if this matters, but the first text field of "Enter your Name" DID work just fine, and the next text bubble had the name in it.
And OK, how in the world did you (1) determine which words were 1 of the 3 (pos, neg, neutral)?? Is there a "word library" you can connect to? I canNOT imagine you looking up words and the doing a conditional of "IF , THEN show response"
Or is that all "secret sauce" stuff?
Alison- AlexanderSalas6 years agoCommunity MemberOne way to do it is applying machine learning with Natural Language Processing (NLP), but knowing how clever Nancy is she did it way easier ; )
- NancyWoinoski6 years agoSuper HeroNLP may have been simpler. I used JavaScript to capture what the user typed. I have some code that forces what they typed to uppercase and to ignore any sentence punctuation. I then compare the typed response to two javaScript arrays - one containing a list of nice words and one containing a list of not so nice words.
- NancyWoinoski6 years agoSuper HeroHi Alison, I am glad the name worked properly when you used chrome. I will attempt to write up how I did this at some point (the secret sauce). I am actually in the process of developing a Storyline course and am thinking of including this project for advanced users.