public class Chunker
extends edu.illinois.cs.cogcomp.lbjava.learn.SparseNetworkLearner
Token
. PreviousTags from this package and POSWindow from the LBJ POS tagger package as
well as Forms, Capitalization, WordTypeInformation, and
Affixes from the LBJ library are used as features. This classifier caches its
prediction in the Token.type field, and it will simply return the value of this
field as its prediction if it is non-null.| Modifier and Type | Class and Description |
|---|---|
static class |
Chunker.Parameters |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
isTraining |
baseLTU, conjunctiveLabels, defaultBaseLTU, network, numExamples, numFeatures| Constructor and Description |
|---|
Chunker() |
Chunker(Chunker.Parameters p,
String modelPath,
String lexiconPath) |
Chunker(ResourceManager config) |
Chunker(String modelPath,
String lexiconPath) |
| Modifier and Type | Method and Description |
|---|---|
edu.illinois.cs.cogcomp.lbjava.classify.FeatureVector |
classify(Object __example) |
String |
discreteValue(Object __example) |
boolean |
equals(Object o) |
edu.illinois.cs.cogcomp.lbjava.classify.Feature |
featureValue(Object __example) |
String |
getInputType() |
String |
getOutputType() |
int |
hashCode() |
classify, clone, conjunctiveScores, conjunctiveValueOf, discreteValue, doneLearning, doneWithRound, featureValue, forget, getBaseLTU, getLTU, getNetwork, getNumExamples, getNumFeatures, getParameters, initialize, isUsingConjunctiveLabels, learn, read, scores, scores, scores, setConjunctiveLabels, setExtractor, setLabeler, setLTU, setNetworkLabel, setParameters, valueOf, valueOf, write, writeclassify, classify, classify, countFeatures, createPrediction, createPrediction, demandLexicon, discreteValue, emptyClone, featureValue, getCurrentLexicon, getExampleArray, getExampleArray, getExtractor, getLabeler, getLabelLexicon, getLexicon, getLexiconDiscardCounts, getLexiconLocation, getModelLocation, getPrunedLexiconSize, learn, learn, learn, learn, read, readLabelLexicon, readLearner, readLearner, readLearner, readLearner, readLearner, readLearner, readLexicon, readLexicon, readLexiconOnDemand, readLexiconOnDemand, readModel, readModel, readParameters, realValue, realValue, realValue, save, saveLexicon, saveModel, scores, scores, scoresAugmented, setCandidates, setEncoding, setLabelLexicon, setLexicon, setLexiconLocation, setLexiconLocation, setLossFlag, setModelLocation, setModelLocation, setParameters, setReadLexiconOnDemand, unclone, unsetLossFlag, write, writeLexicon, writeModel, writeParameterspublic Chunker()
public Chunker(ResourceManager config)
public Chunker(Chunker.Parameters p, String modelPath, String lexiconPath)
public String getInputType()
getInputType in class edu.illinois.cs.cogcomp.lbjava.classify.Classifierpublic String getOutputType()
getOutputType in class edu.illinois.cs.cogcomp.lbjava.classify.Classifierpublic edu.illinois.cs.cogcomp.lbjava.classify.FeatureVector classify(Object __example)
classify in class edu.illinois.cs.cogcomp.lbjava.learn.Learnerpublic edu.illinois.cs.cogcomp.lbjava.classify.Feature featureValue(Object __example)
featureValue in class edu.illinois.cs.cogcomp.lbjava.learn.Learnerpublic String discreteValue(Object __example)
discreteValue in class edu.illinois.cs.cogcomp.lbjava.learn.LearnerCopyright © 2017. All rights reserved.