public class ExtentTester extends Object
Constructor and Description |
---|
ExtentTester() |
Modifier and Type | Method and Description |
---|---|
static void |
addExtentAttributes(Constituent extent,
Gazetteers gazetteers,
BrownClusters brownClusters,
WordNetManager wordnet) |
static void |
addHeadAttributes(Constituent head,
Gazetteers gazetteers,
BrownClusters brownClusters,
WordNetManager wordnet) |
static Constituent |
getFullMention(extent_classifier classifier,
Constituent head,
Gazetteers gazetteers,
BrownClusters brownClusters,
WordNetManager wordnet)
Gets the full mention of the given head
|
static Constituent |
getPredictedMentionHead(Constituent c) |
static void |
main(String[] args) |
static void |
testExtentOnGoldHead() |
static void |
testExtentOnPredictedHead() |
static void |
testSimpleExtent() |
static extent_classifier |
train_extent_classifier(ExtentReader train_parser) |
static extent_classifier |
train_extent_classifier(ExtentReader train_parser,
String prefix) |
static void |
TrainACEModel() |
static void |
TrainEREModel() |
static void |
TrainModel(String corpus) |
public static extent_classifier train_extent_classifier(ExtentReader train_parser, String prefix)
public static extent_classifier train_extent_classifier(ExtentReader train_parser)
public static void testSimpleExtent()
public static void addHeadAttributes(Constituent head, Gazetteers gazetteers, BrownClusters brownClusters, WordNetManager wordnet)
public static void addExtentAttributes(Constituent extent, Gazetteers gazetteers, BrownClusters brownClusters, WordNetManager wordnet)
public static Constituent getFullMention(extent_classifier classifier, Constituent head, Gazetteers gazetteers, BrownClusters brownClusters, WordNetManager wordnet)
classifier
- The extent classifierhead
- The head Constituentgazetteers
- gazetteersbrownClusters
- brownclusterswordnet
- wordnetpublic static void testExtentOnGoldHead()
public static Constituent getPredictedMentionHead(Constituent c)
public static void testExtentOnPredictedHead()
public static void TrainModel(String corpus)
public static void TrainACEModel()
public static void TrainEREModel()
public static void main(String[] args)
Copyright © 2017. All rights reserved.