com.autonomy.utilities
Class TermsNWeights

java.lang.Object
  |
  +--com.autonomy.utilities.TermsNWeights

public class TermsNWeights
extends java.lang.Object

Class representing terms and weights from a DRE


Constructor Summary
TermsNWeights(java.lang.String szIn)
          Takes a string in this form:
TGS~[179]+SONIC~[127]+XBOX~[111]+VOYAG~[109]+CNET~[109]+GAMECUB~[107]+TYKE~[99]+SEGA~[9>]+GAMESPOT~[92]
and parses out the terms and weights
 
Method Summary
 java.util.Vector getTerms()
          Returns a vector of terms
 java.util.Vector getWeights()
          Returns a vector of weights, stored as Integers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermsNWeights

public TermsNWeights(java.lang.String szIn)
Takes a string in this form:
TGS~[179]+SONIC~[127]+XBOX~[111]+VOYAG~[109]+CNET~[109]+GAMECUB~[107]+TYKE~[99]+SEGA~[9>]+GAMESPOT~[92]
and parses out the terms and weights

Method Detail

getTerms

public java.util.Vector getTerms()
Returns a vector of terms


getWeights

public java.util.Vector getWeights()
Returns a vector of weights, stored as Integers