|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nih.nlm.nls.tc.Jdi.WordSignalWcDcs
public class WordSignalWcDcs
This class is to load Word-Signal-Wc-Dc objects from a flat file.
History:
Constructor Summary | |
---|---|
WordSignalWcDcs(java.lang.String inFile)
Create the WordSignalWcDcs List object by specifying the input file. |
|
WordSignalWcDcs(java.lang.String inFile,
boolean verbose)
Create the WordSignalWcDcs List object by specifying the input file and flag of verbose. |
Method Summary | |
---|---|
boolean |
ContainsWord(java.lang.String word)
Check if a string is a word in WordSignalWcDc collection |
int |
GetDcByWord(java.lang.String word)
Get document count by specifying word. |
double |
GetSignalByWord(java.lang.String word)
Get normalized signal by specifying word. |
int |
GetWcByWord(java.lang.String word)
Get word count by specifying word. |
WordSignalWcDc |
GetWordSignalWcDcByWord(java.lang.String word)
Get WordSignalWcDc Java object by specifying word. |
java.util.Hashtable<java.lang.String,WordSignalWcDc> |
GetWordSignalWcDcs()
Get WordSignalWcDcs list object. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WordSignalWcDcs(java.lang.String inFile)
inFile
- file name of WordSignalWcDcs (wordSignalWcDcGt1.txt)public WordSignalWcDcs(java.lang.String inFile, boolean verbose)
inFile
- file name of WordSignalWcDcs (wordSignalWcDcGt1.txt)verbose
- flag of verbose on reading input fileMethod Detail |
---|
public java.util.Hashtable<java.lang.String,WordSignalWcDc> GetWordSignalWcDcs()
public WordSignalWcDc GetWordSignalWcDcByWord(java.lang.String word)
word
- word
public double GetSignalByWord(java.lang.String word)
word
- word
public int GetWcByWord(java.lang.String word)
word
- word
public int GetDcByWord(java.lang.String word)
word
- word
public boolean ContainsWord(java.lang.String word)
word
- word to be checked
public static void main(java.lang.String[] args)
|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |