String[] tokens;
for (String exception : exs) {
tokens = exception.split(" ");
currentEx = new ArrayList<Word>();
for (String token : tokens) {
currentEx.add(new Word(token));
}
negationExceptions.add(currentEx);
}
ArrayList<String> inverters = FilesReader.getAllLines(PropertiesGetter.getProperty("InvertersFile"));
parsedInverters = new ArrayList<ArrayList<Word>>();
ArrayList<Word> currentInverter;
String[] lineTokens;
for (String inverter : inverters) {
currentInverter = new ArrayList<Word>();
lineTokens = inverter.split(" ");
for (String token : lineTokens) {
currentInverter.add(new Word(token));
}
parsedInverters.add(currentInverter);
}
}