Interface TermMiner
- All Known Implementing Classes:
BiolarkTermMiner,SciGraphTermMiner
public interface TermMiner
Classes implementing this interface are able to mine a set of
MinedTerms from given query.
The query is a free text, usually containing a description of a clinical situation of the patient/proband. The aim of
the text-mining is to identify a set of HPO terms that represent patient's phenotype. Terms may be either present
or absent (see MinedTerm for more info). Set of identified terms is presented to the user/curator for
further approval/rejection.
- Since:
- 0.2
- Version:
- 0.2.1
- Author:
- Daniel Danis
-
Method Summary
Modifier and TypeMethodDescriptionParse givenqueryString and return set ofSimpleMinedTerms representing HPO terms identified in thequery.
-
Method Details
-
doMining
Parse givenqueryString and return set ofSimpleMinedTerms representing HPO terms identified in thequery.The mining process might be blocking so it would be nice to perform the mining on another thread than the event loop thread of a Gui.
- Parameters:
query-Stringcontaining text about to be searched for HPO terms- Returns:
SetofSimpleMinedTerms representing HPO terms and their positions in thequerytext- Throws:
TermMinerException- if there is any problem with HPO mining
-