experiments
Class PartOfSpeech
java.lang.Object
experiments.PartOfSpeech
public class PartOfSpeech
- extends Object
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 |
PartOfSpeech
public PartOfSpeech()
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.