cz.cuni.mff.procasor.tokenizer
Class TokenizerResults

java.lang.Object
  extended bycz.cuni.mff.procasor.tokenizer.TokenizerResults

public class TokenizerResults
extends java.lang.Object

Class used to return results of tokenizer work. It contains the Vector of tokenList where are the most similar tokens already used in project. Than prioriteTokens where are tokens, which are used in oposite usecases. And than there is vector of all tokens in project.


Constructor Summary
TokenizerResults(java.util.List tl, java.util.List pt, java.lang.String st, java.lang.String lt)
          Constructor
 
Method Summary
 java.util.List getPrioriteTokens()
          This function returns the List of priorite tokens.
 java.util.List getTokenList()
          This function returns the List of similar tokens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenizerResults

public TokenizerResults(java.util.List tl,
                        java.util.List pt,
                        java.lang.String st,
                        java.lang.String lt)
Constructor

Parameters:
tl - List of suitsable tokens
pt - List of all tokens
st - gussed string token
lt - learned string token
Method Detail

getPrioriteTokens

public java.util.List getPrioriteTokens()
This function returns the List of priorite tokens.

Returns:
List of String - the priorite tokens.

getTokenList

public java.util.List getTokenList()
This function returns the List of similar tokens.

Returns:
List of String - the similar token.