See: Description
Interface | Description |
---|---|
Extractor | |
LabelValidator |
Class | Description |
---|---|
BasicEntityExtractor |
Uses parsed files to train classifier and test on data set.
|
BasicRelationExtractor | |
BasicRelationFeatureFactory | |
EntityExtractorResultsPrinter | |
ExtractorMerger |
Simple extractor which combines several other Extractors.
|
GenericDataSetReader | |
MachineReading |
Main driver for Machine Reading training, annotation, and evaluation.
|
MachineReadingProperties | |
NilLabelValidator | |
RelationExtractorResultsPrinter | |
RelationFeatureFactory |
Base class for feature factories
Created by Sonal Gupta.
|
ResultsPrinter |
Class for comparing the output of information extraction to a gold standard, and printing the results.
|
Enum | Description |
---|---|
RelationFeatureFactory.DEPENDENCY_TYPE |
javanlp
directory.
bin/javanlp.sh edu.stanford.nlp.ie.machinereading.MachineReading --arguments machinereading.properties
projects/core/src/edu/stanford/nlp/ie/machinereading
. Eventually, we will have one for each corpus. The attributes for the
properties file are explained below:
MachineReading
PropertiesdatasetReaderClass
: which GenericDataSetReader
to use (needs to match
the corpus in question). For example: edu.stanford.nlp.ie.machinereading.reader.AceReader
serializedModelPath
: where to store/load the
serialized extraction modeltrainPath
: path to the training file/directory
(needs to match the datasetReaderClass
)serializedTrainingSentencesPath
: where to store
the serialized training sentences objects (To save time loading the
training data, the objects produced when reading them in are
serialized.)forceRetraining
: retrains an extraction model
even if it already exists (otherwise, we only train if the serializedModelPath
doesn't exist on disk, default is false
).trainOnly
: if true, don't run evaluation (implies
forceRetraining
, default is false
)testPath
and serializedTestSentencesPath
properties can be omitted if trainOnly
is true
.
Otherwise, these are analogous to their train counterparts.extractRelations
: whether we should extract relations (currently ignored)extractEvents
: whether we should extract events (currently ignored)