public interface DualConceptExtractor
Interface of Dual Concept Extractor
This type of extractors extract two sets of concepts from a documetn or a sentence simultaneously
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Method and Description |
|---|---|
boolean |
extractFromDoc(Article doc)
Extracts concepts from a semi-structured article
|
boolean |
extractFromDoc(Document doc)
Extracts concepts from a parsed document
|
boolean |
extractFromDoc(String doc)
Extracts concepts from a raw document
|
boolean |
extractFromSentence(Sentence sent)
Extracts concept from a sentence
|
DocumentParser |
getDocumentParser()
Gets document parser.
|
ArrayList |
getFirstConceptList()
Gets the first set of concepts extracted before
|
ArrayList |
getSecondConceptList()
Gets the second set of concepts extracted before
|
void |
initDocExtraction()
It is required to call this method before one calls extractFromDoc method.
|
void |
setDocumentParser(DocumentParser parser)
Sets the document parser for the concept extractor.
|
boolean |
supportConceptEntry()
Tests if the extracted concept has an entry ID.
|
boolean |
supportConceptName()
Tests if the extracted concept has a name.
|
boolean extractFromDoc(String doc)
doc - a raw document for extractionboolean extractFromDoc(Document doc)
doc - a parsed document for extractionboolean extractFromDoc(Article doc)
doc - a semi-structured article for extractionboolean extractFromSentence(Sentence sent)
sent - a sentence for extractionArrayList getFirstConceptList()
ArrayList getSecondConceptList()
boolean supportConceptName()
boolean supportConceptEntry()
void initDocExtraction()
void setDocumentParser(DocumentParser parser)
parser - document parserDocumentParser getDocumentParser()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.