public final class RelationModelFactory
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
RelationModelFactory.IRelationProcessor<T>
Relation model processor
|
private static class |
RelationModelFactory.Walker<T>
Relation model walker
|
| Modifier | Constructor and Description |
|---|---|
private |
RelationModelFactory() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String[] |
getTargetPatterns(edu.stanford.nlp.trees.GrammaticalRelation grammaticalRelation)
Get target patterns
|
static void |
main(java.lang.String[] args)
Dump
|
static RelationModel |
makeRelationModel(StanfordRelationModel model)
Make relation model artifact from Stanford relation model
|
public static RelationModel makeRelationModel(StanfordRelationModel model)
model - Stanford relation modelprivate static java.lang.String[] getTargetPatterns(edu.stanford.nlp.trees.GrammaticalRelation grammaticalRelation)
grammaticalRelation - grammatical relationpublic static void main(java.lang.String[] args)
args - arguments