gov.nih.nlm.nls.gspell
Class FindOptions

java.lang.Object
  extended bygov.nih.nlm.nls.gspell.FindOptions

public final class FindOptions
extends java.lang.Object

FindOptions These are options that can be set on the fly after the gspell object has been instantiated, to alter the behavior of the find methods from invocation to invocation. Fri May 03 18:51:03 EDT 2002, divita Initial Version


Constructor Summary
FindOptions()
          This is a constructor for FindOptions This constructor has no parameters.
FindOptions(GlobalBehavior pSettings)
          This is a constructor for FindOptions
FindOptions(int pMaxCandidatesToConsider, boolean pWordLengthHeuristic, int pTruncateSize, int pMaxEditDistance)
          This is a constructor for FindOptions
 
Method Summary
 int getMaxCandidatesToConsider()
          Method getMaxCandidatesToConsider
 int getMaxEditDistance()
          Method getMaxEditDistance
 int getTruncateSize()
          Method getTruncateSize
 boolean getWordLenghtHeuristic()
          Method getWordLenghtHeuristic
 boolean getWordLengthHeuristic()
          Method getWordLengthHeuristic
 void setMaxCandidatesToConsider(int pVal)
          Method setMaxCandidatesToConsider
 void setMaxEditDistance(int pVal)
          Method setMaxEditDistance
 void setTruncateSize(int pVal)
          Method setTruncateSize
 void setWordLenghtHeuristic(boolean pVal)
          Method setWordLenghtHeuristic
 void setWordLengthHeuristic(boolean pVal)
          Method setWordLengthHeuristic
 java.lang.String toString()
          Method toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FindOptions

public FindOptions()
This is a constructor for FindOptions This constructor has no parameters.


FindOptions

public FindOptions(int pMaxCandidatesToConsider,
                   boolean pWordLengthHeuristic,
                   int pTruncateSize,
                   int pMaxEditDistance)
This is a constructor for FindOptions

Parameters:
pMaxCandidatesToConsider -
pWordLengthHeuristic -
pTruncateSize -
pMaxEditDistance -

FindOptions

public FindOptions(GlobalBehavior pSettings)
This is a constructor for FindOptions

Parameters:
pSettings -
Method Detail

getMaxCandidatesToConsider

public int getMaxCandidatesToConsider()
Method getMaxCandidatesToConsider

Returns:
int

getWordLenghtHeuristic

public boolean getWordLenghtHeuristic()
Method getWordLenghtHeuristic

Returns:
boolean

getWordLengthHeuristic

public boolean getWordLengthHeuristic()
Method getWordLengthHeuristic

Returns:
boolean

getTruncateSize

public int getTruncateSize()
Method getTruncateSize

Returns:
int

getMaxEditDistance

public int getMaxEditDistance()
Method getMaxEditDistance

Returns:
int

setMaxCandidatesToConsider

public void setMaxCandidatesToConsider(int pVal)
Method setMaxCandidatesToConsider

Parameters:
pVal -

setWordLenghtHeuristic

public void setWordLenghtHeuristic(boolean pVal)
Method setWordLenghtHeuristic

Parameters:
pVal -

setWordLengthHeuristic

public void setWordLengthHeuristic(boolean pVal)
Method setWordLengthHeuristic

Parameters:
pVal -

setTruncateSize

public void setTruncateSize(int pVal)
Method setTruncateSize

Parameters:
pVal -

setMaxEditDistance

public void setMaxEditDistance(int pVal)
Method setMaxEditDistance

Parameters:
pVal -

toString

public java.lang.String toString()
Method toString

Returns:
String


The use and distribution of this material is subject to the terms and conditions included in the file SPECIALIST_NLP_TOOLS_TERMS_AND_CONDITIONS.TXT, located in the root directory of the distribution.