|
@@ -30,7 +30,7 @@ public class RelationExtractionUtil {
|
|
LexemePath<Lexeme> pacsLexemes = ParticipleUtil.participlePacs(pacsSplit);
|
|
LexemePath<Lexeme> pacsLexemes = ParticipleUtil.participlePacs(pacsSplit);
|
|
for (int i = 0; i < pacsLexemes.size(); i++) {
|
|
for (int i = 0; i < pacsLexemes.size(); i++) {
|
|
//跳过非医学词
|
|
//跳过非医学词
|
|
- if (Constants.word_property_other.contains(pacsLexemes.get(i).getProperty())) {
|
|
|
|
|
|
+ if (Constants.word_property_other.equals(pacsLexemes.get(i).getProperty())) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
lemma = new Lemma();
|
|
lemma = new Lemma();
|