Is the function "preprocessText" from the Text Analytics Toolbox tutorials a built-in MATLAB function?

조회 수: 6 (최근 30일)
The function "preprocessText" is mentioned in two examples in the Text Analytics Toolbox:
  1. To view the example on creating a simple text model for classification, run the following command in the MATLAB R2020a command window to access the release-specific documentation:
    >> web(fullfile(docroot, 'textanalytics/ug/create-simple-text-model-for-classification.html'))
  2. For the example on preparing text data for analysis, execute the following command to open the relevant documentation:
    >> web(fullfile(docroot, 'textanalytics/ug/prepare-text-data-for-analysis.html'))
The examples mention: "Create a function which tokenizes and preprocesses the text data so it can be used for analysis. The function preprocessText performs the following steps..."
Is "preprocessText" an internal MATLAB function or does it have to be implemented by the user?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 2월 14일
편집: MathWorks Support Team 2025년 2월 14일
The function "preprocessText" is a supporting function implemented towards the end of the page in the two examples. For more information on the structure of this function, you can access the documentation by running the following commands in the MATLAB R2020a command window:
  1. To view the example on creating a simple text model for classification, use:
    >> web(fullfile(docroot, 'textanalytics/ug/create-simple-text-model-for-classification.html#CreateSimpleTextModelForClassificationExample-6'))
  2. To access the example on preparing text data for analysis, execute:
    >> web(fullfile(docroot, 'textanalytics/ug/prepare-text-data-for-analysis.html#PrepareTextDataForAnalysisExample-6'))
Please note that supporting functions are not built-in MATLAB functions; they are specifically implemented inside the examples that utilize them.
Please follow the below link to search for the required information regarding the current release:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by