Preprocess email
This commit is contained in:
parent
203cbc997c
commit
f0d4b4d208
1 changed files with 16 additions and 18 deletions
|
@ -97,14 +97,12 @@ while ~isempty(email_contents)
|
|||
% str2). It will return 1 only if the two strings are equivalent.
|
||||
%
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
for idx = 1:length(vocabList)
|
||||
if strcmp(str, vocabList{idx})
|
||||
word_indices = [word_indices ; idx];
|
||||
break;
|
||||
end
|
||||
end
|
||||
|
||||
% =============================================================
|
||||
|
||||
|
|
Reference in a new issue