|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--dragon.nlp.extract.AbstractConceptExtractor
|
+--dragon.nlp.extract.AbstractTermExtractor
Abstract class for UMLS term (CUI) extraction
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Field Summary | |
protected Abbreviation |
abbrChecker
|
protected boolean |
abbreviation_enabled
|
protected AttributeChecker |
attrChecker
|
protected boolean |
attributeCheck_enabled
|
protected boolean |
compoundTermPredict_enabled
|
protected CompoundTermFinder |
compTermFinder
|
protected boolean |
coordinatingCheck_enabled
|
protected boolean |
coordinatingTermPredict_enabled
|
protected Lemmatiser |
lemmatiser
|
protected Ontology |
ontology
|
protected CoordinatingChecker |
paraChecker
|
protected boolean |
semanticCheck_enabled
|
protected Tagger |
tagger
|
| Fields inherited from class dragon.nlp.extract.AbstractConceptExtractor |
cf, conceptFilter_enabled, conceptList, parser, subconcept_enabled |
| Constructor Summary | |
AbstractTermExtractor(Ontology ontology,
Tagger tagger,
Lemmatiser lemmatiser)
|
|
| Method Summary | |
boolean |
enableAttributeCheckOption(AttributeChecker checker)
|
boolean |
enableCompoundTermPredictOption(java.lang.String suffixList)
Enable the option compound term prediction. |
void |
extractTermFromFile(java.lang.String filename)
|
protected java.util.ArrayList |
filter(java.util.ArrayList termList)
|
boolean |
getAbbreviationOption()
Gets the option of checking terms in abbreviation. |
boolean |
getAttributeCheckOption()
|
boolean |
getCompoundTermPredictOption()
Gets the option of predicting compound terms. |
boolean |
getCoordinatingCheckOption()
Gets the option of checking the coordinating terms |
boolean |
getCoordinatingTermPredictOption()
Gets the option of predicting terms according to coordinating relationship. |
Lemmatiser |
getLemmatiser()
Gets the lemmtiser used for this extractor. |
Ontology |
getOntology()
Gets the ontology used for the term extractor. |
Tagger |
getPOSTagger()
Gets the part of speech tagger used for the term extractor |
boolean |
getSemanticCheckOption()
Gets the option of checking the semantic type of the extracted term |
void |
initDocExtraction()
It is required to call this method before one calls extractFromDoc method. |
boolean |
isExtractionMerged()
|
void |
print(java.io.PrintWriter out,
java.util.ArrayList list)
Print out the given list of concepts to the speficid print writer. |
void |
setAbbreviationOption(boolean option)
Sets the option of checking terms in abbreviation. |
void |
setAttributeCheckOption(boolean option)
|
void |
setCompoundTermPredictOption(boolean option)
Sets the option of predicting compound terms. |
void |
setCoordinatingCheckOption(boolean option)
Set the option of checking the coordinating terms |
void |
setCoordinatingTermPredictOption(boolean option)
Sets the option of predicting terms according to coordinating relationship. |
void |
setLemmatiser(Lemmatiser lemmatiser)
Sets lemmatiser for this extractor. |
void |
setSemanticCheckOption(boolean option)
Sets the option of checking the semantic type of the extracted term |
void |
setSubConceptOption(boolean option)
|
boolean |
supportConceptEntry()
Tests if the extracted concept has an entry ID. |
boolean |
supportConceptName()
Tests if the extracted concept has a name. |
| Methods inherited from class dragon.nlp.extract.AbstractConceptExtractor |
extractFromDoc, extractFromDoc, getConceptFilter, getConceptList, getDocumentParser, getFilteringOption, getSubConceptOption, mergeConceptByEntryID, mergeConceptByName, print, setConceptFilter, setDocumentParser, setFilteringOption |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface dragon.nlp.extract.ConceptExtractor |
extractFromDoc, extractFromDoc, extractFromSentence, getConceptFilter, getConceptList, getDocumentParser, getFilteringOption, getSubConceptOption, mergeConceptByEntryID, mergeConceptByName, print, setConceptFilter, setDocumentParser, setFilteringOption |
| Field Detail |
protected Ontology ontology
protected Tagger tagger
protected Lemmatiser lemmatiser
protected boolean semanticCheck_enabled
protected boolean coordinatingTermPredict_enabled
protected boolean compoundTermPredict_enabled
protected boolean attributeCheck_enabled
protected boolean coordinatingCheck_enabled
protected boolean abbreviation_enabled
protected AttributeChecker attrChecker
protected CoordinatingChecker paraChecker
protected Abbreviation abbrChecker
protected CompoundTermFinder compTermFinder
| Constructor Detail |
public AbstractTermExtractor(Ontology ontology,
Tagger tagger,
Lemmatiser lemmatiser)
| Method Detail |
public boolean isExtractionMerged()
public boolean supportConceptName()
ConceptExtractor
supportConceptName in interface ConceptExtractorpublic boolean supportConceptEntry()
ConceptExtractor
supportConceptEntry in interface ConceptExtractorpublic Ontology getOntology()
TermExtractor
getOntology in interface TermExtractorpublic Tagger getPOSTagger()
TermExtractor
getPOSTagger in interface TermExtractorpublic Lemmatiser getLemmatiser()
ConceptExtractor
getLemmatiser in interface ConceptExtractorpublic void setLemmatiser(Lemmatiser lemmatiser)
ConceptExtractor
setLemmatiser in interface ConceptExtractorlemmatiser - the lemmatiserpublic void setSubConceptOption(boolean option)
setSubConceptOption in interface ConceptExtractorsetSubConceptOption in class AbstractConceptExtractorpublic void setCoordinatingCheckOption(boolean option)
TermExtractor
setCoordinatingCheckOption in interface TermExtractoroption - the option of checking the coordinating termspublic boolean getCoordinatingCheckOption()
TermExtractor
getCoordinatingCheckOption in interface TermExtractorpublic void setAbbreviationOption(boolean option)
TermExtractor
setAbbreviationOption in interface TermExtractoroption - the option of checking terms in abbreviation.public boolean getAbbreviationOption()
TermExtractor
getAbbreviationOption in interface TermExtractorpublic void setAttributeCheckOption(boolean option)
setAttributeCheckOption in interface TermExtractorpublic boolean getAttributeCheckOption()
getAttributeCheckOption in interface TermExtractorpublic boolean enableAttributeCheckOption(AttributeChecker checker)
enableAttributeCheckOption in interface TermExtractorpublic boolean getSemanticCheckOption()
TermExtractor
getSemanticCheckOption in interface TermExtractorpublic void setSemanticCheckOption(boolean option)
TermExtractor
setSemanticCheckOption in interface TermExtractoroption - the option of checking the semantic type of the extracted termpublic boolean getCoordinatingTermPredictOption()
TermExtractor
getCoordinatingTermPredictOption in interface TermExtractorpublic void setCoordinatingTermPredictOption(boolean option)
TermExtractor
setCoordinatingTermPredictOption in interface TermExtractoroption - the option of predicting terms according to coordinating relationship.public boolean getCompoundTermPredictOption()
TermExtractor
getCompoundTermPredictOption in interface TermExtractorpublic void setCompoundTermPredictOption(boolean option)
TermExtractor
setCompoundTermPredictOption in interface TermExtractoroption - the option of predicting compound terms.public boolean enableCompoundTermPredictOption(java.lang.String suffixList)
TermExtractor
enableCompoundTermPredictOption in interface TermExtractorsuffixList - the name of the file containing a list of suffix for compound terms
public void initDocExtraction()
ConceptExtractor
initDocExtraction in interface ConceptExtractor
public void print(java.io.PrintWriter out,
java.util.ArrayList list)
ConceptExtractor
print in interface ConceptExtractorprint in class AbstractConceptExtractorout - the print writerlist - a list concepts for outputpublic void extractTermFromFile(java.lang.String filename)
protected java.util.ArrayList filter(java.util.ArrayList termList)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||