Building Shakespeare Bot with Text Analytics Toolbox

Let's use natural language processing to create a fun bot that generates random text that sounds like a line from Shakespeare.

이 제출물을 팔로우합니다

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 (2026). Building Shakespeare Bot with Text Analytics Toolbox (https://kr.mathworks.com/matlabcentral/fileexchange/69572-building-shakespeare-bot-with-text-analytics-toolbox), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Just for fun에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • R2018b 이상 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0