TC Java
2009 Version

gov.nih.nlm.nls.tc.FilterApi
Class OutputFilter

java.lang.Object
  extended by gov.nih.nlm.nls.tc.FilterApi.OutputFilter

public class OutputFilter
extends java.lang.Object

This class provides methods for output filters of TC tools

History:

Version:
V-2009
Author:
NLM Lexical Systems Group
See Also:
Design Document

Constructor Summary
OutputFilter()
          Initiate the OutputFilter object.
 
Method Summary
static java.lang.String ProcessMesh(java.util.Vector<Count1f> inScores, JournalDescriptors jds, OutputFilterOption outputFilterOption)
          Output filter to get result string of MeSH (Count1f) from JDI.
static java.lang.String ProcessMesh(java.util.Vector<Count1f> inScores, SemanticTypes sts, OutputFilterOption outputFilterOption)
          Output filter to get result string of MeSH (Count1f) from STI.
static java.lang.String ProcessText(java.util.Vector<Count2f> inScores, JournalDescriptors jds, OutputFilterOption outputFilterOption)
          Output filter to get result string of Text (Count2f) from JDI.
static java.lang.String ProcessText(java.util.Vector<Count2f> inScores, SemanticTypes sts, OutputFilterOption outputFilterOption)
          Output filter to get result string of Text (Count2f) from STI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputFilter

public OutputFilter()
Initiate the OutputFilter object.

Method Detail

ProcessText

public static java.lang.String ProcessText(java.util.Vector<Count2f> inScores,
                                           SemanticTypes sts,
                                           OutputFilterOption outputFilterOption)
Output filter to get result string of Text (Count2f) from STI. This method should be used after ST scores are obtained.

Parameters:
inScores - ST scores for indexing Text
sts - the collection of STs list java object
outputFilterOption - the output filter option java object
Returns:
the filtered result string for STI

ProcessText

public static java.lang.String ProcessText(java.util.Vector<Count2f> inScores,
                                           JournalDescriptors jds,
                                           OutputFilterOption outputFilterOption)
Output filter to get result string of Text (Count2f) from JDI. This method should be used after JD scores are obtained.

Parameters:
inScores - JD scores for indexing Text
jds - the collection of JDs list java object
outputFilterOption - the output filter option java object
Returns:
the filtered result string for JDI

ProcessMesh

public static java.lang.String ProcessMesh(java.util.Vector<Count1f> inScores,
                                           SemanticTypes sts,
                                           OutputFilterOption outputFilterOption)
Output filter to get result string of MeSH (Count1f) from STI. This method should be used after ST scores are obtained.

Parameters:
inScores - ST scores for indexing MeSHs
sts - the collection of STs list java object
outputFilterOption - the output filter option java object
Returns:
the filtered result string for STI

ProcessMesh

public static java.lang.String ProcessMesh(java.util.Vector<Count1f> inScores,
                                           JournalDescriptors jds,
                                           OutputFilterOption outputFilterOption)
Output filter to get result string of MeSH (Count1f) from JDI. This method should be used after JD scores are obtained.

Parameters:
inScores - JD scores for indexing MeSHs
jds - the collection of JDs list java object
outputFilterOption - the output filter option java object
Returns:
the filtered result string for JDI

TC Java
2009 Version

Submit a bug or feature

Copyright © 2009 National Library of Medicine