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.
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 |
TaggerExperiments
public TaggerExperiments()
TaggerExperiments
public TaggerExperiments(String filename,
String[] args_outputs)
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