forked from GitHub/gf-core
now the named entities recognizer returns dictionary entries if the name is known
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user