Building Shakespeare Bot with Text Analytics Toolbox
There is a simple but powerful natural language processing approach called n-gram-based language models which you can have a lot of fun with using MATLAB, which I first explored in a blog post Text Mining Shakespeare with MATLAB published in September 2015 on "Loren on the Art of MATLAB", well before Text Analytics Toolbox was introduced. The new toolbox greatly simplifies various text analytics and natural language processing tasks.
To see how easy to do this with the new toolbox, we will create a very basic predictive text game bot that generates random Shakespearean text automatically.
Cita come
Toshiaki Takeuchi (2024). Building Shakespeare Bot with Text Analytics Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/69572-building-shakespeare-bot-with-text-analytics-toolbox), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |