txt2English

版本 1.0.0.0 (3.7 KB) 作者: Sean de
Takes text message language and converts to English.
770.0 次下载
更新时间 2010/5/11

查看许可证

This program takes standard text message speak and converts it to English. I wrote this for fun and to touch up on my use of while loops and nested if statements. It is definitely not optimized and does not use regexp or other MATLAB built in functions that would make it shorter and faster.

The idea for this submission came from ImageAnalyst in this thread:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/259382

>>help txt2English
%SCd 01/7/2010
%Enter text messages in the format of:
%
% txt2English('plzzZZz dnt lol', 'lemme kno') %Note comma delimination.
%or
% txt2English 'Wut R u dOIn' nothing 'i wnt 2 go out 2nite' %More robust entry method.
%
% Use single quotes to group whole texts or sentences.
% Punctuation is ok.
% Cannot distinguish between: [to two too], [your you're], [for four] but will make a guess and give warning.
%
% To add words of your own at the end of the dictionary cell array:
% ;'incorrect' 'correct';...
%
%V1.1.7

引用格式

Sean de (2024). txt2English (https://www.mathworks.com/matlabcentral/fileexchange/27574-txt2english), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Text Data Preparation 的更多信息
标签 添加标签
致谢

启发作品: whynot

Community Treasure Hunt

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

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