naturalpackage
Class Bestguess

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

public class Bestguess
extends java.lang.Object
implements Pos


Field Summary
 
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
Bestguess()
           
 
Method Summary
 int[] takeAShot(int[] atn, int[] suffix, int[] measure)
          This method takes the three arrays produced by ATN, SUFFIX, and MEASURMENT and combines them into a best guess at this point it just simply assume the Suffix and Measurements are correct will add probabilities later
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bestguess

public Bestguess()
Method Detail

takeAShot

public int[] takeAShot(int[] atn,
                       int[] suffix,
                       int[] measure)
This method takes the three arrays produced by ATN, SUFFIX, and MEASURMENT and combines them into a best guess at this point it just simply assume the Suffix and Measurements are correct will add probabilities later

Parameters:
atn - is the ATN guess
suffix - is the suffix guess
measure - is the MEASURMENT guess
Returns:
returns an array of ints combined from all three guesses
See Also:
AtnMain