Class SciGraphResult
java.lang.Object
org.monarchinitiative.hpotextmining.core.miners.scigraph.SciGraphResult
- All Implemented Interfaces:
Comparable<SciGraphResult>
JSON Class representation of Monarch SciGraph text mining results.
- Since:
- 0.2.2
- Version:
- 0.1.0
- Author:
- Aaron Zhang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompare by the start positionbooleanintgetEnd()intgetStart()getToken()inthashCode()voidsetEnd(int end) voidsetStart(int start) voidsetToken(SciGraphToken token) static BiolarkResulttoBiolarkResult(SciGraphResult m, String query) Convert to BiolarkResult.
-
Constructor Details
-
SciGraphResult
-
-
Method Details
-
toBiolarkResult
Convert to BiolarkResult.- Parameters:
m-SciGraphResultquery-Stringwith the query text- Returns:
BiolarkResultrepresenting theminstance
-
getToken
-
setToken
-
getStart
public int getStart() -
setStart
public void setStart(int start) -
getEnd
public int getEnd() -
setEnd
public void setEnd(int end) -
equals
-
hashCode
-
compareTo
Compare by the start position- Specified by:
compareToin interfaceComparable<SciGraphResult>- Parameters:
o- otherSciGraphResult- Returns:
- result as specified by
Comparable
-