|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.ArrayList | +--edu.stanford.nlp.dbm.BasicDocument | +--edu.stanford.nlp.dbm.MedlineDocument
A Medline Document in Medline XML Format. The labels are the MeSH terms.
Field Summary |
Fields inherited from class edu.stanford.nlp.dbm.BasicDocument |
labels, originalText, title |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
MedlineDocument()
|
Method Summary | |
Collection |
labels()
Returns the complete List of labels for this Document. |
protected void |
parse(String text)
Parses an xml document and sets class-level variables title, text, and MeSH. |
String |
text()
Returns text of document. |
String |
title()
Returns title of document. |
Methods inherited from class edu.stanford.nlp.dbm.BasicDocument |
addLabel, asFeatures, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, label, main, originalText, presentableText, setLabel, setLabels, setTitle |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Constructor Detail |
public MedlineDocument()
Method Detail |
protected void parse(String text)
parse
in class BasicDocument
public String title()
title
in interface Document
title
in class BasicDocument
public String text()
public Collection labels()
BasicDocument
labels
in interface Labeled
labels
in class BasicDocument
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |