diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/analysis/BrandChecker.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/analysis/BrandChecker.java b/src/analysis/BrandChecker.java index 0f7fcad..c22d47d 100644 --- a/src/analysis/BrandChecker.java +++ b/src/analysis/BrandChecker.java @@ -129,8 +129,7 @@ public class BrandChecker { * Removes punctuation and urls. */ private String removePunct(String text) { - //text = text.replaceAll("https?://\\S*", ""); - text = text.replaceAll("[.,!?();\"'-]", " "); + text = text.replaceAll("[.,!?();\"'@#-]", " "); return text; } |