public class SyntacticRelation extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
sourcePos
the part of speech of the source word
|
int |
sourcePosn
the position (offset within the document text of the first character)
of the source word.
|
String |
sourceWord
the word (head) at the source of the relation.
|
String |
sourceWordSense |
String |
targetPos
the part of speech of the target word
|
int |
targetPosn
the position (offset within the document text of the first character)
of the target word.
|
String |
targetWord
the word (head) at the target of the relation.
|
boolean |
transparent
true for relations (links) which are considered transparent by GLARF.
|
String |
type
the type of the relation.
|
| Constructor and Description |
|---|
SyntacticRelation(int sourcePosn,
String sourceWord,
String type,
int targetPosn,
String targetWord)
constructs a SyntacticRelation with the specified source, type, and
target.
|
SyntacticRelation(int sourcePosn,
String sourceWord,
String sourcePos,
String type,
int targetPosn,
String targetWord,
String targetPos)
constructs a SyntacticRelation with the specified source, type, and
target.
|
SyntacticRelation(String s)
constructs a SyntacticRelation from a String of the form
type | sourceWord | sourcePosn | targetWord | targetPosn |
public String sourceWord
public String sourcePos
public int sourcePosn
public String type
public String targetWord
public String targetPos
public int targetPosn
public boolean transparent
public String sourceWordSense
public SyntacticRelation(int sourcePosn,
String sourceWord,
String sourcePos,
String type,
int targetPosn,
String targetWord,
String targetPos)
public SyntacticRelation(int sourcePosn,
String sourceWord,
String type,
int targetPosn,
String targetWord)
public SyntacticRelation(String s)
Copyright © 2016 New York University. All rights reserved.