swishej
Class StopHash

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--swishej.StopHash

class StopHash
extends java.util.Hashtable

Class to implement the stop word list.

See Also:
Serialized Form

Fields inherited from class java.util.Hashtable
count, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, serialVersionUID, table, threshold, values, VALUES
 
Constructor Summary
(package private) StopHash()
           
 
Method Summary
(package private)  void addstopword(java.lang.String s)
          Adds a stop word to the list of stop words.
(package private)  boolean isstopword(java.lang.String s)
          Tests a string being a stop word.
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, readObject, rehash, remove, size, toString, values, writeObject
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

StopHash

StopHash()
Method Detail

addstopword

void addstopword(java.lang.String s)
Adds a stop word to the list of stop words.
Parameters:
s - stop word

isstopword

boolean isstopword(java.lang.String s)
Tests a string being a stop word.
Parameters:
s - the word to be tested
Returns:
true, if the word is a stop word, false otherwise


Contact: Christian.Werner@t-online.de