now the named entities recognizer returns dictionary entries if the name is known

This commit is contained in:
kr.angelov
2014-06-17 06:57:12 +00:00
parent 9944916127
commit fe49ddf16d
4 changed files with 31 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ public class Test {
System.out.println(gr.getAbstractName());
for (Map.Entry<String,Concr> entry : gr.getLanguages().entrySet()) {
System.out.println(entry.getKey()+" "+entry.getValue()+" "+entry.getValue().getName());
entry.getValue().addLiteral("PN", new NercLiteralCallback(gr,entry.getValue()));
}
int count = 10;