experiments
Class PartOfSpeech

java.lang.Object
  extended by experiments.PartOfSpeech

public class PartOfSpeech
extends Object


Constructor Summary
PartOfSpeech()
           
 
Method Summary
static void main(String[] args)
           
static LinearTagger trainCRF(ArrayList<SequenceInstance> train, Alphabet xA, Alphabet yA)
           
static LinearTagger trainMira(boolean doAveraging, int numIters, ArrayList<SequenceInstance> train, Alphabet xA, Alphabet yA)
           
static LinearTagger trainPerceptron(boolean doAveraging, int numIters, ArrayList<SequenceInstance> train, Alphabet xA, Alphabet yA)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartOfSpeech

public PartOfSpeech()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

trainPerceptron

public static LinearTagger trainPerceptron(boolean doAveraging,
                                           int numIters,
                                           ArrayList<SequenceInstance> train,
                                           Alphabet xA,
                                           Alphabet yA)

trainMira

public static LinearTagger trainMira(boolean doAveraging,
                                     int numIters,
                                     ArrayList<SequenceInstance> train,
                                     Alphabet xA,
                                     Alphabet yA)

trainCRF

public static LinearTagger trainCRF(ArrayList<SequenceInstance> train,
                                    Alphabet xA,
                                    Alphabet yA)


Copyright © 2009. All Rights Reserved.