public class MyXMLSentenceMelder
extends edu.northwestern.at.morphadorner.corpuslinguistics.sentencemelder.SentenceMelder
| Modifier and Type | Field and Description |
|---|---|
protected org.w3c.dom.Document |
document
Document to which to add sentence elements.
|
protected org.w3c.dom.Element |
parent
Parent element to which to add child elements.
|
| Constructor and Description |
|---|
MyXMLSentenceMelder(org.w3c.dom.Document document,
org.w3c.dom.Element parent)
Create XML sentence melder.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
endSentence()
Finish sentence.
|
void |
outputBlank()
Add blank to sentence.
|
protected void |
outputWord(java.lang.String word)
Add word to sentence.
|
protected org.w3c.dom.Document document
protected org.w3c.dom.Element parent
public MyXMLSentenceMelder(org.w3c.dom.Document document,
org.w3c.dom.Element parent)
document - Document to which to add elements.parent - Parent element to which to add children.public void outputBlank()
outputBlank in class edu.northwestern.at.morphadorner.corpuslinguistics.sentencemelder.SentenceMelderprotected void outputWord(java.lang.String word)
outputWord in class edu.northwestern.at.morphadorner.corpuslinguistics.sentencemelder.SentenceMelderword - The word to add.public java.lang.String endSentence()
endSentence in class edu.northwestern.at.morphadorner.corpuslinguistics.sentencemelder.SentenceMelder