the NERC in C is now fully up-to-date with the other NERCs. In addition the NERC in Haskell and Java now refuses to recognize names that match words in the lexicon. The latest is useful for German

This commit is contained in:
krasimir
2015-05-19 07:26:56 +00:00
parent 36741cbbf2
commit 4347ce727a
3 changed files with 114 additions and 39 deletions

View File

@@ -58,7 +58,7 @@ public class NercLiteralCallback implements LiteralCallback {
} else if ("Month".equals(cat)) {
expr = new Expr(an.getLemma(), new Expr[0]);
expr = new Expr("monthPN", expr);
} else if ("Language".equals(cat)) {
} else {
return null;
}
}