Javascript port of Python text parser for Gobln Game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Javascript port of Python text parser for Gobln Game

I thought I'd try my hand at converting some work I'd done as part of the Python course, to javascript to see what was possible. It pretty much works the same way in both now - the parser identifies the verb that the game would then run a method wiht, along with the identified nouns/objects. What other approaches to string parsing have people adopted? https://code.sololearn.com/W0HMzPn0R506

26th Feb 2020, 11:06 PM
Neil Walker
Neil Walker - avatar
1 Answer
+ 2
i see you are interested in text parsing, this was usually used by computers for communicating with a human using natural language such as english ex. siri, alexa. people has gone far on research regarding this and this field is called natural language processing (nlp) perhaps you should dig deeper using those keywords and find libraries that support nlp on python or javascript whatever language u try.
28th Feb 2020, 5:24 AM
Shen Bapiro
Shen Bapiro - avatar