public abstract class AbstractTermExtractor extends AbstractConceptExtractor implements TermExtractor
Abstract class for UMLS term (CUI) extraction
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
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 |
cf, conceptFilter_enabled, conceptList, parser, subconcept_enabled| Constructor and Description |
|---|
AbstractTermExtractor(Ontology ontology,
Tagger tagger,
Lemmatiser lemmatiser) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enableAttributeCheckOption(AttributeChecker checker) |
boolean |
enableCompoundTermPredictOption(String suffixList)
Enable the option compound term prediction.
|
void |
extractTermFromFile(String filename) |
protected ArrayList |
filter(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(PrintWriter out,
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.
|
extractFromDoc, extractFromDoc, getConceptFilter, getConceptList, getDocumentParser, getFilteringOption, getSubConceptOption, mergeConceptByEntryID, mergeConceptByName, print, setConceptFilter, setDocumentParser, setFilteringOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractFromDoc, extractFromDoc, extractFromSentence, getConceptFilter, getConceptList, getDocumentParser, getFilteringOption, getSubConceptOption, mergeConceptByEntryID, mergeConceptByName, print, setConceptFilter, setDocumentParser, setFilteringOptionprotected 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
public AbstractTermExtractor(Ontology ontology, Tagger tagger, Lemmatiser lemmatiser)
public boolean isExtractionMerged()
public boolean supportConceptName()
ConceptExtractorsupportConceptName in interface ConceptExtractorpublic boolean supportConceptEntry()
ConceptExtractorsupportConceptEntry in interface ConceptExtractorpublic Ontology getOntology()
TermExtractorgetOntology in interface TermExtractorpublic Tagger getPOSTagger()
TermExtractorgetPOSTagger in interface TermExtractorpublic Lemmatiser getLemmatiser()
ConceptExtractorgetLemmatiser in interface ConceptExtractorpublic void setLemmatiser(Lemmatiser lemmatiser)
ConceptExtractorsetLemmatiser in interface ConceptExtractorlemmatiser - the lemmatiserpublic void setSubConceptOption(boolean option)
setSubConceptOption in interface ConceptExtractorsetSubConceptOption in class AbstractConceptExtractorpublic void setCoordinatingCheckOption(boolean option)
TermExtractorsetCoordinatingCheckOption in interface TermExtractoroption - the option of checking the coordinating termspublic boolean getCoordinatingCheckOption()
TermExtractorgetCoordinatingCheckOption in interface TermExtractorpublic void setAbbreviationOption(boolean option)
TermExtractorsetAbbreviationOption in interface TermExtractoroption - the option of checking terms in abbreviation.public boolean getAbbreviationOption()
TermExtractorgetAbbreviationOption 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()
TermExtractorgetSemanticCheckOption in interface TermExtractorpublic void setSemanticCheckOption(boolean option)
TermExtractorsetSemanticCheckOption in interface TermExtractoroption - the option of checking the semantic type of the extracted termpublic boolean getCoordinatingTermPredictOption()
TermExtractorgetCoordinatingTermPredictOption in interface TermExtractorpublic void setCoordinatingTermPredictOption(boolean option)
TermExtractorsetCoordinatingTermPredictOption in interface TermExtractoroption - the option of predicting terms according to coordinating relationship.public boolean getCompoundTermPredictOption()
TermExtractorgetCompoundTermPredictOption in interface TermExtractorpublic void setCompoundTermPredictOption(boolean option)
TermExtractorsetCompoundTermPredictOption in interface TermExtractoroption - the option of predicting compound terms.public boolean enableCompoundTermPredictOption(String suffixList)
TermExtractorenableCompoundTermPredictOption in interface TermExtractorsuffixList - the name of the file containing a list of suffix for compound termspublic void initDocExtraction()
ConceptExtractorinitDocExtraction in interface ConceptExtractorpublic void print(PrintWriter out, ArrayList list)
ConceptExtractorprint in interface ConceptExtractorprint in class AbstractConceptExtractorout - the print writerlist - a list concepts for outputpublic void extractTermFromFile(String filename)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.