%% Tokenize Text
% Create tokenized documents from a string array.

str = [
    "an example of a short sentence" 
    "a second short sentence"]
documents = tokenizedDocument(str)

% Copyright 2012 The MathWorks, Inc.