TC Java
2011 Version

gov.nih.nlm.nls.tc.Jdi
Class WordSignalWcDc

java.lang.Object
  extended by gov.nih.nlm.nls.tc.Jdi.WordSignalWcDc

public class WordSignalWcDc
extends java.lang.Object

This class is the Word-Signal-Wc-Dc Java object

History:

Version:
V-2011
Author:
NLM Lexical Systems Group

Constructor Summary
WordSignalWcDc()
          Create a Word-Signal-Wc-Dc object (default).
WordSignalWcDc(java.lang.String word, double signal, int wc, int dc)
          Create a Word-Signal-Wc-Dc object by specifying word, signal, word count, and document count.
 
Method Summary
 int GetDc()
          Get document count
 double GetSignal()
          Get the normalized signal
 int GetWc()
          Get word count
 java.lang.String GetWord()
          Get the word
 void SetDc(int dc)
          Set document count
 void SetSignal(double signal)
          Set normalized signal
 void SetWc(int wc)
          Set word count
 void SetWord(java.lang.String word)
          Set word
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordSignalWcDc

public WordSignalWcDc()
Create a Word-Signal-Wc-Dc object (default).


WordSignalWcDc

public WordSignalWcDc(java.lang.String word,
                      double signal,
                      int wc,
                      int dc)
Create a Word-Signal-Wc-Dc object by specifying word, signal, word count, and document count.

Parameters:
word - word
signal - normalized signal associate with word
wc - word count associate with word
dc - document count associate with word
Method Detail

SetWord

public void SetWord(java.lang.String word)
Set word

Parameters:
word - word

SetSignal

public void SetSignal(double signal)
Set normalized signal

Parameters:
signal - normalized signal

SetWc

public void SetWc(int wc)
Set word count

Parameters:
wc - word count

SetDc

public void SetDc(int dc)
Set document count

Parameters:
dc - document count

GetWord

public java.lang.String GetWord()
Get the word

Returns:
word

GetSignal

public double GetSignal()
Get the normalized signal

Returns:
normalized signal

GetWc

public int GetWc()
Get word count

Returns:
word count

GetDc

public int GetDc()
Get document count

Returns:
document count

TC Java
2011 Version

Submit a bug or feature

Copyright © 2011 National Library of Medicine