cd books
files = dir('*_true.txt');

temp = struct2cell(files); temp = temp(1,:);
fprintf('Books: ')
disp(temp)

books_nonTTP = [];

for i = 1:length(files),
  books_nonTTP(:,i) = load( files(i).name );
end

files = dir('*_TTP.txt');

temp = struct2cell(files); temp = temp(1,:);
fprintf('Books: ')
disp(temp)

books_TTP = [];

for i = 1:length(files),
  books_TTP(:,i) = load( files(i).name );
end

cd ../news
files = dir('*_true.txt');

temp = struct2cell(files); temp = temp(1,:);
fprintf('News: ')
disp(temp)

news_nonTTP = [];

for i = 1:length(files),
  news_nonTTP(:,i) = load( files(i).name );
end

files = dir('*_TTP.txt');

temp = struct2cell(files); temp = temp(1,:);
fprintf('News: ')
disp(temp)

news_TTP = [];

for i = 1:length(files),
  news_TTP(:,i) = load( files(i).name );
end

cd ..

clear files i temp
