Class ImprovedParseDocument
- java.lang.Object
-
- edu.kit.ipd.are.graphimprove.nlp.accessdecorators.ImprovedParseDocument
-
- All Implemented Interfaces:
edu.kit.ipd.are.archdoclink.nlp.Annotatable,edu.kit.ipd.are.archdoclink.nlp.Document,edu.kit.ipd.are.archdoclink.nlp.Identifiable,edu.kit.ipd.are.archdoclink.nlp.TextElement
public class ImprovedParseDocument extends Object implements edu.kit.ipd.are.archdoclink.nlp.Document
ImprovedParseDocument represent entry point of an graph- Author:
- dominik
-
-
Constructor Summary
Constructors Constructor Description ImprovedParseDocument(edu.kit.ipd.parse.luna.graph.IGraph graph, String documentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidannotate(edu.kit.ipd.are.archdoclink.nlp.Annotation annotation)List<? extends edu.kit.ipd.are.archdoclink.nlp.Coreference>getCoreferences()StringgetId()List<ImprovedParseWord>getNamedEntityWords()List<ImprovedParsePhrase>getNounPhrases()List<ImprovedParsePhrase>getPhrases()List<ImprovedParsePhrase>getPhrasesOfType(edu.kit.ipd.are.archdoclink.nlp.PhraseType type)CalendargetProcessingDate()Deprecated.ZonedDateTimegetProcessingDateAsZonedDateTime()List<ImprovedParseSentence>getSentences()StringgetText()List<ImprovedParseWord>getWords()StringtoDebugString()StringtoExtensiveDebugString()
-
-
-
Constructor Detail
-
ImprovedParseDocument
public ImprovedParseDocument(edu.kit.ipd.parse.luna.graph.IGraph graph, String documentId)
-
-
Method Detail
-
getText
public String getText()
- Specified by:
getTextin interfaceedu.kit.ipd.are.archdoclink.nlp.TextElement
-
getId
public String getId()
- Specified by:
getIdin interfaceedu.kit.ipd.are.archdoclink.nlp.Identifiable
-
toDebugString
public String toDebugString()
-
toExtensiveDebugString
public String toExtensiveDebugString()
-
annotate
public void annotate(edu.kit.ipd.are.archdoclink.nlp.Annotation annotation)
- Specified by:
annotatein interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getCoreferences
public List<? extends edu.kit.ipd.are.archdoclink.nlp.Coreference> getCoreferences()
- Specified by:
getCoreferencesin interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getNamedEntityWords
public List<ImprovedParseWord> getNamedEntityWords()
- Specified by:
getNamedEntityWordsin interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getPhrasesOfType
public List<ImprovedParsePhrase> getPhrasesOfType(edu.kit.ipd.are.archdoclink.nlp.PhraseType type)
- Specified by:
getPhrasesOfTypein interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getNounPhrases
public List<ImprovedParsePhrase> getNounPhrases()
- Specified by:
getNounPhrasesin interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getPhrases
public List<ImprovedParsePhrase> getPhrases()
- Specified by:
getPhrasesin interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getProcessingDate
@Deprecated public Calendar getProcessingDate()
Deprecated.- Specified by:
getProcessingDatein interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getProcessingDateAsZonedDateTime
public ZonedDateTime getProcessingDateAsZonedDateTime()
-
getSentences
public List<ImprovedParseSentence> getSentences()
- Specified by:
getSentencesin interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
getWords
public List<ImprovedParseWord> getWords()
- Specified by:
getWordsin interfaceedu.kit.ipd.are.archdoclink.nlp.Document
-
-