naturalpackage
Class Suffixes

java.lang.Object
  extended bynaturalpackage.Suffixes
All Implemented Interfaces:
Pos

public class Suffixes
extends java.lang.Object
implements Pos


Field Summary
static boolean DEBUG
           
 
Fields inherited from interface naturalpackage.Pos
ADJ, adjexceptions, ADV, ALL_S, ART, ARTS, CONJ, CONJS, DET, DETS, HOW, MEASUREMENT, NOUN, NP, NUM_S, NUMBER, PP, PREP, PREPS, PRON, PRONS, UNKNOWN, VERB, VP, WHAT, WHEN, WHERE, WHO, WHY
 
Constructor Summary
Suffixes()
           
 
Method Summary
 int[] check(java.lang.String[] words)
          This method checks an array of strings for common suffix and prefixs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

Suffixes

public Suffixes()
Method Detail

check

public int[] check(java.lang.String[] words)
This method checks an array of strings for common suffix and prefixs. Also labels the questions how, who, what, why, where.

Returns:
returns an array of ints with suffixs identified
See Also:
AtnMain