public class ReviewsParser extends Object
Constructor and Description |
---|
ReviewsParser(Properties prp,
WordNetLoader wnl) |
Modifier and Type | Method and Description |
---|---|
void |
convertReviewToESWCChallenge(String filename,
String datasetName)
Utility method that convert the blitzer review in the eswc2014 challenge format
|
ArrayList<SentenceStructuredRepresentation> |
load(String filename)
Loads a review-format file during a simple execution
|
Document[] |
loadFull(String datasetName)
Loads the current dataset name during the full simulation execution
|
public ReviewsParser(Properties prp, WordNetLoader wnl)
public Document[] loadFull(String datasetName)
datasetName
- dataset namepublic ArrayList<SentenceStructuredRepresentation> load(String filename)
Copyright © 2016–2020 FBK. All rights reserved.