|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.parser.metrics.TreeSpanScoring
public class TreeSpanScoring
Provides a method for deciding how similar two trees are.
| Method Summary | |
|---|---|
static int |
countSpanErrors(TreebankLanguagePack tlp,
Tree goldTree,
Tree guessTree)
Counts how many spans are present in goldTree, including preterminals, but not present in guessTree, along with how many spans are present in guessTree and not goldTree. |
static java.util.Set<Constituent> |
simplifyConstituents(TreebankLanguagePack tlp,
java.util.Set<Constituent> constituents)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int countSpanErrors(TreebankLanguagePack tlp,
Tree goldTree,
Tree guessTree)
public static java.util.Set<Constituent> simplifyConstituents(TreebankLanguagePack tlp,
java.util.Set<Constituent> constituents)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||