|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.ConceptRanker
public class ConceptRanker
| Constructor Summary | |
|---|---|
ConceptRanker()
|
|
| Method Summary | |
|---|---|
protected Map |
assignLrl(Atom[] atoms)
Assigns the LRL value. |
String |
getNullValue()
Returns the null value. |
boolean |
isEmptyValue(String token)
Indicates whether or not the specified token is null or contains a null value as defined by being either zero length or a value equal to the null value. |
protected boolean |
isLuiSuppressible(String lui,
Atom[] atoms)
Returns true if the specified LUI is suppressible. |
static void |
main(String[] args)
|
void |
transform(String dir,
boolean rich_input,
boolean rich_output)
|
protected void |
writeMRCON(Concept concept,
PrintWriter out)
Writes MRCON entries for a Concept |
protected void |
writeMRCONSO(Concept concept,
PrintWriter out)
Writes MRCONSO.RRF entries for a Concept |
protected void |
writeMRSO(Concept concept,
PrintWriter out)
Writes MRSO entries for a Concept |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConceptRanker()
| Method Detail |
|---|
public void transform(String dir,
boolean rich_input,
boolean rich_output)
throws Exception
Exception
protected void writeMRCONSO(Concept concept,
PrintWriter out)
throws IOException
MRCONSO.RRF entries for a Concept
concept - the Concept to write
IOException - if anything goes wrong
protected void writeMRSO(Concept concept,
PrintWriter out)
throws IOException
MRSO entries for a Concept
concept - the Concept to write
IOException - if anything goes wrong
protected void writeMRCON(Concept concept,
PrintWriter out)
throws IOException
MRCON entries for a Concept
concept - the Concept to write
IOException - if anything goes wrong
protected boolean isLuiSuppressible(String lui,
Atom[] atoms)
true if the specified LUI is suppressible.
lui - the LUI value to checkatoms - the Atoms
true if the LUI is suppressible,
false otherwiseprotected Map assignLrl(Atom[] atoms)
atoms - the Atoms to be assigned
Map of cui:sui tuple mapped to lrlpublic boolean isEmptyValue(String token)
public String getNullValue()
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||