.getSentence().getLength() || (!arg.getSentence()
.getToken(i + 1).equals("and") && !arg.getSentence()
.getToken(i + 1).equals("or"))))
|| arg.getSentence().getToken(i).equals("and")
|| arg.getSentence().getToken(i).equals("or")) {
args.add(new ChunkedArgumentExtraction(arg.getSentence(),
new Range(start, length), arg.getRelation()));
start = i + 1;
length = 0;
} else if (!arg.getSentence().getToken(i).equals(",")) {
length++;
}
}
args.add(new ChunkedArgumentExtraction(arg.getSentence(),
new Range(start, length), arg.getRelation()));
} else if (patternextractor.matchesAppositiveStrict(arg)) {
int start = arg.getStart();
int length = 0;
for (int i = arg.getStart(); i < arg.getStart() + arg.getLength(); i++) {
if (arg.getSentence().getToken(i).equals(",")) {
args.add(new ChunkedArgumentExtraction(arg.getSentence(),
new Range(start, length), arg.getRelation()));
start = i + 1;
length = 0;
} else {
length++;
}
}
args.add(new ChunkedArgumentExtraction(arg.getSentence(),
new Range(start, length), arg.getRelation()));
} else {
args.add(arg);
}