16.1 zynlp demo
The pre-built demonstration analyses sentences and identifies their sentiment.
$ ml demo zynlp
============================================= Zeyu Gao's Sentiment Analysis Pre-Built Model ============================================= Welcome to a demo of Zeyu Gao's pre-built model for Sentiment Analysis. Sentiment analysis is an example application of Natural Language Processing (NLP). Sentences are assessed by the model to capture their sentiment. See https://onepager.togaware.com. The model load may take a few seconds. Press Enter to continue: ================================ Here's to having a glorious day. ================================ Passing the above text on to the pre-built model to determine sentiment identifies the sentiment as being: positive Press Enter to continue: ========================= That was a horrible meal. ========================= Passing the above text on to the pre-built model to determine sentiment identifies the sentiment as being: negative
Further examples are presented in the demonstration.
Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.