public class LearnRelations extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
mergeMultipleRelations
if true, multiple relation mentions (with different types) between a single pair
of entities are merged (coref'ed) into a single relation, with the type
of the first mention.
|
static boolean |
relationTrace |
| Modifier and Type | Method and Description |
|---|---|
static void |
findRelations(String currentDoc,
Document d,
AceDocument aceDoc)
relation 'decoder': using previously learned patterns, identifies
the relations in document 'd' (from file name 'currentDoc') and adds them
as AceRelations to AceDocument 'aceDoc'.
|
public static boolean relationTrace
public static boolean mergeMultipleRelations
public static void findRelations(String currentDoc, Document d, AceDocument aceDoc)
Copyright © 2016 New York University. All rights reserved.