public class SvmVectorCreator extends Object
Constructor and Description |
---|
SvmVectorCreator(HashSet<String> stopwords) |
Modifier and Type | Method and Description |
---|---|
libsvm.svm_node[] |
createAnaphoricityVector(Markable m,
org.apache.uima.jcas.JCas aJCas) |
libsvm.svm_node[] |
getNodeFeatures(Markable anaphor,
Markable antecedent,
org.apache.uima.jcas.JCas aJCas) |
libsvm.svm_node[] |
getNodeFeatures(Markable anaphor,
Markable antecedent,
org.apache.uima.jcas.JCas aJCas,
boolean needsAnaph) |
void |
setFrags(Collection<String> treeFrags) |
public libsvm.svm_node[] createAnaphoricityVector(Markable m, org.apache.uima.jcas.JCas aJCas)
public libsvm.svm_node[] getNodeFeatures(Markable anaphor, Markable antecedent, org.apache.uima.jcas.JCas aJCas)
public libsvm.svm_node[] getNodeFeatures(Markable anaphor, Markable antecedent, org.apache.uima.jcas.JCas aJCas, boolean needsAnaph)
public void setFrags(Collection<String> treeFrags)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.