public class TreeSpanScoring
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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) |
public static int countSpanErrors(TreebankLanguagePack tlp, Tree goldTree, Tree guessTree)
public static java.util.Set<Constituent> simplifyConstituents(TreebankLanguagePack tlp, java.util.Set<Constituent> constituents)