edu.stanford.nlp.tagger.maxent
Class TaggerExperiments

java.lang.Object
  |
  +--edu.stanford.nlp.maxent.iis.Experiments
        |
        +--edu.stanford.nlp.tagger.maxent.TaggerExperiments

public class TaggerExperiments
extends Experiments

This class represents the training samples. It can return statistics of them, for example the frequency of each x or y in the training data.


Field Summary
 
Fields inherited from class edu.stanford.nlp.maxent.iis.Experiments
maxY, number, px, pxy, py, vArray, xSize, ySize
 
Constructor Summary
TaggerExperiments()
           
TaggerExperiments(String filename, String[] args_outputs)
           
 
Method Summary
 void add(Experiment m)
           
 void addRareTemplatesNew(History h, String tag, int x, int y)
           
 void addTemplatesNew(History h, String tag, int x, int y)
           
 void getFeaturesNew()
           
 String getY(int index)
           
 void hashHistories()
           
 void hashHistories(TemplateHash tFeats, int fNo)
           
 void initHistory()
           
 void initHistoryNew()
           
 void initTemplates()
           
 void initTemplatesNew()
           
static void main(String[] args)
           
static boolean populated(int fNo, int size)
           
 void updateHistory()
           
 
Methods inherited from class edu.stanford.nlp.maxent.iis.Experiments
get, getMaxY, getNumber, print, print, ptield, ptield, ptieldX, ptieldXY, ptieldY, read, save, setMaxY, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaggerExperiments

public TaggerExperiments()

TaggerExperiments

public TaggerExperiments(String filename,
                         String[] args_outputs)
Method Detail

initHistory

public void initHistory()

initHistoryNew

public void initHistoryNew()

updateHistory

public void updateHistory()

getFeaturesNew

public void getFeaturesNew()

hashHistories

public void hashHistories()

hashHistories

public void hashHistories(TemplateHash tFeats,
                          int fNo)

populated

public static boolean populated(int fNo,
                                int size)

initTemplates

public void initTemplates()

initTemplatesNew

public void initTemplatesNew()

addTemplatesNew

public void addTemplatesNew(History h,
                            String tag,
                            int x,
                            int y)

addRareTemplatesNew

public void addRareTemplatesNew(History h,
                                String tag,
                                int x,
                                int y)

getY

public String getY(int index)

add

public void add(Experiment m)
Overrides:
add in class Experiments

main

public static void main(String[] args)


Stanford NLP Group