Building Shakespeare Bot with Text Analytics Toolbox

版本 1.0.0 (157.0 KB) 作者: Toshiaki Takeuchi
Let's use natural language processing to create a fun bot that generates random text that sounds like a line from Shakespeare.
70.0 次下载
更新时间 2018/12/6

查看许可证

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.

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
与 R2018b 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Just for fun 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0