|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.cis.propbank_shen.PASLoc
public class PASLoc
This class represents the location of a predicate argument structure. It consists of a filename, a sentence number (starting with 0) and a terminal number in the sentence (starting with 0).
PBConfig
Constructor Summary | |
---|---|
PASLoc(String p,
int sno,
int tno)
A constructor -- you supply the pieces, we supply the Object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
return true iff o is the same PASLoc as this object |
File |
getPath()
return the full path of the file to which this location refers. |
int |
hashCode()
Produce a hash code for this instance |
static PASLoc |
ofString(String s)
given a canonical string representing a location of a predicate, return a corresponding PASLoc object. |
String |
toString()
construct a canonical string from the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PASLoc(String p, int sno, int tno)
Method Detail |
---|
public File getPath()
public String toString()
toString
in class Object
public static PASLoc ofString(String s) throws CorruptDataException
s
- the canonical string representation of a PAS location
CorruptDataException
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |