edu.stanford.nlp.tagger.maxent
Class TestSentenceTagged
java.lang.Object
|
+--edu.stanford.nlp.tagger.maxent.TestSentenceTagged
- public class TestSentenceTagged
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prob
public static LambdaSolve prob
- Title: Maximum Entropy Tool.
Description:
Copyright: Copyright (c) Kristina Toutanova
Company: Stanford University
hPos
public static int[] hPos
isTag
public static boolean[] isTag
numRight
public int numRight
numWrong
public int numWrong
TestSentenceTagged
public TestSentenceTagged(LambdaSolve prob,
String s)
TestSentenceTagged
public TestSentenceTagged(LambdaSolve prob,
String[] s,
String[] tags,
String[] correctTags,
PrintFile pf,
Dictionary wrongWords)
TestSentenceTagged
public TestSentenceTagged()
revert
public void revert(int prevSize,
int afterSize)
init
public void init()
getTaggedNice
public String getTaggedNice()
toNice
public static String toNice(String s)
init1
public void init1()
toSt
public static String toSt(String s,
boolean isWord)
test
public void test(String outFile)
test1
public void test1(PrintFile pf,
Dictionary wrongWords)
append
public String[] append(String[] tags)
getHistories
public double[] getHistories(History h)
intersect
public static int[] intersect(int[] arr1,
int[] arr2)
unite
public static int[] unite(int[] arr1,
int[] arr2)
main
public static void main(String[] args)
Stanford NLP Group