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)