edu.washington.cs.knowitall.extractor.conf.opennlp
Class OpenNlpAlphabet<T>
java.lang.Object
edu.washington.cs.knowitall.extractor.conf.opennlp.OpenNlpAlphabet<T>
- Type Parameters:
T -
public class OpenNlpAlphabet<T>
- extends Object
OpenNLP requires features to have a unique text representation. This class
facilitates a lookup from feature name and feature value to a unique string
of the form featureName=featureValue.
This is for a performance boost from avoiding string concatenations.
- Author:
- schmmd
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lookup
public final com.google.common.collect.ImmutableMap<OpenNlpAlphabet.Key,String> lookup
OpenNlpAlphabet
public OpenNlpAlphabet(BooleanFeatureSet<T> features)
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.