public class Triple extends Object implements Comparable, SortedElement
Triple is data structure for binary relation extracted from text
Copyright: Copyright (c) 2003
Company:
| Modifier and Type | Method and Description |
|---|---|
void |
addFrequency(int inc) |
int |
compareTo(Object obj) |
boolean |
equalTo(Triple triple) |
String[] |
getCandidateTUI() |
String |
getCandidateTUI(int index) |
int |
getCandidateTUINum() |
Concept |
getFirstConcept() |
int |
getFrequency() |
int |
getIndex() |
Object |
getMemo() |
Concept |
getSecondConcept() |
String |
getTUI() |
double |
getWeight() |
void |
setCandidateTUI(String[] can_rel) |
void |
setFrequency(int freq) |
void |
setIndex(int index) |
void |
setMemo(Object memo) |
void |
setTUI(String rel) |
void |
setWeight(double weight) |
public int compareTo(Object obj)
compareTo in interface Comparablepublic int getIndex()
getIndex in interface IndexSortablepublic void setIndex(int index)
setIndex in interface IndexSortablepublic Object getMemo()
public void setMemo(Object memo)
public Concept getFirstConcept()
public Concept getSecondConcept()
public String getTUI()
public void setTUI(String rel)
public String[] getCandidateTUI()
public String getCandidateTUI(int index)
public int getCandidateTUINum()
public void setCandidateTUI(String[] can_rel)
public double getWeight()
getWeight in interface WeightSortablepublic void setWeight(double weight)
setWeight in interface WeightSortablepublic int getFrequency()
getFrequency in interface FrequencySortablepublic void setFrequency(int freq)
setFrequency in interface FrequencySortablepublic void addFrequency(int inc)
public boolean equalTo(Triple triple)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.