From 50d529a13d6382acf1d3c5cdb158919c1f0d7848 Mon Sep 17 00:00:00 2001 From: Nicolas FRANCOIS Date: Sun, 30 Aug 2015 13:49:20 +0200 Subject: [PATCH] Add & to StringTokenizer delimiters --- MP1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MP1.java b/MP1.java index 89dadee..f01b991 100644 --- a/MP1.java +++ b/MP1.java @@ -8,7 +8,7 @@ public class MP1 { Random generator; String userName; String inputFileName; - String delimiters = " \t,;.?!-:@[](){}_*/"; + String delimiters = " \t,;.?!-:@[](){}_*/&"; String[] stopWordsArray = {"i", "me", "my", "myself", "we", "our", "ours", "ourselves", "you", "your", "yours", "yourself", "yourselves", "he", "him", "his", "himself", "she", "her", "hers", "herself", "it", "its", "itself", "they", "them", "their", "theirs", "themselves", "what", "which", "who", "whom", "this", "that",