From 23668a8b8e560ccdbcd4c0178621dd8d494bac08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Marti=CC=81n=20Lo=CC=81pez?= Date: Fri, 17 Sep 2021 10:54:53 -0700 Subject: [PATCH] Close #207 --- src/main/java/es/us/isa/restest/inputs/semantic/NLPUtils.java | 4 ++-- .../inputs/semantic => resources/arte}/englishStopWords.txt | 0 .../isa/restest/inputs/semantic => resources/arte}/rules.txt | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/main/{java/es/us/isa/restest/inputs/semantic => resources/arte}/englishStopWords.txt (100%) rename src/main/{java/es/us/isa/restest/inputs/semantic => resources/arte}/rules.txt (100%) diff --git a/src/main/java/es/us/isa/restest/inputs/semantic/NLPUtils.java b/src/main/java/es/us/isa/restest/inputs/semantic/NLPUtils.java index fe8b2783..c73a4181 100644 --- a/src/main/java/es/us/isa/restest/inputs/semantic/NLPUtils.java +++ b/src/main/java/es/us/isa/restest/inputs/semantic/NLPUtils.java @@ -29,8 +29,8 @@ private NLPUtils() { private static final Logger log = LogManager.getLogger(NLPUtils.class); - private static String stopwordsPath = "src/main/java/es/us/isa/restest/inputs/semantic/englishStopWords.txt"; - private static String rules = "src/main/java/es/us/isa/restest/inputs/semantic/rules.txt"; + private static String stopwordsPath = "src/main/resources/arte/englishStopWords.txt"; + private static String rules = "src/main/resources/arte/rules.txt"; private static String annotatorName = "annotators"; private static String annotatorValue = "tokenize,ssplit,pos,lemma"; diff --git a/src/main/java/es/us/isa/restest/inputs/semantic/englishStopWords.txt b/src/main/resources/arte/englishStopWords.txt similarity index 100% rename from src/main/java/es/us/isa/restest/inputs/semantic/englishStopWords.txt rename to src/main/resources/arte/englishStopWords.txt diff --git a/src/main/java/es/us/isa/restest/inputs/semantic/rules.txt b/src/main/resources/arte/rules.txt similarity index 100% rename from src/main/java/es/us/isa/restest/inputs/semantic/rules.txt rename to src/main/resources/arte/rules.txt