org.allenai.nlpstack.parse.poly.polyparser
Create a FileBasedPolytreeParseSource from a filename and a file format.
Create a FileBasedPolytreeParseSource from a filename and a file format.
If the dataSource argument is specified as "datastore", it will look for the file in the AI2 private datastore. Otherwise it will look for the file on the local drive.
the name of the file containing the parses
the file format of the parse file
where to look for the file ("datastore" for the AI2 datastore, "local" for the local drive)
the constructed parse source