[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-129534-en":3,"doc-seo-129534-105":31,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":28,"seo_description":14,"update_tm":29,"read_time":30},129534,2336474459895,"Aria","https://ap-avatar.wpscdn.com/avatar/22000baeef7a5ed0655?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786071322749376916",6,"Technology","Text Analytics Toolbox - Reference R2026a","Text Analytics Toolbox provides a reference guide for MATLAB R2026a, focusing on preparing and analyzing textual data. It explains how to use Live Editor Tasks such as “Preprocess Text Data” to clean HTML, tokenize, add token details, normalize words, and change or remove terms. The task generates MATLAB code for the selected preprocessing steps, enabling users to build reusable preprocessing functions. Revision history documents updates across multiple releases.","Text Analytics Toolbox™  \nReference  \nR2026a  \nHow to Contact MathWorks  \nLatest news:  \n[www.mathworks.com](www.mathworks.com)  \n[Sales and services:](Sales and services:)  \n[www.mathworks.com/sales_and_services](www.mathworks.com/sales_and_services)[ ](www.mathworks.com/sales_and_services)[User community:](User community:)  \n[www.mathworks.com/matlabcentral](www.mathworks.com/matlabcentral)  \nTechnical support:  \n[www.mathworks.com/support/contact_us](www.mathworks.com/support/contact_us)  \nPhone:  \n508-647-7000 The MathWorks, Inc.  \n1 Apple Hill Drive  \nNatick, MA 01760-2098  \nText Analytics Toolbox™ Reference © COPYRIGHT 2017–2026 by The MathWorks, Inc.  \nThe software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or reproducedin any form without prior written consent from The MathWorks, Inc.  \nFEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or through the federal government of the United States. By accepting delivery of the Program or Documentation, the government hereby agrees that this software or documentation qualifies as commercial computer software or commercial computer software documentation as such terms are used or defined in FAR 12.212, DFARS Part 227 . 72, and DFARS 252.227-7014.  \nAccordingly, the terms and conditions of this Agreement and only those rights specified in this Agreement, shall pertain to and govern the use, modification, reproduction, release, performance, display, and disclosure of the Program and Documentation by the federal government (or other entity acquiring for or through the federal government) and shall supersede any conflicting contractual terms or conditions. If this License fails to meet the government's needs or is inconsistent in any respect with federal procurement law, the government agrees to return the Program and  \nDocumentation, unused, to The MathWorks, Inc.  \nTrademarks  \nMATLAB and Simulink are registered trademarks of The MathWorks, Inc. See  \n[www.mathworks.com/trademarks](www.mathworks.com/trademarks) for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.  \nPatents  \nMathWorks products are protected by one or more U.S. patents. Please see [www.mathworks.com/patents](www.mathworks.com/patents) for more information.  \nRevision History  \nSeptember 2017 Online Only New for Version 1.0 March 2018  \nOnline Only  \nRevised for Version 1.1 (Release 2018a) September 2018  \nOnline Only  \nRevised for Version 1.2 (Release 2018b) March 2019  \nOnline Only  \nRevised for Version 1.3 (Release 2019a) September 2019  \nOnline Only  \nRevised for Version 1.4 (Release 2019b) March 2020  \nOnline Only  \nRevised for Version 1.5 (Release 2020a) September 2020  \nOnline Only  \nRevised for Version 1.6 (Release 2020b) March 2021  \nOnline Only  \nRevised for Version 1.7 (Release 2021a) September 2021  \nOnline Only  \nRevised for Version 1.8 (Release 2021b) March 2022  \nOnline Only  \nRevised for Version 1.8.1 (Release 2022a) September 2022  \nOnline Only  \nRevised for Version 1.9 (Release 2022b) March 2023  \nOnline Only  \nRevised for Version 1.10 (Release 2023a) September 2023  \nOnline Only  \nRevised for Version 23.2 (R2023b) March 2024  \nOnline Only  \nRevised for Version 24.1 (R2024a) September 2024  \nOnline Only  \nRevised for Version 24.2 (R2024b) March 2025  \nOnline Only  \nRevised for Version 25.1 (R2025a) September 2025  \nOnline only  \nRevised for Version 25.2 (R2025b)  \nMarch 2026 Online only  \nRevised for Version 26.1 (R2026a)  \nContents  \nLive Editor Tasks  \n1  \nFunctions  \n2  \niii  \n1  \nLive Editor Tasks  \n1 Live Editor Tasks  \nPreprocess Text Data  \nPreprocess and clean up text data for analysis Description  \nThe Preprocess Text Data Live Editor task helps prepare text data for analysis.  \nYou can use the task to con","cbCaieoHkB38Ek5D","https://ap.wps.com/l/cbCaieoHkB38Ek5D","pdf",4474861,2,1,1376,"English","en",105,"# Live Editor Tasks\n## Preprocess Text Data\n## Functions","[{\"question\":\"What is the purpose of the “Preprocess Text Data” Live Editor task?\",\"answer\":\"It prepares text data for analysis by cleaning and transforming raw text into a structured form suitable for downstream analytics.\"},{\"question\":\"Which preprocessing steps can “Preprocess Text Data” control?\",\"answer\":\"It supports HTML cleanup, tokenization, adding token details, word normalization, and changing or removing words.\"},{\"question\":\"How does the task help reuse preprocessing in workflows?\",\"answer\":\"It generates code that performs the selected steps, which can be used to create a preprocessing function for your workflows.\"}]","Text Analytics Toolbox - Reference R2026a | PDF",1786106440,3468,{"code":4,"msg":32,"data":33},"ok",{"site_id":25,"language":24,"slug":34,"title":13,"keywords":35,"description":14,"schema_data":36,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":29},"text-analytics-toolbox-reference-r2026a","",{"@graph":37,"@context":86},[38,54,69],{"@type":39,"itemListElement":40},"BreadcrumbList",[41,45,48,51],{"item":42,"name":43,"@type":44,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":46,"name":47,"@type":44,"position":20},"https://docshare.wps.com/document/","Document",{"item":49,"name":12,"@type":44,"position":50},"https://docshare.wps.com/document/technology/",3,{"item":52,"name":13,"@type":44,"position":53},"https://docshare.wps.com/document/text-analytics-toolbox-reference-r2026a/129534/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":42,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-28","2026-08-07",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What is the purpose of the “Preprocess Text Data” Live Editor task?","Question",{"text":76,"@type":77},"It prepares text data for analysis by cleaning and transforming raw text into a structured form suitable for downstream analytics.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"Which preprocessing steps can “Preprocess Text Data” control?",{"text":81,"@type":77},"It supports HTML cleanup, tokenization, adding token details, word normalization, and changing or removing words.",{"name":83,"@type":74,"acceptedAnswer":84},"How does the task help reuse preprocessing in workflows?",{"text":85,"@type":77},"It generates code that performs the selected steps, which can be used to create a preprocessing function for your workflows.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,111,114,119,124,129,132,136],{"id":21,"doc_module":4,"doc_module_name":47,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":47,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":47,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":47,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":47,"category_name":12,"show_sort_weight":112,"slug":113},50,"technology",{"id":115,"doc_module":4,"doc_module_name":47,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":120,"doc_module":4,"doc_module_name":47,"category_name":121,"show_sort_weight":122,"slug":123},8,"Research & Report",30,"research-report",{"id":125,"doc_module":4,"doc_module_name":47,"category_name":126,"show_sort_weight":127,"slug":128},9,"Religion & Spirituality",20,"religion-spirituality",{"id":127,"doc_module":4,"doc_module_name":47,"category_name":130,"show_sort_weight":127,"slug":131},"World Cup","world-cup",{"id":133,"doc_module":4,"doc_module_name":47,"category_name":134,"show_sort_weight":133,"slug":135},10,"Lifestyle","lifestyle",{"id":137,"doc_module":4,"doc_module_name":47,"category_name":138,"show_sort_weight":107,"slug":139},19,"General","general"]