Class BiolarkToken
java.lang.Object
org.monarchinitiative.hpotextmining.core.miners.biolark.BiolarkToken
This class is an internal representation of a single HPO term within the HPO text-mining analysis. Text-mining
server returns JSON response with a collection of these terms. Each PseudoTerm contains:
- HPO id
- preferred HPO label
- Set of synonyms for preferred label
Created by Daniel Danis on 6/19/17.
-
Constructor Summary
ConstructorsConstructorDescriptionBiolarkToken(String id, String label, Set<String> synonyms) CreateBiolarkTokenwith following content. -
Method Summary
-
Constructor Details
-
BiolarkToken
CreateBiolarkTokenwith following content.- Parameters:
id- HPO id (uri)label- Preferred label for this label.synonyms- Alternate labels for this label.
-
-
Method Details
-
getId
Get HPO id for this term.- Returns:
- string with HPO id with prefix, e.g. HP:000082.
-
getLabel
-
setLabel
-
getSynonyms
-
hashCode
-
equals
-
toString
-