|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ucl.tele.ccg.jXDRS.XDRSParser
public class XDRSParser
Read DRS from XML files
| Field Summary | |
|---|---|
static java.lang.String |
CARD
Description of the Field |
static java.lang.String |
DATE
Description of the Field |
static java.lang.String |
DR
Description of the Field |
static java.lang.String |
DRS
Description of the Field |
static java.lang.String |
IMP
Description of the Field |
static java.lang.String |
INDEX
Description of the Field |
static java.lang.String |
NETAG
Description of the Field |
static java.lang.String |
NETAGS
Description of the Field |
static java.lang.String |
NOT
Description of the Field |
static java.lang.String |
OR
Description of the Field |
static java.lang.String |
POSTAG
Description of the Field |
static java.lang.String |
POSTAGS
Description of the Field |
static java.lang.String |
PRED
Description of the Field |
static java.lang.String |
PROP
Description of the Field |
static java.lang.String |
REL
Description of the Field |
static java.lang.String |
TIME
Description of the Field |
static java.lang.String |
TIMEX
Description of the Field |
static java.lang.String |
WHQ
Description of the Field |
static java.lang.String |
wINDEX
Description of the Field |
static java.lang.String |
WORDS
Description of the Field |
| Constructor Summary | |
|---|---|
XDRSParser()
|
|
| Method Summary | |
|---|---|
static DRS |
dRSElementToDRS(org.dom4j.Element eDrs,
Utterance utt,
java.util.HashMap allDRList)
Parses a DRS element into a DRS structure (See UML) |
static DRSContainer |
xDRSElementToDrsContainer(org.dom4j.Element xdrs)
Parses the xdrs structure into a DRSContainer |
static java.util.ArrayList |
xmlToDrs(org.dom4j.Document xmlDoc)
Parses a complete XML DRS document |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CARD
public static java.lang.String DATE
public static java.lang.String DR
public static java.lang.String DRS
public static java.lang.String IMP
public static java.lang.String INDEX
public static java.lang.String NETAG
public static java.lang.String NETAGS
public static java.lang.String NOT
public static java.lang.String OR
public static java.lang.String POSTAG
public static java.lang.String POSTAGS
public static java.lang.String PRED
public static java.lang.String PROP
public static java.lang.String REL
public static java.lang.String TIME
public static java.lang.String TIMEX
public static java.lang.String WHQ
public static java.lang.String WORDS
public static java.lang.String wINDEX
| Constructor Detail |
|---|
public XDRSParser()
| Method Detail |
|---|
public static DRS dRSElementToDRS(org.dom4j.Element eDrs,
Utterance utt,
java.util.HashMap allDRList)
eDrs - DRS elementutt - The utterance object from this drsallDRList - Description of the Parameter
public static DRSContainer xDRSElementToDrsContainer(org.dom4j.Element xdrs)
xdrs - XML xdrs element
public static java.util.ArrayList xmlToDrs(org.dom4j.Document xmlDoc)
throws org.dom4j.DocumentException
xmlDoc - Description of the Parameter
org.dom4j.DocumentException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||